From e909da9e8410c018e1d7d3e5341d877ed186077c Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 13 Nov 2024 23:35:48 +0200 Subject: Added dotfiles to projects --- src/components/Project.astro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/Project.astro b/src/components/Project.astro index c39a6bf..bacfe2a 100644 --- a/src/components/Project.astro +++ b/src/components/Project.astro @@ -6,9 +6,10 @@ interface Props { title: string; description: string; href: string; + cd?: string; } -const { title, description, href } = Astro.props; +const { title, description, href, cd = "cd ~/projects/" } = Astro.props; ---
@@ -20,6 +21,6 @@ const { title, description, href } = Astro.props; - cd ~/projects/{title} + {cd}{title}
-- cgit v1.3.1