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.
This commit is contained in:
yuanhau 2025-05-12 10:06:54 +08:00
parent 3c3b65c18e
commit ee13960f0b
10 changed files with 87 additions and 137 deletions

13
error.vue Normal file
View file

@ -0,0 +1,13 @@
<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>