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

96 lines
3.8 KiB
TypeScript

import React from 'react';
import Link from 'next/link';
import { ShieldCheck, ArrowUpRight } from 'lucide-react';
import { SiteConfig, resolveLocalised } from '@/types';
import { BrandLogo } from './BrandLogo';
interface FooterProps {
config: SiteConfig;
currentLocale: string;
}
export function Footer({ config, currentLocale }: FooterProps) {
return (
<footer className="bg-paper-2 text-ink-2 border-t border-rule relative">
<div className="max-w-container mx-auto px-4 sm:px-6 md:px-8 lg:px-10 py-16 lg:py-20">
<div className="grid grid-cols-1 md:grid-cols-4 gap-10">
{/* Brand & Editorial Statement */}
<div className="md:col-span-2 space-y-4">
<BrandLogo size="md" />
<p className="text-sm text-ink-2 max-w-md leading-relaxed font-body">
{resolveLocalised(config.brand.tagline, currentLocale)}. Deep learning neural vision models for sub-pore portrait retouching, hair-strand matting, and archival restoration.
</p>
<div className="pt-2">
<div className="inline-flex items-center gap-2 text-xs text-ink bg-paper-hi border border-rule px-4 py-2 rounded-full font-body shadow-xs">
<ShieldCheck className="w-3.5 h-3.5 text-accent" aria-hidden="true" />
<span>Zero-storage policy: photos processed in volatile memory only</span>
</div>
</div>
</div>
{/* Platform Suite */}
<div className="space-y-3">
<h4 className="text-xs font-body font-semibold text-ink">
Platform tools
</h4>
<ul className="space-y-2 text-sm font-body">
<li>
<Link href="/tools" className="text-muted hover:text-ink transition-colors">
All neural photo tools
</Link>
</li>
<li>
<Link href="/apps" className="text-muted hover:text-ink transition-colors">
Native mobile applications
</Link>
</li>
<li>
<Link href="/pricing" className="text-muted hover:text-ink transition-colors">
Pricing & plans
</Link>
</li>
<li>
<Link href="/catalog-manager" className="text-muted hover:text-ink transition-colors inline-flex items-center gap-1">
<span>Catalogue inspector</span>
<ArrowUpRight className="w-3 h-3 text-accent" aria-hidden="true" />
</Link>
</li>
</ul>
</div>
{/* Trust & Architecture */}
<div className="space-y-3">
<h4 className="text-xs font-body font-semibold text-ink">
Trust & safeguards
</h4>
<ul className="space-y-2 text-sm font-body">
<li>
<Link href="/trust" className="text-muted hover:text-ink transition-colors">
Security safeguards
</Link>
</li>
<li>
<Link href="/privacy" className="text-muted hover:text-ink transition-colors">
Privacy policy
</Link>
</li>
<li>
<Link href="/terms" className="text-muted hover:text-ink transition-colors">
Terms of service
</Link>
</li>
</ul>
</div>
</div>
{/* Bottom Bar */}
<div className="mt-12 pt-6 border-t border-rule flex flex-col sm:flex-row items-center justify-between text-xs text-muted gap-3 font-body">
<p>{config.footer.copyright}</p>
<p>CRE Innovations · Precision photographic studio</p>
</div>
</div>
</footer>
);
}