news-analyze/error.vue
吳元皓 5bf857f3cd feat: enhance UI components and add accordion functionality
- Updated DraggableWindow.vue to improve shadow effects.
- Refactored AboutWindow.vue for better structure and readability.
- Added chatbot functionality in chatbot.vue with cookie management.
- Improved navigation component for better code clarity.
- Created a new chat history table in the database schema.
- Modified error handling in error.vue to display error messages correctly.
- Integrated ChatbotWindow into the desktop application layout.
- Implemented accordion component in home.vue for Q/A section.
- Enhanced API for chat functionality with improved error handling.
- Removed unused routes for cleaner codebase.
- Added custom animations for accordion components in tailwind.config.js.
- Developed accordion UI components (Accordion, AccordionContent, AccordionItem, AccordionTrigger) for better user interaction.
2025-05-13 09:40:37 +08:00

21 lines
539 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.message
}}</span>
</div>
<div class="h-screen"></div>
</NuxtLayout>
</template>