- Create lib/tools.tsx as single source of truth for all tool metadata (title, shortTitle, navTitle, description, summary, icon, etc.) - Update AppSidebar to render nav from centralized tools list with descriptions, remove collapse footer button - Update AppHeader with sidebar collapse toggle, tool short title, and app logo; remove breadcrumbs - Update AppPage to auto-resolve tool icon from pathname - Update ToolsGrid/ToolCard to use shared tools data, remove per-card gradients for uniform styling - Add per-tool HTML title via metadata exports (title template in root layout) - Style landing page and 404 headings with primary theme color - Add Toolbox icon to hero CTA, GitFork icon link in footer - Remove footer from error page and "View on Dev" buttons - Extract ColorPage client component for RSC metadata compatibility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
39 lines
1.1 KiB
TypeScript
39 lines
1.1 KiB
TypeScript
'use client';
|
|
|
|
import { motion } from 'framer-motion';
|
|
import { GitFork } from 'lucide-react';
|
|
|
|
export default function Footer() {
|
|
const currentYear = new Date().getFullYear();
|
|
|
|
return (
|
|
<footer className="relative py-12 px-4">
|
|
<div className="max-w-6xl mx-auto border-t border-border pt-12">
|
|
<motion.div
|
|
className="flex flex-col md:flex-row items-center justify-between gap-6"
|
|
initial={{ opacity: 0 }}
|
|
whileInView={{ opacity: 1 }}
|
|
viewport={{ once: true }}
|
|
transition={{ duration: 0.6 }}
|
|
>
|
|
{/* Copyright */}
|
|
<p className="text-sm text-muted-foreground">
|
|
© {currentYear} Kit. Built with Next.js 16 & Tailwind CSS 4
|
|
</p>
|
|
|
|
{/* Source link */}
|
|
<a
|
|
href="https://dev.pivoine.art/valknar/kit-ui"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
title="View source"
|
|
className="text-muted-foreground hover:text-primary transition-colors duration-300"
|
|
>
|
|
<GitFork className="h-5 w-5" />
|
|
</a>
|
|
</motion.div>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|