Commit 4477a771 by PLN (Algolia)

chore: Spacing

parent 33458a32
...@@ -3,7 +3,7 @@ import { Button, Text, Flex } from "@chakra-ui/react"; ...@@ -3,7 +3,7 @@ import { Button, Text, Flex } from "@chakra-ui/react";
function BackHome() { function BackHome() {
return ( return (
<Flex px="1rem" justify="center" align="center"> <Flex mx="1rem" justify="center" align="center">
<Link href={`/`}> <Link href={`/`}>
<Button <Button
as="a" as="a"
......
...@@ -5,7 +5,7 @@ function NavLinks({ prev, next }) { ...@@ -5,7 +5,7 @@ function NavLinks({ prev, next }) {
let prevText = next == 2 ? "Dernière" : "Précédente"; let prevText = next == 2 ? "Dernière" : "Précédente";
let nextText = next != 1 ? "Suivante" : "Retour au début"; let nextText = next != 1 ? "Suivante" : "Retour au début";
return ( return (
<Center p="6" justify="space-between"> <Center m="6" justify="space-between">
<Link href={"/photos/" + prev}> <Link href={"/photos/" + prev}>
<Button <Button
borderRadius="full" borderRadius="full"
......
...@@ -49,7 +49,7 @@ export default function Home({ data, placeholders }) { ...@@ -49,7 +49,7 @@ export default function Home({ data, placeholders }) {
Philippe Bureau - Galerie Photo Philippe Bureau - Galerie Photo
</Text> </Text>
</Container> </Container>
<Wrap px="1rem" spacing={"10px"} justify="center"> <Wrap px="1rem" spacing={"10px"} mb={1} justify="center">
{photos.map((photo) => ( {photos.map((photo) => (
<WrapItem <WrapItem
key={"wrap-" + photo.id} key={"wrap-" + photo.id}
......
...@@ -87,8 +87,6 @@ export default function Photos({ photo, placeholder }) { ...@@ -87,8 +87,6 @@ export default function Photos({ photo, placeholder }) {
/> />
</Link> </Link>
</Center> </Center>
<Divider my="1rem" />
<NavLinks prev={photo.prev} next={photo.next} /> <NavLinks prev={photo.prev} next={photo.next} />
</Box> </Box>
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment