Files
webb/src/components/ui/Footer.tsx
T

102 lines
4.5 KiB
TypeScript
Raw Normal View History

import React from 'react';
import Link from 'next/link';
import { ShieldCheck, Heart, ArrowUpRight } from 'lucide-react';
import { SiteConfig, resolveLocalised } from '@/types';
interface FooterProps {
config: SiteConfig;
currentLocale: string;
}
export function Footer({ config, currentLocale }: FooterProps) {
return (
<footer className="bg-slate-900 text-slate-300 dark:bg-black border-t border-slate-800 transition-colors">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-14 lg:py-20">
<div className="grid grid-cols-1 md:grid-cols-4 gap-10">
{/* Brand info */}
<div className="md:col-span-2 space-y-5">
<div className="flex items-center space-x-3">
<div className="w-10 h-10 rounded-2xl bg-gradient-to-tr from-blue-600 via-indigo-600 to-cyan-400 flex items-center justify-center text-white font-black text-sm tracking-tighter shadow-lg shadow-blue-500/20">
CRE
</div>
<span className="text-2xl font-black text-white tracking-tight">
CRE <span className="text-cyan-400">Innovations</span>
</span>
</div>
<p className="text-sm text-slate-400 max-w-md leading-relaxed">
{resolveLocalised(config.brand.tagline, currentLocale)}. Commercial-grade deep learning vision models for portraits, e-commerce products, enhancement, and creative generative art.
</p>
<div className="inline-flex items-center space-x-2 text-xs text-emerald-400 bg-emerald-950/60 border border-emerald-800/80 px-3.5 py-1.5 rounded-full font-medium">
<ShieldCheck className="w-4 h-4 text-emerald-400" />
<span>Zero-Storage Guarantee: In-memory streaming inference with zero photo retention.</span>
</div>
</div>
{/* Quick Links */}
<div className="space-y-4">
<h4 className="text-xs font-bold uppercase tracking-wider text-white">
Platform & Tools
</h4>
<ul className="space-y-2.5 text-xs sm:text-sm">
<li>
<Link href="/tools" className="text-slate-400 hover:text-cyan-400 transition-colors flex items-center space-x-1">
<span>All Photo Tools</span>
</Link>
</li>
<li>
<Link href="/apps" className="text-slate-400 hover:text-cyan-400 transition-colors flex items-center space-x-1">
<span>Mobile Apps Suite</span>
</Link>
</li>
<li>
<Link href="/pricing" className="text-slate-400 hover:text-cyan-400 transition-colors flex items-center space-x-1">
<span>Pricing & Store Credits</span>
</Link>
</li>
<li>
<Link href="/catalog-manager" className="text-slate-400 hover:text-cyan-400 transition-colors flex items-center space-x-1">
<span>API Catalogue Inspector</span>
<ArrowUpRight className="w-3 h-3 text-cyan-400" />
</Link>
</li>
</ul>
</div>
{/* Trust & Legal */}
<div className="space-y-4">
<h4 className="text-xs font-bold uppercase tracking-wider text-white">
Trust & Legal
</h4>
<ul className="space-y-2.5 text-xs sm:text-sm">
<li>
<Link href="/trust" className="text-slate-400 hover:text-cyan-400 transition-colors">
Trust & Security Safeguards
</Link>
</li>
<li>
<Link href="/privacy" className="text-slate-400 hover:text-cyan-400 transition-colors">
Privacy Policy
</Link>
</li>
<li>
<Link href="/terms" className="text-slate-400 hover:text-cyan-400 transition-colors">
Terms of Service
</Link>
</li>
</ul>
</div>
</div>
{/* Bottom Bar */}
<div className="mt-14 pt-8 border-t border-slate-800 flex flex-col sm:flex-row items-center justify-between text-xs text-slate-500 space-y-3 sm:space-y-0">
<p>{config.footer.copyright}</p>
<p className="flex items-center space-x-1.5">
<span>Engineering excellence by CRE Innovations</span>
<span className="w-1.5 h-1.5 rounded-full bg-cyan-400"></span>
</p>
</div>
</div>
</footer>
);
}