From 8966fde6ff520cfbe74c031c8b2e3a66d298b172 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 20 Jan 2022 16:23:48 +0100
Subject: chore: add single project view

---
 src/components/ProjectPreview/ProjectPreview.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/ProjectPreview/ProjectPreview.tsx')

diff --git a/src/components/ProjectPreview/ProjectPreview.tsx b/src/components/ProjectPreview/ProjectPreview.tsx
index 91969b0..f5d2e8f 100644
--- a/src/components/ProjectPreview/ProjectPreview.tsx
+++ b/src/components/ProjectPreview/ProjectPreview.tsx
@@ -18,11 +18,11 @@ const ProjectPreview = ({ project }: { project: Project }) => {
                   layout="fill"
                   objectFit="contain"
                   objectPosition="center"
-                  alt={`${project.meta.title} picture`}
+                  alt={t`${project.title} picture`}
                 />
               </div>
             )}
-            <h2 className={styles.title}>{project.meta.title}</h2>
+            <h2 className={styles.title}>{project.title}</h2>
           </header>
           <div
             className={styles.body}
-- 
cgit v1.2.3

