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.
79 lines
2.6 KiB
79 lines
2.6 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.png'
|
|
import feuilleDroite from '../public/images/feuilleBasDroite.png'
|
|
import cadeau from '../public/images/cadeau.png'
|
|
import jeuConcours from '../public/images/jeuconcours.png'
|
|
import footerGrass from '../public/images/footer_image.png'
|
|
|
|
|
|
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">
|
|
<div className={`${style['bloc-content']} col-12 col-lg-6`}>
|
|
{children}
|
|
</div>
|
|
</div>
|
|
<div className={`${style['footerGrass']}`}>
|
|
<Image
|
|
src={footerGrass}
|
|
alt="thetiptop feuille Gauche"
|
|
layout="responsive"
|
|
// className={`${style['footerGrass']}`}
|
|
/>
|
|
</div>
|
|
</div>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default Content;
|