Files
crewli/apps/app/src/components/ErrorHeader.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

41 lines
758 B
Vue

<script setup lang="ts">
interface Props {
statusCode?: string | number
title?: string
description?: string
}
const props = defineProps<Props>()
</script>
<template>
<div class="text-center">
<!-- 👉 Title and subtitle -->
<h1
v-if="props.statusCode"
class="header-title font-weight-medium mb-2"
>
{{ props.statusCode }}
</h1>
<h4
v-if="props.title"
class="text-h4 font-weight-medium mb-2"
>
{{ props.title }}
</h4>
<p
v-if="props.description"
class="text-body-1 mb-6"
>
{{ props.description }}
</p>
</div>
</template>
<style lang="scss" scoped>
.header-title {
font-size: clamp(3rem, 5vw, 6rem);
line-height: clamp(3rem, 5vw, 6rem);
}
</style>