Personal site staging.colinozanne.co.uk
portfolio astro

fix: tweak a bunch of things

finxol.io 594ac98b 032eb5dc

verified
+17 -29
+14 -12
src/data/projects.ts
··· 8 8 import recaroPitchWebp from "@/assets/img/viscircle_recaro_pitch.webp"; 9 9 import { config } from "@/config.ts"; 10 10 11 - type Localised = Record<(typeof config.locales)[number], string>; 11 + export type Localised = Record<(typeof config.locales)[number], string>; 12 12 13 13 export interface ProjectMetadata { 14 14 slug: string; 15 15 title: Localised; 16 - description: Localised; 16 + subtitle: Localised; 17 17 imgs: { 18 18 jpg: ImageMetadata; 19 19 webp: ImageMetadata; ··· 21 21 tags: string[]; 22 22 colour?: string; 23 23 startDate: Date; 24 + endDate?: Date; 24 25 runtime: string; 25 26 runtimeIcon: string; 26 27 repoUrl: string; ··· 34 35 fr: "Karr", 35 36 en: "Karr", 36 37 }, 37 - description: { 38 + subtitle: { 38 39 fr: "Plateforme de covoiturage fédérée pour les entreprises", 39 40 en: "Federated carpool platform for businesses", 40 41 }, ··· 55 56 fr: "Blog Technique", 56 57 en: "Technical Blog", 57 58 }, 58 - description: { 59 + subtitle: { 59 60 fr: 60 61 "Blog personnel technique sur lequel j'écris des articles sur la technologie", 61 62 en: "Technical blog where I write articles about technology", ··· 78 79 fr: "Demo Recaro pour VisCircle", 79 80 en: "VisCircle Demo for Recaro", 80 81 }, 81 - description: { 82 - fr: "Quelques choses", 83 - en: "Some things", 82 + subtitle: { 83 + fr: "Sujet de Stage de BUT2 chez VisCircle", 84 + en: "Internship project for VisCircle", 84 85 }, 85 86 imgs: { 86 87 jpg: recaroPitchJpg, ··· 88 89 }, 89 90 tags: ["Vue.js", "Three.js"], 90 91 colour: "--indigo-300", 91 - startDate: new Date("24 April 2022"), 92 - runtime: "Deno", 93 - runtimeIcon: "tabler:brand-deno", 94 - repoUrl: "https://tangled.org/finxol.io/blog", 95 - repoIcon: "tabler:brand-git", 92 + startDate: new Date("29 May 2023"), 93 + endDate: new Date("4 August 2023"), 94 + runtime: "Vue.js", 95 + runtimeIcon: "tabler:brand-vue", 96 + repoUrl: "https://clients.viscircle.com/Recaro/pitch2023/", 97 + repoIcon: "tabler:link", 96 98 }, 97 99 ];
-2
src/hooks/useLocale.astro
··· 2 2 import { config } from "@/config"; 3 3 4 4 export type Locale = (typeof config.locales)[number]; 5 - 6 - export const locale = (Astro.currentLocale as Locale) || config.defaultLocale; 7 5 ---
-2
src/pages/en/projects/blog.astro
··· 3 3 4 4 const content = { 5 5 projectId: "blog", 6 - title: "Blog", 7 - subtitle: "Personal technical blog", 8 6 datePrefix: "Since", 9 7 repoLinkText: "Tangled repo", 10 8 };
-2
src/pages/en/projects/karr.astro
··· 3 3 4 4 const content = { 5 5 projectId: "karr", 6 - title: "Karr", 7 - subtitle: "Federated carpool platform for companies", 8 6 datePrefix: "Since", 9 7 repoLinkText: "Github repo", 10 8 };
+1 -3
src/pages/en/projects/viscircle-recaro-pitch.astro
··· 3 3 4 4 const content = { 5 5 projectId: "viscircle-recaro-pitch", 6 - title: "VisCircle Demo for Recaro", 7 - subtitle: "Quelques choses", 8 6 datePrefix: "Depuis le", 9 7 repoLinkText: "Github repo", 10 8 }; 11 9 --- 12 10 13 11 <ProjectPage content={content}> 14 - <p class="description">Projet de stage</p> 12 + <p class="description"></p> 15 13 </ProjectPage>
-2
src/pages/fr/projects/blog.astro
··· 3 3 4 4 const content = { 5 5 projectId: "blog", 6 - title: "Blog", 7 - subtitle: "Blog technique personnel", 8 6 datePrefix: "Depuis le", 9 7 repoLinkText: "Repo Tangled", 10 8 };
+1 -3
src/pages/fr/projects/karr.astro
··· 3 3 4 4 const content = { 5 5 projectId: "karr", 6 - title: "Karr", 7 - subtitle: "Plateforme de covoiturage fédérée pour entreprises", 8 6 datePrefix: "Depuis le", 9 - repoLinkText: "Github repo", 7 + repoLinkText: "Repo Github", 10 8 }; 11 9 --- 12 10
+1 -3
src/pages/fr/projects/viscircle-recaro-pitch.astro
··· 3 3 4 4 const content = { 5 5 projectId: "viscircle-recaro-pitch", 6 - title: "Demo Recaro pour VisCircle", 7 - subtitle: "Quelques choses", 8 6 datePrefix: "Depuis le", 9 - repoLinkText: "Github repo", 7 + repoLinkText: "Lien", 10 8 }; 11 9 --- 12 10