<script setup>
definePageMeta({
  title: "EDMS",
  middleware: ["auth"],
});

// Redirect to DMS page immediately
await navigateTo('/dms', { replace: true });
</script>

<template>
  <div class="flex items-center justify-center min-h-screen">
    <div class="text-center">
      <div class="animate-spin rounded-full h-8 w-8 border-b-2 border-primary mx-auto mb-4"></div>
      <p class="text-gray-600">Redirecting to Document Management System...</p>
    </div>
  </div>
</template>
