diff options
| -rw-r--r-- | src/components/Link.astro | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/Link.astro b/src/components/Link.astro new file mode 100644 index 0000000..365441e --- /dev/null +++ b/src/components/Link.astro @@ -0,0 +1,9 @@ +--- +interface Props { + href: string; +} + +const { href } = Astro.props; +--- + +<a class="link" href={href}><slot /></a> |
