From 33458a322f98bf7a36a8cd3f880f8717ecbd736d Mon Sep 17 00:00:00 2001 From: PLN Date: Wed, 16 Jun 2021 19:59:49 +0200 Subject: [PATCH] fix: solve remaining regressions --- components/BackHome.js | 2 +- components/NavLinks.js | 16 +++------------- lib/utils.js | 17 ++++++++--------- pages/_app.js | 34 ++++++++++++++++++++++++++-------- pages/credits.js | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------- pages/index.js | 2 +- pages/photos/[id].js | 4 ++-- 7 files changed, 91 insertions(+), 78 deletions(-) diff --git a/components/BackHome.js b/components/BackHome.js index 4836568..16822fa 100644 --- a/components/BackHome.js +++ b/components/BackHome.js @@ -13,7 +13,7 @@ function BackHome() { size="lg" cursor="pointer" > - 🏠 Retour à la Galerie + 🏠 Retour à la Galerie 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 }) {