feat: using rel="me" to verify ownership for websites (#62)

Verify the target link is presented by the same person: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/me
This commit is contained in:
Joey Chen 2024-04-26 23:19:27 +08:00 committed by GitHub
parent 94a9e9757d
commit e37a724275
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ const config = profileConfig;
<div class="text-center text-neutral-400 mb-2.5 transition">{config.bio}</div>
<div class="flex gap-2 mx-2 justify-center mb-4">
{config.links.map(item =>
<a aria-label={item.name} href={item.url} target="_blank" class="btn-regular rounded-lg h-10 w-10 active:scale-90">
<a rel="me" aria-label={item.name} href={item.url} target="_blank" class="btn-regular rounded-lg h-10 w-10 active:scale-90">
<Icon name={item.icon} size="1.5rem"></Icon>
</a>
)}