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

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

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