generated from lucien/actix-react-template

modifié : src/components/Button.tsx modifié : src/components/ClickableLink.tsx nouveau fichier : src/components/FstSection.tsx modifié : src/components/NavBar.tsx modifié : src/pages/MainPage.tsx ajout de la première section
21 lines
No EOL
702 B
TypeScript
21 lines
No EOL
702 B
TypeScript
import ArticlesSection from '../components/ArticlesSection.tsx'
|
|
import NavBar from '../components/NavBar.tsx'
|
|
import Footer from '../components/Footer.tsx'
|
|
import FstSection from '../components/FstSection.tsx'
|
|
|
|
export default function MainPage() {
|
|
return (
|
|
<>
|
|
<div style={{ display: 'flex', flexDirection: 'column', minHeight: '100vh' }}>
|
|
<FstSection
|
|
centertxt="Choisissez votre numéro :"
|
|
txtbt1="Un"
|
|
txtbt2="Deux"
|
|
image="url('/pictures/sea.gif')"/>
|
|
<div style={{height:"30px"}} />
|
|
<ArticlesSection />
|
|
<Footer bgcolor="lightblue"/>
|
|
</div>
|
|
</>
|
|
)
|
|
} |