You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The_Tip_Top/components/Content.tsx

77 lines
2.5 KiB

import React from "react";
import Image from 'next/image';
import style from '../styles/Content.module.css';
import Link from "next/link";
import feuilleGauche from '../public/images/feuilleGauche.webp'
import feuilleDroite from '../public/images/feuilleBasDroite.webp'
import cadeau from '../public/images/cadeau.webp'
import jeuConcours from '../public/images/jeuconcours.webp'
import footerGrass from '../public/images/footer_image.webp'
type Props = {
children?: React.ReactNode;
};
const Content = ({ children }: Props) => {
return (
<>
<div className={`${style['masthead']} d-flex justify-content-center align-items-center text-center`}>
<div className={`${style['feuilleGauche']}`}>
<Image
src={feuilleGauche}
alt="thetiptop feuille Gauche"
layout="responsive"
className={`${style['rotatingSlow']}`}
/>
</div>
<div className={`${style['feuilleDroite']}`}>
<Image
src={feuilleDroite}
alt="thetiptop feuille Droite"
layout="responsive"
className={`${style['rotatingSlow']}`}
/>
</div>
<div className={`${style['jeuConcours']}`}>
<Image
src={jeuConcours}
alt="thetiptop jeu Concours"
layout="responsive"
className={`${style['zoomInOutCadeau']}`}
/>
</div>
<div className={`${style['cadeau']}`}>
<Image
src={cadeau}
alt="thetiptop cadeau"
layout="responsive"
className={`${style['zoomInOutJeuConcours']}`}
/>
</div>
<div className="container align-items-center d-flex flex-column">
{children}
</div>
<div className={`${style['footerGrass']}`}>
<Image
src={footerGrass}
alt="thetiptop feuille Gauche"
layout="responsive"
// className={`${style['footerGrass']}`}
/>
</div>
</div>
</>
);
};
export default Content;