update to v3.7

This commit is contained in:
2023-08-27 18:44:09 +02:00
parent 5fecc077e0
commit 43c457c6f2
6 changed files with 3138 additions and 3000 deletions

View File

@@ -6,7 +6,7 @@ const getColor = computed(() => appConfig.ui.primary)
<template>
<NuxtLayout name="default">
<div class="flex flex-col items-center gap-4">
<div class="flex flex-col items-center gap-4 mt-12">
<h1 class="font-medium text-[8rem] md:text-[16rem] leading-none bg-error bg-clip-text tracking-wider font-error" :class="`text-${getColor}-500`">
{{ error.statusCode }}
</h1>
@@ -19,7 +19,7 @@ const getColor = computed(() => appConfig.ui.primary)
Let's find a better place for you to go.
</p>
</div>
<div>
<div class="flex justify-center mt-8 mb-12">
<UButton to="/" size="md" variant="soft" color="primary">
Go back to the main page
</UButton>

View File

@@ -1,4 +1,4 @@
import { PrismaClient } from '@prisma/client'
import { PrismaClient } from '@prisma/client/edge'
const globalForPrisma = globalThis as unknown as { prisma: PrismaClient }

3
src/server/tsconfig.json Normal file
View File

@@ -0,0 +1,3 @@
{
"extends": "../.nuxt/tsconfig.server.json"
}