diff --git a/src/components/Link.astro b/src/components/Link.astro index e78aafb..eef1528 100644 --- a/src/components/Link.astro +++ b/src/components/Link.astro @@ -16,7 +16,5 @@ const isExternal = (href as string).startsWith('http'); href={href} rel={isExternal ? 'nofollow noopener noreferrer' : undefined} target={isExternal ? '_blank' : undefined} - {...props} + {...props}> - - diff --git a/src/components/TextLink.astro b/src/components/TextLink.astro index 93f0935..3002a1b 100644 --- a/src/components/TextLink.astro +++ b/src/components/TextLink.astro @@ -15,7 +15,5 @@ const { class: className, ...props } = Astro.props; 'inline font-semibold text-shibui-950 underline decoration-shibui-900/20 decoration-4 underline-offset-auto no-common-ligatures hover:!decoration-accent focus:!decoration-accent dark:text-shibui-200/[0.87] dark:decoration-shibui-100/20', className, ]} - {...props} + {...props}> - -