mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-09 20:12:10 +10:00
fix: misc fixes
This commit is contained in:
2
app.vue
2
app.vue
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<NuxtLoadingIndicator />
|
||||
<NuxtLoadingIndicator color="#2563eb" />
|
||||
<NuxtLayout>
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
|
||||
@ -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)"
|
||||
>
|
||||
|
||||
@ -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]"
|
||||
|
||||
@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user