refactor(index): add footer link to z0x.ca. redirect header link to /
This commit is contained in:
parent
60eab25066
commit
4379511206
2 changed files with 5 additions and 5 deletions
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
import Container from "@/components/Container.astro";
|
import Container from "@/components/Container.astro";
|
||||||
|
import Link from "@/components/Link.astro";
|
||||||
import { Separator } from "@/components/ui/separator";
|
import { Separator } from "@/components/ui/separator";
|
||||||
import { SOCIAL_LINKS } from "@/consts";
|
import { SOCIAL_LINKS } from "@/consts";
|
||||||
import SocialIcons from "./SocialIcons.astro";
|
import SocialIcons from "./SocialIcons.astro";---
|
||||||
---
|
|
||||||
|
|
||||||
<footer class="py-4">
|
<footer class="py-4">
|
||||||
<Container>
|
<Container>
|
||||||
|
@ -12,7 +12,7 @@ import SocialIcons from "./SocialIcons.astro";
|
||||||
>
|
>
|
||||||
<div class="flex items-center gap-x-2">
|
<div class="flex items-center gap-x-2">
|
||||||
<span class="text-muted-foreground text-center text-sm">
|
<span class="text-muted-foreground text-center text-sm">
|
||||||
© {new Date().getFullYear()} • z0x
|
© {new Date().getFullYear()} • <Link href="https://z0x.ca?utm_source=blog.z0x.ca" class="hover:text-primary">z0x</Link>
|
||||||
</span>
|
</span>
|
||||||
<Separator orientation="vertical" className="h-4!" />
|
<Separator orientation="vertical" className="h-4!" />
|
||||||
<p class="text-muted-foreground text-center text-sm">
|
<p class="text-muted-foreground text-center text-sm">
|
||||||
|
|
|
@ -12,8 +12,8 @@ import { SITE } from "@/consts";
|
||||||
<Container>
|
<Container>
|
||||||
<div class="flex flex-wrap items-center justify-between gap-4 py-4">
|
<div class="flex flex-wrap items-center justify-between gap-4 py-4">
|
||||||
<Link
|
<Link
|
||||||
href="https://z0x.ca?utm_source=blog.z0x.ca"
|
href="/"
|
||||||
class="hover:text-primary flex shrink-0 items-center gap-2 text-xl font-medium transition-colors duration-300"
|
class="hover:text-muted-foreground text-primary text-xl font-medium"
|
||||||
>
|
>
|
||||||
{SITE.title}
|
{SITE.title}
|
||||||
</Link>
|
</Link>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue