feat: remove layout shift
Some checks failed
Deploy to SFTP Server / build (push) Has been cancelled
Some checks failed
Deploy to SFTP Server / build (push) Has been cancelled
This commit is contained in:
@ -30,15 +30,13 @@ const paths = [
|
||||
];
|
||||
---
|
||||
|
||||
<ul class="flex my-4 h-12 bg-dark">
|
||||
<ul class="flex my-4 h-12">
|
||||
<li><a href="#main-content" class="skip-link">Skip to main content</a></li>
|
||||
<li
|
||||
class="border-none bg-transparent my-2 mr-4 logo grid place-content-center"
|
||||
>
|
||||
class="border-none bg-transparent my-2 mr-4 logo grid place-content-center">
|
||||
<a
|
||||
href={translatePath("/")}
|
||||
class="text-neutral h-9 flex items-center justify-center lowercase"
|
||||
>
|
||||
class="text-neutral h-9 flex items-center justify-center lowercase">
|
||||
<Logo />
|
||||
</a>
|
||||
</li>
|
||||
@ -50,13 +48,11 @@ const paths = [
|
||||
${isActive(link) ? "bg-light underline" : "bg"}
|
||||
${i === 0 ? "rounded-bl-md border-l-1" : "border-l-1"}
|
||||
${i === paths.length - 1 ? "rounded-tr-md !border-r-1" : ""}
|
||||
`}
|
||||
>
|
||||
`}>
|
||||
<a
|
||||
class="text-neutral w-full h-full flex items-center justify-center lowercase"
|
||||
href={link}
|
||||
data-astro-prefetch
|
||||
>
|
||||
data-astro-prefetch>
|
||||
{text}
|
||||
</a>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user