diff --git a/app.config.ts b/app.config.ts index 17218a8..042ee58 100644 --- a/app.config.ts +++ b/app.config.ts @@ -1,27 +1,27 @@ export default defineAppConfig({ - ui: { - primary: 'indigo', - gray: 'neutral', - strategy: 'merge', - button: { - icon: { - loading: 'animate-none', - }, - default: { - loadingIcon: 'i-svg-spinners-180-ring-with-bg' - } - }, - notifications: { - position: 'top-0 bottom-auto' - }, - horizontalNavigation: { - container: 'gap-2', - base: 'px-3 py-4', - after: 'after:hidden', - active: 'before:bg-neutral-600 hover:before:bg-neutral-600 dark:before:bg-neutral-800 dark:hover:before:bg-neutral-800 text-neutral-50 dark:text-neutral-300', - icon: { - active: 'text-neutral-50 dark:text-neutral-300', - } - }, - } + ui: { + primary: 'indigo', + gray: 'neutral', + strategy: 'merge', + button: { + icon: { + loading: 'animate-none', + }, + default: { + loadingIcon: 'i-svg-spinners-180-ring-with-bg', + }, + }, + notifications: { + position: 'top-0 bottom-auto', + }, + horizontalNavigation: { + container: 'gap-2', + base: 'px-3 py-4', + after: 'after:hidden', + active: 'before:bg-neutral-600 hover:before:bg-neutral-600 dark:before:bg-neutral-800 dark:hover:before:bg-neutral-800 text-neutral-50 dark:text-neutral-300', + icon: { + active: 'text-neutral-50 dark:text-neutral-300', + }, + }, + }, }) diff --git a/app.vue b/app.vue index 1cf339a..d5a176a 100644 --- a/app.vue +++ b/app.vue @@ -1,5 +1,5 @@ diff --git a/components/GradientDivider.vue b/components/GradientDivider.vue index 9fb8051..fcb1c9c 100644 --- a/components/GradientDivider.vue +++ b/components/GradientDivider.vue @@ -4,13 +4,26 @@ const props = defineProps({ type: Boolean, default: false, }, + lineGradientFrom: { + type: String, + default: 'primary', + }, + lineGradientTo: { + type: String, + default: 'primary', + }, }) diff --git a/components/LoginNeededContent.vue b/components/LoginNeededContent.vue index 8e1452d..9570a3d 100644 --- a/components/LoginNeededContent.vue +++ b/components/LoginNeededContent.vue @@ -8,6 +8,10 @@ defineProps({ type: String, default: '', }, + needAdmin: { + type: Boolean, + default: false, + }, }) const modal = useModal() @@ -16,19 +20,24 @@ const modal = useModal()