add hover effect to top cv links (#22)

This commit is contained in:
Troy 2025-01-11 13:37:14 +00:00 committed by GitHub
parent d548299b06
commit 5c16ec3440
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 245 additions and 220 deletions

View file

@ -10,11 +10,6 @@ interface Props extends HTMLAttributes<"a"> {
const { href, external = true, ...rest } = Astro.props;
---
<a
href={href}
rel={external ? "noopener nofollow noreferrer" : ""}
target={external ? "_blank" : "_self"}
{...rest}
>
<a href={href} target={external ? "_blank" : "_self"} {...rest}>
<slot />
</a>