Files
index/src/components/layout/Footer.tsx
T
xiaozhou233 3539cb04e9 refactor: optimize project structure and clean up code
- Split Banner.tsx into reusable components (Header, Footer, NavCard)
- Extract custom hooks: useTypewriter, useParallax
- Separate navigation data from components into data/navigation.ts
- Add TypeScript types (NavItem) for type safety
- Configure @ path alias in tsconfig.app.json for consistency
- Remove unused dependencies: radix-ui, react-helmet-async
- Organize components into layout/ and ui/ directories
2026-07-26 08:07:24 +08:00

19 lines
967 B
TypeScript

import { ChevronDown } from "lucide-react";
export default function Footer() {
return (
<footer className="relative z-10 w-full pb-6 flex flex-col items-center justify-center gap-4 bg-linear-to-t from-black/40 to-transparent">
<div className="animate-bounce">
<ChevronDown size={26} className="text-emerald-400/50 cursor-pointer hover:text-emerald-400 transition-colors" />
</div>
<div className="text-xs md:text-sm text-gray-400/70 tracking-wide font-sans flex items-center gap-1.5 selection:bg-emerald-500/30">
<span className="text-red-500 animate-pulse">❤</span>
<span>Built with</span>
<span className="text-gray-200 font-medium hover:text-cyan-400 transition-colors duration-300 cursor-pointer">React</span>
<span>&</span>
<span className="text-gray-200 font-medium hover:text-sky-400 transition-colors duration-300 cursor-pointer">Tailwind CSS</span>
</div>
</footer>
);
}