<script setup lang="ts">
// Redirect /games to / for backwards compatibility
// The games list is now at the index page
definePageMeta({
  middleware: ['auth'],
})

// Redirect immediately
navigateTo('/', { replace: true })
</script>

<template>
  <div class="flex items-center justify-center min-h-[50vh]">
    <div class="text-gray-500">Redirecting...</div>
  </div>
</template>
