Files
podcastdistributiona/components/marketing/site-footer.tsx
T

75 lines
2.4 KiB
TypeScript
Raw Normal View History

import Link from "next/link";
import { Logo } from "@/components/ui/logo";
export function SiteFooter() {
return (
<footer className="border-t border-border bg-secondary">
<div className="container flex flex-col gap-10 py-16 md:flex-row md:justify-between">
<div className="max-w-xs space-y-4">
<Link href="/" className="flex items-center" aria-label="Podcast Distribution AI">
<Logo className="h-7 w-auto" />
</Link>
<p className="text-sm leading-relaxed text-muted-foreground">
From topic idea to a finished, published podcast episode in minutes script, voice, and
cover art generated by AI.
</p>
</div>
<div className="grid grid-cols-2 gap-10 text-sm sm:grid-cols-3">
<FooterCol
title="Product"
links={[
["How it works", "/#how-it-works"],
["Features", "/#features"],
["Pricing", "/pricing"],
["FAQ", "/faq"],
["About", "/about"],
]}
/>
<FooterCol
title="Account"
links={[
["Log in", "/sign-in"],
["Create account", "/sign-up"],
["Dashboard", "/dashboard"],
]}
/>
<FooterCol
title="Legal"
links={[
["Terms of Service", "/terms"],
["Privacy Policy", "/privacy"],
["Cookie Policy", "/cookies"],
["Acceptable Use", "/acceptable-use"],
["Refund Policy", "/refunds"],
["Subprocessors", "/subprocessors"],
]}
/>
</div>
</div>
<div className="border-t border-border">
<div className="container py-6 text-center text-xs text-muted-foreground">
© {new Date().getFullYear()} Podcast Distribution AI. All rights reserved.
</div>
</div>
</footer>
);
}
function FooterCol({ title, links }: { title: string; links: [string, string][] }) {
return (
<div className="space-y-3.5">
<p className="font-semibold text-foreground">{title}</p>
<ul className="space-y-2.5 text-muted-foreground">
{links.map(([label, href]) => (
<li key={href}>
<Link href={href} className="transition-colors hover:text-brand">
{label}
</Link>
</li>
))}
</ul>
</div>
);
}