diff --git a/components/BackHome.js b/components/BackHome.js index a16f678..3664f76 100644 --- a/components/BackHome.js +++ b/components/BackHome.js @@ -1,4 +1,4 @@ -import Image from 'next/image' +import Image from "next/image"; import { Box, Divider, @@ -11,7 +11,6 @@ import { import Head from "next/head"; import Link from "next/link"; - function BackHome() { return ( @@ -24,10 +23,11 @@ function BackHome() { size="lg" cursor="pointer" > - 🏠 Retour à la Galerie + 🏠 Retour à la Galerie - ); + + ); } -export default BackHome +export default BackHome; diff --git a/components/NavLinks.js b/components/NavLinks.js index f2041b1..d43c05b 100644 --- a/components/NavLinks.js +++ b/components/NavLinks.js @@ -1,15 +1,5 @@ import Image from "next/image"; -import { - Box, - Divider, - Center, - Text, - Flex, - Spacer, - Button, -} from "@chakra-ui/react"; -import Head from "next/head"; -import Link from "next/link"; +import { Center, Text, Link, Button } from "@chakra-ui/react"; function NavLinks({ prev, next }) { let prevText = next == 2 ? "Dernière" : "Précédente"; @@ -18,13 +8,13 @@ function NavLinks({ prev, next }) {