import { env } from '@konobangu/env'; import { Status } from '@konobangu/observability/status'; import Link from 'next/link'; export const Footer = () => { const navigationItems = [ { title: 'Home', href: '/', description: '', }, { title: 'Pages', description: 'Managing a small business today is already tough.', items: [ { title: 'Blog', href: '/blog', }, ], }, { title: 'Legal', description: 'We stay on top of the latest legal requirements.', items: [ { title: 'Terms of Service', href: '/legal/terms', }, { title: 'Privacy Policy', href: '/legal/privacy', }, { title: 'Acceptable Use', href: '/legal/acceptable-use', }, ], }, ]; if (env.NEXT_PUBLIC_DOCS_URL) { navigationItems.at(1)?.items?.push({ title: 'Docs', href: env.NEXT_PUBLIC_DOCS_URL, }); } return (

next-forge

This is the start of something new.

{navigationItems.map((item) => (
{item.href ? ( {item.title} ) : (

{item.title}

)} {item.items?.map((subItem) => ( {subItem.title} ))}
))}
); };