refactor(index): add footer link to z0x.ca. redirect header link to /

This commit is contained in:
z0x 2025-05-07 09:00:11 -04:00
parent 60eab25066
commit 4379511206
2 changed files with 5 additions and 5 deletions

View file

@ -1,9 +1,9 @@
---
import Container from "@/components/Container.astro";
import Link from "@/components/Link.astro";
import { Separator } from "@/components/ui/separator";
import { SOCIAL_LINKS } from "@/consts";
import SocialIcons from "./SocialIcons.astro";
---
import SocialIcons from "./SocialIcons.astro";---
<footer class="py-4">
<Container>
@ -12,7 +12,7 @@ import SocialIcons from "./SocialIcons.astro";
>
<div class="flex items-center gap-x-2">
<span class="text-muted-foreground text-center text-sm">
&copy; {new Date().getFullYear()} • z0x
&copy; {new Date().getFullYear()} • <Link href="https://z0x.ca?utm_source=blog.z0x.ca" class="hover:text-primary">z0x</Link>
</span>
<Separator orientation="vertical" className="h-4!" />
<p class="text-muted-foreground text-center text-sm">

View file

@ -12,8 +12,8 @@ import { SITE } from "@/consts";
<Container>
<div class="flex flex-wrap items-center justify-between gap-4 py-4">
<Link
href="https://z0x.ca?utm_source=blog.z0x.ca"
class="hover:text-primary flex shrink-0 items-center gap-2 text-xl font-medium transition-colors duration-300"
href="/"
class="hover:text-muted-foreground text-primary text-xl font-medium"
>
{SITE.title}
</Link>