<script setup lang="ts">
// PortalLayout — F3 rewrite. Delegates to AppShell with portal nav
// items, replacing the previous Vuexy-based 234-line layout.
//
// Per RFC AD-3 + R-10, filename preserved, contents rewritten. The
// previous PortalLayout's event-mode/platform-mode topbar variant
// (driven by route.meta.navMode), the embedded UserAvatarMenu, and
// the ContextSwitcher widget are absent during F3 — they re-enter in
// F4 when each is rewritten to PrimeVue. See the B7 commit body for
// the regression list.

import AppShell from '@/layouts/components/AppShell.vue'

const portalNavItems = [
  {
    title: 'Mijn evenementen',
    to: { name: 'portal-evenementen' },
    icon: { icon: 'tabler-calendar-event' },
  },
  {
    title: 'Mijn Profiel',
    to: { name: 'portal-profiel' },
    icon: { icon: 'tabler-user' },
  },
]
</script>

<template>
  <AppShell
    :nav-items="portalNavItems"
    title="Crewli Portal"
  >
    <RouterView />
  </AppShell>
</template>
