Files
crewli/apps/app/src/pages/[...error].vue
bert.hausmans 1cb7674d52 refactor: align codebase with EventCrew domain and trim legacy band stack
- Update API: events, users, policies, routes, resources, migrations
- Remove deprecated models/resources (customers, setlists, invitations, etc.)
- Refresh admin app and docs; remove apps/band

Made-with: Cursor
2026-03-29 23:19:06 +02:00

55 lines
1.2 KiB
Vue

<script setup lang="ts">
import { useGenerateImageVariant } from '@core/composable/useGenerateImageVariant'
import misc404 from '@images/pages/404.png'
import miscMaskDark from '@images/pages/misc-mask-dark.png'
import miscMaskLight from '@images/pages/misc-mask-light.png'
const authThemeMask = useGenerateImageVariant(miscMaskLight, miscMaskDark)
definePage({
alias: '/pages/misc/not-found/:error(.*)',
meta: {
layout: 'blank',
public: true,
},
})
</script>
<template>
<div class="misc-wrapper">
<ErrorHeader
status-code="404"
title="Page Not Found ⚠️"
description="We couldn't find the page you are looking for."
/>
<VBtn
to="/"
class="mb-11"
>
Back to Home
</VBtn>
<!-- 👉 Image -->
<div class="misc-avatar w-100 text-center">
<VImg
:src="misc404"
alt="error 404"
:max-height="$vuetify.display.smAndDown ? 350 : 500"
class="mx-auto"
/>
</div>
<img
class="misc-footer-img d-none d-md-block"
:src="authThemeMask"
alt="misc-footer-img"
height="320"
>
</div>
</template>
<style lang="scss">
@use "@core/scss/template/pages/misc.scss";
</style>