summaryrefslogtreecommitdiff
path: root/src/components/Nav.astro
diff options
context:
space:
mode:
authorKyren223 <contact@kyren.codes>2026-10-06 20:46:31 +0300
committerKyren223 <contact@kyren.codes>2026-10-06 20:46:31 +0300
commitba1be9573ef20d6424ae987257a1c727c47d4b53 (patch)
treee59ef56f19142215070d0516a9b3a110d15557b6 /src/components/Nav.astro
parentea056b6e080669ba4b6f16c2757b4e2e88ea0553 (diff)
Initial setup for website rewrite
Diffstat (limited to 'src/components/Nav.astro')
-rw-r--r--src/components/Nav.astro47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/components/Nav.astro b/src/components/Nav.astro
deleted file mode 100644
index da08b32..0000000
--- a/src/components/Nav.astro
+++ /dev/null
@@ -1,47 +0,0 @@
----
-interface Props {
- path: string;
-}
-
-const { path } = Astro.props;
-
-const directories = ["skills", "projects", "blogs"];
----
-
-<nav
- class="grid sm:flex
- justify-between
- border-[0.25vh] sm:border-[0.125vw]
- border-[var(--alt)]
- border-solid
- mb-[7vw] sm:mb-[1.5625vw]
- p-[3vw] sm:p-[1vw]"
->
- <span class="mr-[2.5vh] text-[5vw] sm:mr-[2.5vw] sm:text-[1.375vw]"
- >{path}</span
- >
- <span
- id="nav-links"
- class="mb-0 mx-[0.2vw] text-[5vw]
- mx-[0.2vw] sm:text-[1.375vw]"
- >
- <a href="/">home</a>
- {
- directories.map((dir) => (
- <>
- <a href={`/${dir}`}>{dir}</a>
- </>
- ))
- }
- <a class="hidden sm:contents" href="/shell">shell</a>
- </span>
-</nav>
-
-<style>
- #nav-links a {
- color: var(--primary);
- }
- #nav-links a:hover {
- color: var(--accent);
- }
-</style>