mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-01-14 15:54:03 +01:00
- Implemented InfiniteCanvas.vue for rendering an infinite canvas with drag and zoom capabilities. - Created useInfiniteCanvas composable for managing canvas state and interactions. - Added useImagePreloader composable for preloading images and videos. - Introduced constants for physics, touch interactions, viewport settings, and zoom defaults. - Developed utility functions for touch handling and media type detection. - Defined TypeScript types for canvas items, grid items, and composables. - Registered components and composables in the Nuxt module. - Added screenshot generation functionality for content files. - Updated package.json to include capture-website dependency.
22 lines
783 B
Vue
22 lines
783 B
Vue
<script setup lang="ts">
|
|
const { t } = useI18n()
|
|
</script>
|
|
|
|
<template>
|
|
<UApp class="relative flex h-screen flex-col items-center justify-center">
|
|
<div class="flex flex-col items-center justify-center min-h-screen">
|
|
<h1 class="text-center font-serif text-[14rem] italic">
|
|
404
|
|
</h1>
|
|
<p class="text-center flex gap-0.5">
|
|
{{ t('error.main') }}
|
|
</p>
|
|
<NuxtLink href="/" class="sofia flex items-center group">
|
|
<span class="duration-300 underline-offset-2 font-semibold text-md text-black dark:text-white underline decoration-gray-300 dark:decoration-neutral-700 group-hover:decoration-black dark:group-hover:decoration-white">
|
|
{{ t('error.redirect') }}
|
|
</span>
|
|
</NuxtLink>
|
|
</div>
|
|
</UApp>
|
|
</template>
|