--- import BaseLayout from './BaseLayout.astro'; import type { UserPublic } from '../lib/db'; interface Props { title: string; user: UserPublic; } const { title, user } = Astro.props; const navLinks = [ { href: '/pulse', label: 'Pulse' }, { href: '/roadmap', label: 'Roadmap' }, ]; const footerLinks = [ { href: '/vision', label: 'Vision' }, ]; const currentPath = Astro.url.pathname; const year = new Date().getFullYear(); ---
Fenja AI · Project Bifrost
{navLinks.map(({ href, label }) => ( {label} ))} {user.role === 'fenja' && ( Admin )} {user.name}
© {year} Fenja AI
{footerLinks.map(({ href, label }) => ( {label} ))}