chore: Add Stricter Frontend Formatting (#6262)

This commit is contained in:
Michael Genson
2025-09-27 13:57:53 -05:00
committed by GitHub
parent ecdf7de386
commit d16a10440d
52 changed files with 945 additions and 818 deletions

View File

@@ -1,6 +1,7 @@
<template>
<v-app v-if="ready"
dark
<v-app
v-if="ready"
dark
>
<v-card-title>
<slot>
@@ -14,9 +15,10 @@
<p class="primary--text">
4
</p>
<v-icon color="primary"
class="mx-auto mb-0"
size="200"
<v-icon
color="primary"
class="mx-auto mb-0"
size="200"
>
{{ $globals.icons.primary }}
</v-icon>
@@ -28,11 +30,12 @@
<v-card-actions>
<v-spacer />
<slot name="actions">
<v-btn v-for="(button, index) in buttons"
:key="index"
nuxt
:to="button.to"
color="primary"
<v-btn
v-for="(button, index) in buttons"
:key="index"
nuxt
:to="button.to"
color="primary"
>
<v-icon start>
{{ button.icon }}
@@ -121,9 +124,9 @@ export default defineNuxtComponent({
useSeoMeta({
title:
props.error.statusCode === 404
? (i18n.t("page.404-not-found") as string)
: (i18n.t("page.an-error-occurred") as string),
props.error.statusCode === 404
? (i18n.t("page.404-not-found") as string)
: (i18n.t("page.an-error-occurred") as string),
});
const buttons = [