diff --git a/pages/_app.js b/pages/_app.js index f3dc5df..26e8f19 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -1,10 +1,27 @@ // pages/_app.js -import { ChakraProvider } from "@chakra-ui/react"; +import { ChakraProvider, Divider, Box, Text } from "@chakra-ui/react"; +import Link from "next/link"; function MyApp({ Component, pageProps }) { return ( + + + + Conçu par{" "} + + Paul-Louis Nech + {" "} + grace aux contenus partagés par les proches de Philippe -{" "} + + Crédits + + + ); } diff --git a/pages/credits.js b/pages/credits.js new file mode 100644 index 0000000..3bbe650 --- /dev/null +++ b/pages/credits.js @@ -0,0 +1,81 @@ +// pages/index.js +import Head from "next/head"; +import { Box, Container, Divider, Text, Wrap, WrapItem } from "@chakra-ui/react"; +import Image from "next/image"; +import Link from "next/link"; + +export async function getStaticProps() { + let credits = [ + { + title: "Famille et Amis", + text: "Pour tous ces bons moments et leurs photos/vidéos", + }, + { + title: "Vercel", + text: "Pour l'hébergement de ces pages", + link: "vercel.com", + }, + { title: "Next.JS", text: "Utilisé pour construire le site", link: "nextjs.org" }, + ]; + return { + props: { + credits, + }, + }; +} + +export default function Credits({ credits }) { + return ( +
+ + Philippe Bureau - Crédits + + + + + Philippe Bureau - Crédits + + + + {credits.map((credit) => ( + + + {credit.title} + +
+ + {credit.text} + +
+ ))} +
+
+ +
+ ); +} diff --git a/pages/photos/[id].js b/pages/photos/[id].js index 4f5fe17..4e2e529 100644 --- a/pages/photos/[id].js +++ b/pages/photos/[id].js @@ -11,7 +11,11 @@ import { import Image from "next/image"; import Head from "next/head"; import Link from "next/link"; +<<<<<<< HEAD import BackHome from "../../components/BackHome"; +======= +import BackHome from "components/Back"; +>>>>>>> ad87045 (feat: Credits, BackHome wip) import { InfoIcon, AtSignIcon } from "@chakra-ui/icons"; // import { getPlaiceholder } `from "plaiceholder"; @@ -84,6 +88,7 @@ export default function Photos({ photo, placeholder }) { <<<<<<< HEAD +<<<<<<< HEAD @@ -129,6 +134,23 @@ export default function Photos({ photo, placeholder }) { loading="eager" /> >>>>>>> 54109d5 (feat: Modulated Links) +======= + + + +
+ + + +>>>>>>> ad87045 (feat: Credits, BackHome wip)