summaryrefslogtreecommitdiff
path: root/src/components/Link.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/Link.astro
parentea056b6e080669ba4b6f16c2757b4e2e88ea0553 (diff)
Initial setup for website rewrite
Diffstat (limited to 'src/components/Link.astro')
-rw-r--r--src/components/Link.astro12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/components/Link.astro b/src/components/Link.astro
deleted file mode 100644
index e8396ec..0000000
--- a/src/components/Link.astro
+++ /dev/null
@@ -1,12 +0,0 @@
----
-interface Props {
- href: string;
- newTab?: boolean;
-}
-
-const { href, newTab = true } = Astro.props;
----
-
-<a href={href} {...newTab && { target: "_blank", rel: "noopener noreferrer" }}>
- <slot />
-</a>