Skip to content

Commit

Permalink
chore: add eslint + prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
getsu7 committed Oct 21, 2024
1 parent 2bfc1bb commit 6bf56b0
Show file tree
Hide file tree
Showing 20 changed files with 2,210 additions and 1,060 deletions.
5 changes: 2 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"tabWidth": 2,
"tabWidth": 4,
"singleQuote": true,
"trailingComma": "none",
"trailingComma": "es5",
"printWidth": 120,
"htmlWhitespaceSensitivity": "ignore",
"endOfLine": "auto"
}
12 changes: 12 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html lang="fr">
<head>
<title>Page non trouvée</title>
<meta charset="utf-8" />
<meta http-equiv="refresh" content="5;url=/" />
</head>
<body>
<h1>Page non trouvée</h1>
<p>Vous serez redirigé vers la page d'accueil dans 5 secondes...</p>
</body>
</html>
1 change: 0 additions & 1 deletion _redirects
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Redirects from what the browser requests to what we serve
/FishEye/photographer.html id=:id /photographer.html?id=:id
/* /

3 changes: 2 additions & 1 deletion assets/icons/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions css/lightbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@ img.light-box__close-button {
filter: invert(17%) sepia(21%) saturate(7440%) hue-rotate(346deg) brightness(98%) contrast(93%);
align-self: flex-start;
position: fixed;
cursor: pointer;
}

img.light-box__next-arrow {
cursor: pointer;
margin: auto 0;
}

img.light-box__back-arrow {
cursor: pointer;
margin: auto 0;
}

Expand Down
Loading

0 comments on commit 6bf56b0

Please sign in to comment.