<template>
  <div>
    <!-- Redirect to dashboard if authenticated, otherwise to login -->
  </div>
</template>

<script setup lang="ts">
const { authenticated } = useAuth();

// Redirect based on authentication status
await navigateTo(authenticated.value ? '/dashboard' : '/login');
</script>
