fix: misc fixes

This commit is contained in:
DecDuck
2025-04-20 21:33:19 +10:00
parent 3b1d04251c
commit a5facbd648
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<template>
<NuxtLoadingIndicator />
<NuxtLoadingIndicator color="#2563eb" />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>

View File

@ -51,7 +51,7 @@
:href="nav.route"
:class="[
active ? 'bg-zinc-800 text-zinc-100' : 'text-zinc-400',
'text-left transition block px-4 py-2 text-sm',
'w-full text-left transition block px-4 py-2 text-sm',
]"
@click="() => navigateTo(nav.route, close)"
>

View File

@ -1,5 +1,5 @@
<template>
<div class="grid gap-4 lg:grid-cols-3 lg:grid-rows-2">
<div v-if="false" class="grid gap-4 lg:grid-cols-3 lg:grid-rows-2">
<div class="relative lg:row-span-2">
<div
class="absolute inset-px rounded-lg bg-zinc-950 lg:rounded-l-[2rem]"

View File

@ -100,7 +100,7 @@ import { IconsSimpleAuthenticationLogo } from "#components";
import { Menu, MenuButton, MenuItem, MenuItems } from "@headlessui/vue";
import { EllipsisHorizontalIcon } from "@heroicons/vue/20/solid";
import { CheckIcon, XMarkIcon } from "@heroicons/vue/24/solid";
import { AuthMec } from "@prisma/client";
import type { AuthMec } from "@prisma/client";
import type { Component } from "vue";
useHead({
@ -123,7 +123,7 @@ const authenticationMechanisms: Array<{
}> = [
{
name: "Simple (username/password)",
mec: AuthMec.Simple,
mec: "Simple" as AuthMec,
icon: IconsSimpleAuthenticationLogo,
route: "/admin/users/auth/simple",
},