news-analyze/error.vue
吳元皓 ee13960f0b hey rob, please get the fuck out, and stop pinging @birds commit: feat: remove unused components and layouts, add error handling page, and update navigation links
- Deleted unused `headlines.vue`, `admin.vue`, and `newsorg.vue` layouts.
- Consolidated `newsOrgAbout` functionality into a single `newsOrgAbout.vue` component.
- Added error handling page with dynamic error messages.
- Updated navigation to include a new "Learn More" link.
- Adjusted translations for "Learn More" in both English and Traditional Chinese.
- Increased dimensions for the "Hot News" app window.
2025-05-12 10:06:54 +08:00

13 lines
524 B
Vue

<script setup lang="ts">
const error = useError();
const { t } = useI18n();
</script>
<template>
<NuxtLayout>
<div class="flex flex-col justify-center align-center text-center absolute inset-0 h-screen">
<span class="text-7xl m-4 m-1 mb-0 text-center align-center justify-center">{{ error.statusCode }}</span>
<span class="text-2xl text-center align-center justify-center">{{ error.statusMessage }}</span>
</div>
<div class="h-screen"></div>
</NuxtLayout>
</template>