summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-13 23:35:48 +0200
committerKyren223 <Kyren223@proton.me>2024-11-13 23:35:48 +0200
commite909da9e8410c018e1d7d3e5341d877ed186077c (patch)
treea2e0ff9d193c4b92accb61ef1b974bfae0b72263
parent65e340ff8d70754da02a7f166536ced704ded3e7 (diff)
Added dotfiles to projects
-rw-r--r--src/components/Project.astro5
-rw-r--r--src/pages/projects.astro25
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;
---
<div class="flex-column">
@@ -20,6 +21,6 @@ const { title, description, href } = Astro.props;
</span>
</TerminalBorder>
<TerminalBorder header="Shell">
- <Link href={href}>cd ~/projects/{title}</Link>
+ <Link href={href}>{cd}{title}</Link>
</TerminalBorder>
</div>
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!
</Project>
</div>
<div>
<Project
- title="Kapi"
- description="Hello"
+ title="???"
+ description="???????"
href="https://github.com/KapiMC/Kapi"
>
- A bunch of text
+ ????????? ???? ??????? ????? ???????? ??????
</Project>
</div>
<div class="col-span-2 grid grid-cols-[1fr_1fr_1fr] gap-4">
@@ -36,18 +36,19 @@ import Project from "../components/Project.astro";
minimize keystrokes and maximize productivity!
</Project>
<Project
- title="Kapi"
- description="Hello"
+ title="???"
+ description="???????"
href="https://github.com/KapiMC/Kapi"
>
- A bunch of text
+ ????????? ???? ??????? ????? ???????? ??????
</Project>
<Project
- title="Kapi"
- description="Hello"
- href="https://github.com/KapiMC/Kapi"
+ title="Dotfiles"
+ description="Configuration"
+ href="https://github.com/Kyren223/dotfiles"
+ cd="cd ~/"
>
- A bunch of text
+ My linux configuration, includes Neovim, tmux and others.
</Project>
</div>
</div>