feat: test dot as favicon
This commit is contained in:
parent
b512b29808
commit
f135fd62e2
8 changed files with 53 additions and 27 deletions
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
import { SITE } from "@consts";
|
||||
import Button from "@components/Button.astro";
|
||||
import { Icon } from "astro-icon/components";
|
||||
|
||||
const pathname = new URL(Astro.request.url).pathname;
|
||||
const currentPath = pathname.replace(/\/$/, "");
|
||||
|
@ -10,10 +11,10 @@ const currentPath = pathname.replace(/\/$/, "");
|
|||
<nav class="flex w-full justify-between">
|
||||
<div class="flex w-fit items-center justify-between">
|
||||
<a href="/" aria-label={SITE.TITLE} title={SITE.TITLE} class="group">
|
||||
<div
|
||||
class="ring-secondary/10 size-8 rounded-full bg-linear-45 from-[#FF5907] from-50% to-[#FF8548] ring-1 transition-transform ease-in-out ring-inset group-hover:scale-105"
|
||||
>
|
||||
</div>
|
||||
<Icon
|
||||
name="icon"
|
||||
class="size-8 transition-transform ease-in-out group-hover:scale-105"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="flex w-fit flex-row items-center gap-4">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue