From a660227fb9f6f11389ff8d8ba6b4cb9b06c31df4 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 10 Aug 2025 22:29:12 +0300 Subject: Updated projects section --- src/components/Project.astro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Project.astro b/src/components/Project.astro index 2279cca..0b15a68 100644 --- a/src/components/Project.astro +++ b/src/components/Project.astro @@ -7,9 +7,10 @@ interface Props { description: string; href: string; cd?: string; + dir?: string; } -const { title, description, href, cd = "cd ~/projects/" } = Astro.props; +const { title, description, href, cd = title, dir = "cd ~/projects/" } = Astro.props; ---
@@ -21,6 +22,6 @@ const { title, description, href, cd = "cd ~/projects/" } = Astro.props; - {cd}{title} + {dir}{cd}
-- cgit v1.3.1