Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
Philippe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PLN
Philippe
Commits
4477a771
Commit
4477a771
authored
Jun 23, 2021
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Spacing
parent
33458a32
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
BackHome.js
components/BackHome.js
+1
-1
NavLinks.js
components/NavLinks.js
+1
-1
index.js
pages/index.js
+1
-1
[id].js
pages/photos/[id].js
+0
-2
No files found.
components/BackHome.js
View file @
4477a771
...
...
@@ -3,7 +3,7 @@ import { Button, Text, Flex } from "@chakra-ui/react";
function
BackHome
()
{
return
(
<
Flex
p
x
=
"1rem"
justify
=
"center"
align
=
"center"
>
<
Flex
m
x
=
"1rem"
justify
=
"center"
align
=
"center"
>
<
Link
href
=
{
`/`
}
>
<
Button
as
=
"a"
...
...
components/NavLinks.js
View file @
4477a771
...
...
@@ -5,7 +5,7 @@ function NavLinks({ prev, next }) {
let
prevText
=
next
==
2
?
"Dernière"
:
"Précédente"
;
let
nextText
=
next
!=
1
?
"Suivante"
:
"Retour au début"
;
return
(
<
Center
p
=
"6"
justify
=
"space-between"
>
<
Center
m
=
"6"
justify
=
"space-between"
>
<
Link
href
=
{
"/photos/"
+
prev
}
>
<
Button
borderRadius
=
"full"
...
...
pages/index.js
View file @
4477a771
...
...
@@ -49,7 +49,7 @@ export default function Home({ data, placeholders }) {
Philippe
Bureau
-
Galerie
Photo
<
/Text
>
<
/Container
>
<
Wrap
px
=
"1rem"
spacing
=
{
"10px"
}
justify
=
"center"
>
<
Wrap
px
=
"1rem"
spacing
=
{
"10px"
}
mb
=
{
1
}
justify
=
"center"
>
{
photos
.
map
((
photo
)
=>
(
<
WrapItem
key
=
{
"wrap-"
+
photo
.
id
}
...
...
pages/photos/[id].js
View file @
4477a771
...
...
@@ -87,8 +87,6 @@ export default function Photos({ photo, placeholder }) {
/>
<
/Link
>
<
/Center
>
<
Divider
my
=
"1rem"
/>
<
NavLinks
prev
=
{
photo
.
prev
}
next
=
{
photo
.
next
}
/
>
<
/Box
>
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment