Skip to content

Commit 2c54b0b

Browse files
committed
refactor: clean up and format Footer component code for better readability
1 parent 3bef6e5 commit 2c54b0b

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

components/Footer.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function Footer({ lang }: { lang: string }) {
7474
return (
7575
<>
7676
<footer className="w-full mt-10 sticky top-full border-t border-slate-200 dark:border-slate-800 bg-white/50 dark:bg-slate-900/50 backdrop-blur-sm">
77-
<div className="max-w-5xl mx-auto px-4 py-6 flex flex-col md:flex-row items-center justify-between gap-4 text-sm text-slate-500 dark:text-slate-400">
77+
<div className="max-w-5xl mx-auto px-4 flex flex-col md:flex-row items-center justify-between gap-4 text-sm text-slate-500 dark:text-slate-400">
7878
{/* Left: Copyright & License */}
7979
<div className="flex items-center gap-4">
8080
<a
@@ -91,9 +91,15 @@ export function Footer({ lang }: { lang: string }) {
9191
aria-label="GitHub"
9292
dangerouslySetInnerHTML={{ __html: siGithub.svg }}
9393
/>
94+
<span className="font-medium">GitHub</span>
9495
</a>
96+
<div className="w-px h-3 bg-slate-300 dark:bg-slate-700"></div>
9597
<span>
96-
&copy; {new Date().getFullYear()} Im-Not-God &middot;{" "}
98+
With <span className="text-red-400"></span> by Im-Not-God
99+
</span>
100+
<div className="w-px h-3 bg-slate-300 dark:bg-slate-700"></div>
101+
<span>
102+
&copy; {new Date().getFullYear()} &middot;{" "}
97103
<a
98104
href="https://github.com/Im-Not-God/TeleCloud/blob/master/LICENSE"
99105
target="_blank"

0 commit comments

Comments
 (0)