Files
portal/app/resources/js/components/errors/ErrorIllustration.vue
T
Дмитрий cb05657f30 chore(format): prettier --write across 37 .vue/.ts files
Phase 1B audit found 48 files failing `prettier --check`. Auto-apply
via `npx prettier --write resources/js/**/*.{ts,vue,css}` produced
style-only changes:
- consistent quote style
- trailing comma normalization
- spaces around : in v-card style="position: relative" attrs
- explicit ; insertion

No semantic changes. No code-behavior changes. Production-code only;
test files batched separately into `test(frontend):` commit.

Verification:
- npx vitest run → 79/79 files, 614/614 + 3 skipped (no regression).
- npx vue-tsc --noEmit → 0 errors.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 20:24:33 +03:00

33 lines
761 B
Vue

<script setup lang="ts">
/**
* ErrorIllustration — большая JetBrains Mono цифра кода ошибки (404 / 403 / 500)
* с акцентом teal на средней цифре. Sprint 4 Phase B/3 — split ErrorView
* (audit O-refactor-04 закрытие).
*/
defineProps<{
code: '404' | '403' | '500';
}>();
</script>
<template>
<h1 class="err-code">
{{ code[0] }}<span class="accent">{{ code[1] }}</span
>{{ code[2] }}
</h1>
</template>
<style scoped>
.err-code {
font-family: 'JetBrains Mono', ui-monospace, monospace;
font-size: 96px;
font-weight: 600;
line-height: 1;
color: #fff;
letter-spacing: -0.04em;
margin: 0 0 16px;
}
.err-code .accent {
color: #32c8a9;
}
</style>