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}
diff --git a/src/pages/projects.astro b/src/pages/projects.astro index f9c1996..3dd437a 100644 --- a/src/pages/projects.astro +++ b/src/pages/projects.astro @@ -13,17 +13,17 @@ import Project from "../components/Project.astro"; href="https://github.com/KapiMC/Kapi" > A complete "batteries included" framework streamlining the - process of Minecraft plugin development. - Enabling developers to make impressive plugins with ease! + process of Minecraft plugin development. Enabling developers + to make impressive plugins with ease!
- A bunch of text + ????????? ???? ??????? ????? ???????? ??????
@@ -36,18 +36,19 @@ import Project from "../components/Project.astro"; minimize keystrokes and maximize productivity! - A bunch of text + ????????? ???? ??????? ????? ???????? ?????? - A bunch of text + My linux configuration, includes Neovim, tmux and others.