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