From e909da9e8410c018e1d7d3e5341d877ed186077c Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 13 Nov 2024 23:35:48 +0200 Subject: [PATCH] Added dotfiles to projects --- src/components/Project.astro | 5 +++-- src/pages/projects.astro | 25 +++++++++++++------------ 2 files changed, 16 insertions(+), 14 deletions(-) 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.