[dyad] Added a site-wide footer - wrote 2 file(s)

This commit is contained in:
[dyad]
2026-01-18 13:40:21 +01:00
parent 998acf71d2
commit 063541fff3
2 changed files with 29 additions and 0 deletions

27
src/components/footer.tsx Normal file
View File

@@ -0,0 +1,27 @@
import Link from "next/link";
import { Github, Twitter } from "lucide-react";
import { Button } from "@/components/ui/button";
export function Footer() {
return (
<footer className="w-full border-t bg-background">
<div className="container mx-auto flex h-16 items-center justify-between px-4 md:px-6">
<p className="text-sm text-muted-foreground">
© {new Date().getFullYear()} Image Web Exporter
</p>
<div className="flex items-center gap-1">
<Button variant="ghost" size="icon" asChild>
<Link href="https://github.com/" target="_blank" rel="noopener noreferrer" aria-label="GitHub">
<Github className="h-4 w-4" />
</Link>
</Button>
<Button variant="ghost" size="icon" asChild>
<Link href="https://x.com/" target="_blank" rel="noopener noreferrer" aria-label="Twitter">
<Twitter className="h-4 w-4" />
</Link>
</Button>
</div>
</div>
</footer>
);
}