diff --git a/app/[locale]/works/[slug]/page.tsx b/app/[locale]/works/[slug]/page.tsx index eceb269..6d403b2 100644 --- a/app/[locale]/works/[slug]/page.tsx +++ b/app/[locale]/works/[slug]/page.tsx @@ -40,7 +40,7 @@ export default async function ProjectPage({ params }: props) { return (
-
+
- +
+ - + -
-
- -
-
+
+
+ +
+
+ + +
-
); -} \ No newline at end of file +} diff --git a/components/mdx/ProjectPreviewGrid.tsx b/components/mdx/ProjectPreviewGrid.tsx index 332107a..465e681 100644 --- a/components/mdx/ProjectPreviewGrid.tsx +++ b/components/mdx/ProjectPreviewGrid.tsx @@ -1,31 +1,31 @@ type PreviewItem = { - title: string; - image: string; + title: string; + image: string; }; type props = { - items?: PreviewItem[]; + items?: PreviewItem[]; }; export function ProjectPreviewGrid({ items = [] }: props) { - return ( -
- {items.map((item) => ( -
- {item.image ? ( - {item.title} - ) : ( - {item.title} - )} -
- ))} -
- ); + return ( +
+ {items.map((item) => ( +
+ {item.image ? ( + {item.title} + ) : ( + {item.title} + )} +
+ ))} +
+ ); } diff --git a/components/mdx/ProjectVisitButton.tsx b/components/mdx/ProjectVisitButton.tsx index cc6c125..311cf97 100644 --- a/components/mdx/ProjectVisitButton.tsx +++ b/components/mdx/ProjectVisitButton.tsx @@ -1,18 +1,21 @@ +import { GoLinkExternal } from "react-icons/go"; + type VisitButtonProps = { - href: string; + href: string; }; export function ProjectVisitButton({ href }: VisitButtonProps) { - return ( -
- - Visiter le site - -
- ); + return ( +
+ + Visiter le site + + +
+ ); } \ No newline at end of file diff --git a/components/mdx/ProjectsColumns.tsx b/components/mdx/ProjectsColumns.tsx index f2239b4..dfa55c8 100644 --- a/components/mdx/ProjectsColumns.tsx +++ b/components/mdx/ProjectsColumns.tsx @@ -1,11 +1,11 @@ type props = { - children: React.ReactNode; + children: React.ReactNode; }; export function ProjectsColumns({ children }: props) { - return ( -
- {children} -
- ); + return ( +
+ {children} +
+ ); } \ No newline at end of file diff --git a/components/sections/ProjectHero.tsx b/components/sections/ProjectHero.tsx index 6b64da9..81b8351 100644 --- a/components/sections/ProjectHero.tsx +++ b/components/sections/ProjectHero.tsx @@ -11,7 +11,7 @@ type props = { export function ProjectHero({ title, description, dateLabel, locale }: props) { return ( -
+