--- import { PixelSprite } from '../pixel/pixel-sprite' import { crab, crabAsleep, key } from '../pixel/sprites' import { appHref, contactEmail, footerCopy, type FooterLocale } from '../lib/footer' interface Props { websiteUrl?: string docsUrl?: string blogUrl?: string locale?: FooterLocale containerClass?: string } const { websiteUrl, docsUrl, blogUrl, locale = 'en', containerClass = 'max-w-6xl' } = Astro.props const copy = footerCopy[locale] ?? footerCopy.en const columns = [ { key: 'footer.product', title: copy.product, links: [ { label: 'Documentation', href: appHref(docsUrl, '/') }, { label: 'Release notes', href: appHref(websiteUrl, '/release-notes') }, { label: 'Roadmap', href: 'https://github.com/orgs/ferriskey/projects/1' }, ], }, { key: 'footer.community', title: copy.community, links: [ { label: 'GitHub', href: 'https://github.com/ferriskey/ferriskey' }, { label: 'Discussions', href: 'https://github.com/ferriskey/ferriskey/discussions' }, { label: 'Contributing', href: 'https://github.com/ferriskey/ferriskey/blob/main/CONTRIBUTING.md' }, ], }, { key: 'footer.project', title: copy.project, links: [ { label: 'Blog', href: appHref(blogUrl, '/') }, { label: 'Governance', href: 'https://github.com/ferriskey/ferriskey/blob/main/GOVERNANCE.md' }, { label: 'Security', href: 'https://github.com/ferriskey/ferriskey/blob/main/SECURITY.md' }, ], }, ] const legalLinks = [ { key: 'footer.legal', label: copy.legal, href: appHref(websiteUrl, '/legal') }, { key: 'footer.privacy', label: copy.privacy, href: appHref(websiteUrl, '/privacy') }, ] const year = new Date().getFullYear() ---