diff --git a/src/components/h3.tsx b/src/components/h3.tsx index 99a2fe48..65db2efa 100644 --- a/src/components/h3.tsx +++ b/src/components/h3.tsx @@ -3,7 +3,7 @@ const Heading3 = ({ children, ...props }: { children: React.ReactNode } & React.HTMLAttributes) => ( -

+

{children}

); diff --git a/src/components/h4.tsx b/src/components/h4.tsx index 621aab5b..147ca44e 100644 --- a/src/components/h4.tsx +++ b/src/components/h4.tsx @@ -3,7 +3,7 @@ const Heading4 = ({ children, ...props }: { children: React.ReactNode } & React.HTMLAttributes) => ( -

+

{children}

diff --git a/src/components/h5.tsx b/src/components/h5.tsx index afb588d8..35c7cb4a 100644 --- a/src/components/h5.tsx +++ b/src/components/h5.tsx @@ -3,7 +3,7 @@ const Heading5 = ({ children, ...props }: { children: React.ReactNode } & React.HTMLAttributes) => ( -
+
{children}
diff --git a/src/components/h6.tsx b/src/components/h6.tsx index c804d905..28745eda 100644 --- a/src/components/h6.tsx +++ b/src/components/h6.tsx @@ -3,7 +3,7 @@ const Heading6 = ({ children, ...props }: { children: React.ReactNode } & React.HTMLAttributes) => ( -
+
{children}
); diff --git a/src/pages/credits.module.scss b/src/pages/credits.module.scss new file mode 100644 index 00000000..d692915b --- /dev/null +++ b/src/pages/credits.module.scss @@ -0,0 +1,8 @@ +.root img { + float: left; + height: 6rem; + width: 6rem; + margin: 0 2rem 1.5rem 0; + border-radius: 50px; + box-shadow: 5px 5px 2px 1px #c1a008; +} diff --git a/src/pages/credits.tsx b/src/pages/credits.tsx index 73cb7411..86b416e2 100644 --- a/src/pages/credits.tsx +++ b/src/pages/credits.tsx @@ -7,6 +7,7 @@ import Strong from '../components/strong'; import Anchor from '../components/a'; import { Octokit } from '@octokit/rest'; import Article from '../components/article'; +import styles from './credits.module.scss'; import type { GetStaticProps } from 'next'; export type Contributors = Awaited< @@ -32,6 +33,7 @@ const Page = ({ entries }: Props) => { Les contributeurs du site @@ -40,7 +42,7 @@ const Page = ({ entries }: Props) => { Découvrez les personnes qui ont créé le site de ChtiJS. -
+
{entries.map((entry) => (
{`Avatar @@ -83,16 +85,7 @@ const Page = ({ entries }: Props) => { ))}
- + ); };