'use client';
import * as Icons from '../Icons';
import type { SectionProps } from './types';
export default function FooterSection({ settings, update }: SectionProps) {
return (
Footer & Social Links
Display branding, Instagram, email and website links in portfolio footer.
update('footer.name', e.target.value)}
placeholder="My Photography"
/>
update('footer.instagram', e.target.value)}
placeholder="https://instagram.com/your-handle"
/>
update('footer.email', e.target.value)}
placeholder="hello@example.com"
/>
update('footer.website', e.target.value)}
placeholder="https://example.com"
/>
Header Navigation Links (Experimental)
External links shown after your pages in the header menu. Only http(s) URLs are allowed;
they open in a new tab.
{(settings.navLinks || []).map((link, i) => (
{
const next = [...(settings.navLinks || [])];
next[i] = { ...next[i], label: e.target.value };
update('navLinks', next);
}}
placeholder="Shop"
/>
{
const next = [...(settings.navLinks || [])];
next[i] = { ...next[i], url: e.target.value };
update('navLinks', next);
}}
placeholder="https://shop.example.com"
/>
))}
);
}