fix: moved icons and created PlatformClient so we can use the enum on the frontend

This commit is contained in:
DecDuck
2024-12-24 11:43:36 +11:00
parent a361c38e82
commit cada630e81
11 changed files with 37 additions and 31 deletions

View File

@ -97,11 +97,11 @@
</template>
<script setup lang="ts">
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 type { Component } from "vue";
import SimpleAuthenticationLogo from "~/components/icons/SimpleAuthenticationLogo.vue";
const authenticationMechanisms: Array<{
name: string;
@ -113,7 +113,7 @@ const authenticationMechanisms: Array<{
{
name: "Simple (username/password)",
enabled: true,
icon: SimpleAuthenticationLogo,
icon: IconsSimpleAuthenticationLogo,
route: "/admin/auth/simple",
},
];