From f974e7ddc9c0a6e9479f6e2a4a1cf611f6215bbb Mon Sep 17 00:00:00 2001 From: fsoussand Date: Tue, 11 Jul 2023 14:44:23 +0200 Subject: [PATCH] redesign home page --- src/pages/index.tsx | 73 ++++++++++++++++++++++++++++----------------- 1 file changed, 45 insertions(+), 28 deletions(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index ef8e8d7..aa1c7e1 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,12 +1,12 @@ -import { Stack, Container } from "@mui/material"; +import { Stack, Container, Typography, Box } from "@mui/material"; import { useAtom } from "jotai"; import type { NextPage } from "next"; import Image from "next/image"; import { useEffect } from "react"; -import AppBar from "components/ui/AppBar/AppBar"; import AppLink from "src/components/ui/Buttons/AppLink"; import ObjectiveCard from "src/components/ui/Cards/ObjectiveCard/ObjectiveCard"; +import PageTextTemplate from "src/components/ui/PageTextTemplate/PageTextTemplate"; import { cartAtom } from "src/store/cart"; const Home: NextPage = () => { @@ -16,34 +16,51 @@ const Home: NextPage = () => { setCart({}); }, [setCart]); - return ( - <> - - - - - - - - - + const emphasisStyle = { color: "primary.main", fontWeight: "bold" }; + + const presentationText = ( + + A11Y INYERFACE est un projet visant à{" "} + + sensibiliser les utilisateurs aux principes de l'accessibilité{" "} + + et à les encourager à{" "} + + adopter des pratiques{" "} + {" "} + qui rendent le web{" "} + + plus inclusif + {" "} + pour tous. + + ); + + const content = ( + + {presentationText} + + + + - - + + + ); + + return ; }; export default Home;