diff options
author | LynithDev <61880709+LynithDev@users.noreply.github.com> | 2023-12-26 20:29:16 +0100 |
---|---|---|
committer | LynithDev <61880709+LynithDev@users.noreply.github.com> | 2023-12-26 20:29:16 +0100 |
commit | 530634fea254c344684d42fe7a1d5b4020f6a3ab (patch) | |
tree | beff3954c244bb2c89245a63d984fdea7c338659 /apps/website/src/components/base/Link.astro | |
parent | 542fb33102902fd7461bee0c0ca8ab4d9ef58de0 (diff) | |
download | Nexus-530634fea254c344684d42fe7a1d5b4020f6a3ab.tar.gz Nexus-530634fea254c344684d42fe7a1d5b4020f6a3ab.tar.bz2 Nexus-530634fea254c344684d42fe7a1d5b4020f6a3ab.zip |
Footer + small tweaks
Diffstat (limited to 'apps/website/src/components/base/Link.astro')
-rw-r--r-- | apps/website/src/components/base/Link.astro | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/website/src/components/base/Link.astro b/apps/website/src/components/base/Link.astro new file mode 100644 index 0000000..5fa6d75 --- /dev/null +++ b/apps/website/src/components/base/Link.astro @@ -0,0 +1,17 @@ +--- +import type { HTMLAttributes } from "astro/types"; + +interface Props extends HTMLAttributes<"a"> { + +} + +const props = Astro.props; +const className = [ + "hover:text-blue-500 hover:underline transition-colors", + props.class, +].join(' '); +--- + +<a class={className} {...props}> + <slot /> +</a> |