Switch to version 1: remove src/components/ui/FooterBrand.tsx
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
type FooterColumn = {
|
||||
items: { label: string; href: string }[];
|
||||
};
|
||||
|
||||
type FooterBrandProps = {
|
||||
brand: string;
|
||||
columns: FooterColumn[];
|
||||
};
|
||||
|
||||
export default function FooterBrand({ brand, columns }: FooterBrandProps) {
|
||||
return (
|
||||
<footer className="py-12 bg-background text-foreground border-t border-foreground/10">
|
||||
<div className="max-w-6xl mx-auto px-6 flex flex-col md:flex-row justify-between items-center gap-8">
|
||||
<div className="text-2xl font-bold">{brand}</div>
|
||||
<div className="flex gap-12">
|
||||
{columns.map((col, idx) => (
|
||||
<div key={idx} className="flex flex-col gap-3">
|
||||
{col.items.map((item, itemIdx) => (
|
||||
<a
|
||||
key={itemIdx}
|
||||
href={item.href}
|
||||
className="text-foreground/70 hover:text-foreground transition-colors"
|
||||
>
|
||||
{item.label}
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user