mastodon verification
This commit is contained in:
parent
129d2008fe
commit
95fcacf581
|
@ -4,10 +4,11 @@ export interface Props {
|
|||
className?: string;
|
||||
ariaLabel?: string;
|
||||
title?: string;
|
||||
rel?: string;
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
const { href, className, ariaLabel, title, disabled = false } = Astro.props;
|
||||
const { href, className, ariaLabel, title, rel, disabled = false } = Astro.props;
|
||||
---
|
||||
|
||||
<a
|
||||
|
@ -16,6 +17,7 @@ const { href, className, ariaLabel, title, disabled = false } = Astro.props;
|
|||
class={`group inline-block ${className}`}
|
||||
aria-label={ariaLabel}
|
||||
title={title}
|
||||
rel={rel}
|
||||
aria-disabled={disabled}
|
||||
>
|
||||
<slot />
|
||||
|
|
|
@ -16,6 +16,7 @@ const { centered = false, withText = false } = Astro.props;
|
|||
SOCIALS.filter(social => social.active).map(social => (
|
||||
<LinkButton
|
||||
href={social.href}
|
||||
rel={social.name==="Mastodon" ? "me" : ""}
|
||||
className="link-button flex flex-row items-center gap-2"
|
||||
title={social.linkTitle}
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue