Improve age-restricted hyperlinks and clean up markup
This commit is contained in:
parent
67e17ae27f
commit
4f6b320d31
13 changed files with 117 additions and 63 deletions
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
import BaseLayout from "../layouts/BaseLayout.astro";
|
||||
import IconEnvelope from "../components/icons/IconEnvelope.astro";
|
||||
import IconBriefcase from "../components/icons/IconBriefcase.astro";
|
||||
import IconBluesky from "../components/icons/brands/IconBluesky.astro";
|
||||
import IconCodeberg from "../components/icons/brands/IconCodeberg.astro";
|
||||
import IconCohost from "../components/icons/brands/IconCohost.astro";
|
||||
|
|
@ -21,6 +22,7 @@ import IconPicarto from "../components/icons/brands/IconPicarto.astro";
|
|||
import IconReddit from "../components/icons/brands/IconReddit.astro";
|
||||
import IconSignal from "../components/icons/brands/IconSignal.astro";
|
||||
import IconSoFurry from "../components/icons/brands/IconSoFurry.astro";
|
||||
import IconSSH from "../components/icons/IconSSH.astro";
|
||||
import IconSteam from "../components/icons/brands/IconSteam.astro";
|
||||
import IconSubscribeStar from "../components/icons/brands/IconSubscribeStar.astro";
|
||||
import IconTelegram from "../components/icons/brands/IconTelegram.astro";
|
||||
|
|
@ -28,7 +30,6 @@ import IconTwitch from "../components/icons/brands/IconTwitch.astro";
|
|||
import IconWeasyl from "../components/icons/brands/IconWeasyl.astro";
|
||||
import IconX from "../components/icons/brands/IconX.astro";
|
||||
import IconYouTube from "../components/icons/brands/IconYouTube.astro";
|
||||
import IconSSH from "../components/icons/brands/IconSSH.astro";
|
||||
---
|
||||
|
||||
<BaseLayout>
|
||||
|
|
@ -39,7 +40,7 @@ import IconSSH from "../components/icons/brands/IconSSH.astro";
|
|||
/>
|
||||
<article class="h-card" aria-label="Homepage of Bad Manners">
|
||||
<h1 id="title-home" class="pb-4 text-3xl tracking-tight sm:text-5xl">
|
||||
Hi, I'm <span class="p-name">Bad Manners</span>!
|
||||
Hi, I'm <span class="p-name font-medium">Bad Manners</span>!
|
||||
</h1>
|
||||
<section>
|
||||
<img
|
||||
|
|
@ -48,7 +49,7 @@ import IconSSH from "../components/icons/brands/IconSSH.astro";
|
|||
alt="Logo for Bad Manners"
|
||||
class="u-logo mx-auto my-4 h-screen max-h-48 rounded-full transition-transform hover:scale-110 motion-reduce:transition-none motion-reduce:hover:scale-100 sm:max-h-72"
|
||||
/>
|
||||
<p class="p-note mt-6 sm:px-5 md:px-6">I'm a safe vore enthusiast, and a furry who occasionally writes stuff.</p>
|
||||
<p class="p-note mt-6 sm:px-5 md:px-6">I'm a safe vore enthusiast, a furry programmer, and occasionally a writer.</p>
|
||||
{
|
||||
Astro.site ? (
|
||||
<a href={Astro.site} class="u-url sr-only" aria-label="Permalink">
|
||||
|
|
@ -78,6 +79,21 @@ import IconSSH from "../components/icons/brands/IconSSH.astro";
|
|||
<p class="sr-only">E-mail address</p>
|
||||
</a>
|
||||
</li>
|
||||
<li id="gallery">
|
||||
<a
|
||||
class="u-url text-link group block w-full transition-colors motion-reduce:transition-none"
|
||||
href="https://gallery.badmanners.xyz"
|
||||
rel="me"
|
||||
aria-label="Main gallery"
|
||||
data-age-restricted
|
||||
>
|
||||
<IconBriefcase
|
||||
height="1.75rem"
|
||||
width="1.75rem"
|
||||
class="inline transition-transform group-hover:scale-150 group-focus:scale-150 motion-reduce:transition-none motion-reduce:group-hover:scale-100 motion-reduce:group-focus:scale-100"
|
||||
/>
|
||||
</a>
|
||||
</li>
|
||||
<li id="bluesky">
|
||||
<a
|
||||
class="u-url text-link group block w-full transition-colors motion-reduce:transition-none"
|
||||
|
|
@ -394,7 +410,6 @@ import IconSSH from "../components/icons/brands/IconSSH.astro";
|
|||
width="1.75rem"
|
||||
class="inline transition-transform group-hover:scale-150 group-focus:scale-150 motion-reduce:transition-none motion-reduce:group-hover:scale-100 motion-reduce:group-focus:scale-100"
|
||||
/>
|
||||
<p class="sr-only">SSH public key</p>
|
||||
</a>
|
||||
</li>
|
||||
<li id="steam">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue