From 8b2d823fdfaf3f7dabe74481da9f92b15a39e911 Mon Sep 17 00:00:00 2001 From: Johan LEROY Date: Thu, 25 Jun 2026 07:23:22 +0200 Subject: [PATCH] feat(social): ajoute le lien SoundCloud (Hero, Contact, SEO) + lien site Arboretum --- src/components/Contact.astro | 1 + src/components/Hero.astro | 1 + src/components/Icon.astro | 5 +++-- src/data/content.ts | 3 ++- src/layouts/Base.astro | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/Contact.astro b/src/components/Contact.astro index 330e8cd..71eb905 100644 --- a/src/components/Contact.astro +++ b/src/components/Contact.astro @@ -20,6 +20,7 @@ import { social, coffeeUrl } from "../data/content"; +
$ echo "écris-moi"
diff --git a/src/components/Hero.astro b/src/components/Hero.astro index c566c2c..a000a63 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -25,6 +25,7 @@ import { profile, social, terminalText } from "../data/content"; + diff --git a/src/components/Icon.astro b/src/components/Icon.astro index 18592f7..a3639b2 100644 --- a/src/components/Icon.astro +++ b/src/components/Icon.astro @@ -3,7 +3,7 @@ pleins (github/linkedin), stroke pour le reste (style lucide). */ interface Props { name: - | "github" | "gitea" | "linkedin" | "mail" + | "github" | "gitea" | "linkedin" | "soundcloud" | "mail" | "arrow" | "download" | "external" | "coffee" | "sun" | "moon" | "burger" | "gamepad" | "film" | "music" | "code"; @@ -12,7 +12,7 @@ interface Props { } const { name, size = 18, class: className } = Astro.props; -const FILL = new Set(["github", "linkedin", "gitea"]); +const FILL = new Set(["github", "linkedin", "gitea", "soundcloud"]); const STROKE_WIDTH: Record = { arrow: 2, external: 2, burger: 2, globe: 1.7, download: 1.9, }; @@ -21,6 +21,7 @@ const PATHS: Record = { github: ``, linkedin: ``, gitea: ``, + soundcloud: ``, mail: ``, arrow: ``, download: ``, diff --git a/src/data/content.ts b/src/data/content.ts index 22d69fe..44be7ef 100644 --- a/src/data/content.ts +++ b/src/data/content.ts @@ -63,6 +63,7 @@ export const social = { github: "https://github.com/JohanLeroy", gitea: "https://git.lidge.fr/johanleroy", linkedin: "https://www.linkedin.com/in/johan-leroy-472409180/", + soundcloud: "https://soundcloud.com/skuuuu", }; /* URL du bouton « café » — à remplacer par le service retenu @@ -120,7 +121,7 @@ export const projects: Project[] = [ "Outil open-source : dashboard web pour piloter des worktrees git et des sessions d'agents IA. Lancé en npx, propulsé par un daemon Node.", stack: ["Node.js", "Vue 3", "TypeScript", "npx"], status: "oss", - link: "https://github.com/JohanLeroy", + link: "https://git-arboretum.com/", img: "/images/projets/arboretum.png", imgDark: "/images/projets/arboretum-dark.png", }, diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index f392354..4a5d19f 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -27,7 +27,7 @@ const jsonLd = { image: ogImage, email: social.email, address: { "@type": "PostalAddress", addressLocality: "Nantes", addressCountry: "FR" }, - sameAs: [social.github, social.linkedin, social.gitea], + sameAs: [social.github, social.linkedin, social.gitea, social.soundcloud], knowsAbout: ["TypeScript", "NestJS", "Nuxt", "Next.js", "Vue.js", "Astro", "Docker", "AWS", "Terraform"], }; ---