Skip to content

Commit 52f4051

Browse files
committed
Update footer links
1 parent c97c4f4 commit 52f4051

File tree

3 files changed

+42
-36
lines changed

3 files changed

+42
-36
lines changed

src/components/layout/footer.tsx

Lines changed: 38 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,50 @@ import { siteConfig } from "@/config/site-config"
22

33
export function Footer() {
44
return (
5-
<footer className="pb-2">
6-
<div className="container-wrapper px-4 xl:px-6">
7-
<div className="flex items-center justify-between">
8-
<div className="w-full px-1 text-center text-xs leading-loose text-muted-foreground sm:text-sm">
9-
Built by{" "}
10-
<a
11-
href={siteConfig.author.link}
12-
target="_blank"
13-
rel="noreferrer"
14-
className="font-medium underline underline-offset-4"
15-
>
16-
{siteConfig.author.name}
17-
</a>
18-
. Hosted on{" "}
5+
<footer className="flex flex-col gap-4 p-8 text-tiny uppercase underline-offset-4">
6+
<div className="flex w-full flex-col-reverse justify-between sm:flex-row">
7+
<div className="flex flex-row justify-between sm:flex-col sm:justify-start">
8+
<p>System Status</p>
9+
<p>
10+
<span className="relative mr-2 inline-flex size-2">
11+
<span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-green-400 opacity-75"></span>{" "}
12+
<span className="relative inline-flex size-2 rounded-full bg-green-500"></span>
13+
</span>
14+
<span>OK</span>
15+
</p>
16+
</div>
17+
18+
<div className="flex flex-row justify-between sm:flex-col sm:items-end sm:justify-start">
19+
<p>Deployed to</p>
20+
<p>
1921
<a
20-
href="https://cloudflare.com"
22+
href="https://www.cloudflare.com"
2123
target="_blank"
2224
rel="noreferrer"
23-
className="font-medium underline underline-offset-4"
25+
className="hover:underline"
2426
>
2527
Cloudflare
2628
</a>
27-
. Source code available on{" "}
28-
<a
29-
href={siteConfig.links.github}
30-
target="_blank"
31-
rel="noreferrer"
32-
className="font-medium underline underline-offset-4"
33-
>
34-
GitHub
35-
</a>
36-
.
37-
</div>
29+
</p>
30+
</div>
31+
</div>
32+
33+
<div className="flex flex-col justify-between gap-4 border-t pt-6 sm:flex-row sm:items-center">
34+
<p>
35+
© {new Date().getFullYear()}{" "}
36+
<a href={siteConfig.author.link} className="hover:underline">
37+
{siteConfig.author.name}
38+
</a>
39+
</p>
40+
<div className="flex gap-6">
41+
<a
42+
href={siteConfig.links.github}
43+
target="_blank"
44+
rel="noreferrer"
45+
className="hover:underline"
46+
>
47+
Source on Github
48+
</a>
3849
</div>
3950
</div>
4051
</footer>

src/styles/app.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,3 @@
120120
@apply bg-background text-foreground antialiased;
121121
}
122122
}
123-
124-
@layer base {
125-
* {
126-
@apply border-border outline-ring/50;
127-
}
128-
body {
129-
@apply bg-background text-foreground;
130-
}
131-
}

src/styles/fonts.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
@theme {
22
--font-sans: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
33
--font-mono: "Geist Mono Variable", ui-monospace, monospace;
4+
5+
--text-tiny: 0.625rem;
6+
--text-tiny--line-height: 1.5rem;
7+
--text-tiny--letter-spacing: 0.125rem;
48
}

0 commit comments

Comments
 (0)