diff --git a/package.json b/package.json index 99e92b0..bdbb394 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "@emotion/styled": "^11.13.0", "framer-motion": "^11.3.21", "react": "^18.3.1", - "react-dom": "^18.3.1" + "react-dom": "^18.3.1", + "react-router-dom": "^6.26.0" }, "devDependencies": { "@types/react": "^18.3.3", diff --git a/src/component/Body.jsx b/src/component/Body.jsx index 8315f78..88fa08b 100644 --- a/src/component/Body.jsx +++ b/src/component/Body.jsx @@ -1,7 +1,7 @@ export function Body() { return ( <> -
bla bla bla gmoker c'est genial vous aller voir
> ); diff --git a/src/component/Head.jsx b/src/component/Head.jsx index 9461006..064eed4 100644 --- a/src/component/Head.jsx +++ b/src/component/Head.jsx @@ -1,6 +1,5 @@ -import chat from ".././assets/chat.jpg"; -import { Button, ButtonGroup } from "@chakra-ui/react"; -import { Flex, Spacer } from "@chakra-ui/react"; +import { Button, Flex } from "@chakra-ui/react"; +import { Link } from "react-router-dom"; const button_style = { colorScheme: "cyan", @@ -10,17 +9,35 @@ export function Header() { return (- {" "} Welcome to gmoker, the the website is under construction
); diff --git a/src/files/About.jsx b/src/files/About.jsx new file mode 100644 index 0000000..e69de29 diff --git a/src/files/Accueil.jsx b/src/files/Accueil.jsx new file mode 100644 index 0000000..fcee8cb --- /dev/null +++ b/src/files/Accueil.jsx @@ -0,0 +1,17 @@ +import { Navbar } from ".././component/Navbar.jsx"; +import { App } from "../component/App.jsx"; +import { Body } from "../component/Body.jsx"; +import { Footer } from "../component/Footer.jsx"; +import { Header } from "../component/Head.jsx"; + +export function Accueil() { + return ( + <> +