mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-15 13:06:09 +00:00
migrations and models adjusted
This commit is contained in:
+6
-14
@@ -1,26 +1,18 @@
|
||||
import { createInertiaApp } from '@inertiajs/vue3';
|
||||
import { initializeTheme } from '@/composables/useAppearance';
|
||||
import AppLayout from '@/layouts/AppLayout.vue';
|
||||
import AuthLayout from '@/layouts/AuthLayout.vue';
|
||||
import SettingsLayout from '@/layouts/settings/Layout.vue';
|
||||
import PublicLayout from './layouts/PublicLayout.vue';
|
||||
import { initializeFlashToast } from '@/lib/flashToast';
|
||||
|
||||
const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
|
||||
|
||||
|
||||
createInertiaApp({
|
||||
title: (title) => (title ? `${title} - ${appName}` : appName),
|
||||
layout: (name) => {
|
||||
switch (true) {
|
||||
case name === 'Welcome':
|
||||
return null;
|
||||
case name.startsWith('auth/'):
|
||||
return AuthLayout;
|
||||
case name.startsWith('settings/'):
|
||||
return [AppLayout, SettingsLayout];
|
||||
default:
|
||||
return AppLayout;
|
||||
}
|
||||
|
||||
layout: () => {
|
||||
return PublicLayout;
|
||||
},
|
||||
|
||||
progress: {
|
||||
color: '#4B5563',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user