Change color of map, change size of map on mobile, add favicon

This commit is contained in:
2024-03-27 21:16:00 +01:00
parent f493d644a5
commit 19c096bcf6
12 changed files with 704 additions and 708 deletions

View File

@@ -25,7 +25,7 @@ Object.keys(commons).forEach(key => Object.defineProperty(window, key, {
createInertiaApp({
title: (title) => `${title} - ${appName}`,
resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue')),
resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue'),import.meta.glob('./assets/**') ),
setup({ el, app, props, plugin }) {
return createApp({ render: () => h(app, props) })
.use(plugin)
@@ -60,7 +60,7 @@ Inertia.on('finish', commons.authorization)
Inertia.on('finish', () => {
const { $flash } = usePage().props.value
const { success, error, info, warning } = $flash
if (success) {
Toast.fire({
text: success,
@@ -68,14 +68,14 @@ Inertia.on('finish', () => {
icon: 'success',
})
}
if (error) {
Toast.fire({
text: error,
icon: 'error',
})
}
if (info) {
Toast.fire({
text: info,
@@ -83,7 +83,7 @@ Inertia.on('finish', () => {
icon: 'info',
})
}
if (warning) {
Toast.fire({
text: warning,
@@ -91,4 +91,4 @@ Inertia.on('finish', () => {
icon: 'warning',
})
}
})
})