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; ---