mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
- 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.
13 lines
No EOL
524 B
Vue
13 lines
No EOL
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> |