<template>
<UHeader>
<template #title>
<NuxtLink to="/" class="text-2xl font-bold text-green-400 hover:text-orange-500 transition-colors">
Orangegreencat SMP
</NuxtLink>
</template>
<UNavigationMenu :items="navItems" />
<template #right>
<UButton icon="lucide:log-in">Join the discord</UButton>
</template>
</UHeader>
</template>
<script setup lang="ts">
const navItems = ref([
{
label: "Rules",
to: '/rules'
},
{
label: "Laws",
to: '/laws'
},
{
label: "Mod List",
to: '/mods'
},
{
label: "Change Log",
to: '/changelog'
},
])
</script>
<template>
<UHeader>
<template #title>
<NuxtLink to="/" class="text-2xl font-bold text-green-400 hover:text-orange-500 transition-colors">
Orangegreencat SMP
</NuxtLink>
</template>
<UNavigationMenu :items="navItems" />
<template #right>
<UButton icon="lucide:log-in">Join the discord</UButton>
</template>
</UHeader>
</template>
<script setup lang="ts">
const navItems = ref([
{
label: "Rules",
to: '/rules'
},
{
label: "Laws",
to: '/laws'
},
{
label: "Mod List",
to: '/mods'
},
{
label: "Change Log",
to: '/changelog'
},
])
</script>