feat: update footer with dark tech theme

This commit is contained in:
张翔
2026-02-21 23:04:32 +08:00
parent 1ae05f107b
commit 4f783255a3
+18 -23
View File
@@ -4,19 +4,18 @@ import { COMPANY_INFO, NAVIGATION } from '@/lib/constants';
export function Footer() { export function Footer() {
return ( return (
<footer className="bg-[#1A1A1A] text-white"> <footer className="bg-[var(--color-bg-secondary)] border-t border-gray-800">
<div className="container-custom py-16"> <div className="container-custom py-16">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12"> <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12">
{/* Company Info */}
<div className="lg:col-span-1"> <div className="lg:col-span-1">
<div className="flex items-center mb-6"> <div className="flex items-center mb-6">
<img src="/logo-white.svg" alt="四川睿新致远科技有限公司" className="h-12 w-auto" /> <img src="/logo-white.svg" alt="四川睿新致远科技有限公司" className="h-12 w-auto" />
</div> </div>
<p className="text-[#8A8A8A] text-sm leading-relaxed mb-6"> <p className="text-gray-400 text-sm leading-relaxed mb-6">
{COMPANY_INFO.description} {COMPANY_INFO.description}
</p> </p>
<div className="flex flex-col items-start gap-3"> <div className="flex flex-col items-start gap-3">
<span className="text-[#8A8A8A] text-sm"></span> <span className="text-gray-500 text-sm"></span>
<div className="w-24 h-24 bg-white rounded-lg p-2"> <div className="w-24 h-24 bg-white rounded-lg p-2">
<img <img
src="/images/qrcode-wechat.png" src="/images/qrcode-wechat.png"
@@ -27,7 +26,6 @@ export function Footer() {
</div> </div>
</div> </div>
{/* Quick Links */}
<div> <div>
<h3 className="font-semibold text-lg mb-6 text-white"></h3> <h3 className="font-semibold text-lg mb-6 text-white"></h3>
<ul className="space-y-3"> <ul className="space-y-3">
@@ -35,7 +33,7 @@ export function Footer() {
<li key={item.id}> <li key={item.id}>
<a <a
href={item.href} href={item.href}
className="text-[#8A8A8A] hover:text-[#C41E3A] transition-colors" className="text-gray-400 hover:text-[var(--color-tech-blue)] transition-colors"
> >
{item.label} {item.label}
</a> </a>
@@ -44,64 +42,61 @@ export function Footer() {
</ul> </ul>
</div> </div>
{/* Services */}
<div> <div>
<h3 className="font-semibold text-lg mb-6 text-white"></h3> <h3 className="font-semibold text-lg mb-6 text-white"></h3>
<ul className="space-y-3"> <ul className="space-y-3">
<li> <li>
<a href="#services" className="text-[#8A8A8A] hover:text-[#C41E3A] transition-colors"> <a href="#services" className="text-gray-400 hover:text-[var(--color-tech-blue)] transition-colors">
</a> </a>
</li> </li>
<li> <li>
<a href="#services" className="text-[#8A8A8A] hover:text-[#C41E3A] transition-colors"> <a href="#services" className="text-gray-400 hover:text-[var(--color-tech-blue)] transition-colors">
</a> </a>
</li> </li>
<li> <li>
<a href="#services" className="text-[#8A8A8A] hover:text-[#C41E3A] transition-colors"> <a href="#services" className="text-gray-400 hover:text-[var(--color-tech-blue)] transition-colors">
</a> </a>
</li> </li>
<li> <li>
<a href="#services" className="text-[#8A8A8A] hover:text-[#C41E3A] transition-colors"> <a href="#services" className="text-gray-400 hover:text-[var(--color-tech-blue)] transition-colors">
</a> </a>
</li> </li>
</ul> </ul>
</div> </div>
{/* Contact Info */}
<div> <div>
<h3 className="font-semibold text-lg mb-6 text-white"></h3> <h3 className="font-semibold text-lg mb-6 text-white"></h3>
<ul className="space-y-4"> <ul className="space-y-4">
<li className="flex items-start gap-3"> <li className="flex items-start gap-3">
<MapPin className="w-5 h-5 text-[#C41E3A] mt-0.5" /> <MapPin className="w-5 h-5 text-[var(--color-tech-blue)] mt-0.5" />
<span className="text-[#8A8A8A]">{COMPANY_INFO.address}</span> <span className="text-gray-400">{COMPANY_INFO.address}</span>
</li> </li>
<li className="flex items-center gap-3"> <li className="flex items-center gap-3">
<Phone className="w-5 h-5 text-[#C41E3A]" /> <Phone className="w-5 h-5 text-[var(--color-tech-blue)]" />
<span className="text-[#8A8A8A]">{COMPANY_INFO.phone}</span> <span className="text-gray-400">{COMPANY_INFO.phone}</span>
</li> </li>
<li className="flex items-center gap-3"> <li className="flex items-center gap-3">
<Mail className="w-5 h-5 text-[#C41E3A]" /> <Mail className="w-5 h-5 text-[var(--color-tech-blue)]" />
<span className="text-[#8A8A8A]">{COMPANY_INFO.email}</span> <span className="text-gray-400">{COMPANY_INFO.email}</span>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
{/* Bottom */} <div className="border-t border-gray-800 mt-12 pt-8">
<div className="border-t border-white/10 mt-12 pt-8">
<div className="flex flex-col md:flex-row justify-between items-center gap-4"> <div className="flex flex-col md:flex-row justify-between items-center gap-4">
<p className="text-[#8A8A8A] text-sm"> <p className="text-gray-500 text-sm">
© {new Date().getFullYear()} {COMPANY_INFO.name}. All rights reserved. © {new Date().getFullYear()} {COMPANY_INFO.name}. All rights reserved.
</p> </p>
<div className="flex gap-6"> <div className="flex gap-6">
<Link href="#" className="text-[#8A8A8A] hover:text-[#C41E3A] text-sm transition-colors"> <Link href="#" className="text-gray-500 hover:text-[var(--color-tech-blue)] text-sm transition-colors">
</Link> </Link>
<Link href="#" className="text-[#8A8A8A] hover:text-[#C41E3A] text-sm transition-colors"> <Link href="#" className="text-gray-500 hover:text-[var(--color-tech-blue)] text-sm transition-colors">
</Link> </Link>
</div> </div>