From 6f6ea8b24f079976ba43f3e0402c3c73cf95bc5f Mon Sep 17 00:00:00 2001
From: soeren
Date: Sun, 7 Dec 2025 21:57:47 +0100
Subject: [PATCH] seitentitel verbessert
---
resources/js/Pages/Home.vue | 2 +-
resources/js/app.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/resources/js/Pages/Home.vue b/resources/js/Pages/Home.vue
index 094ef17..c78250f 100644
--- a/resources/js/Pages/Home.vue
+++ b/resources/js/Pages/Home.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/resources/js/app.js b/resources/js/app.js
index 5870fc9..5d718b6 100644
--- a/resources/js/app.js
+++ b/resources/js/app.js
@@ -42,7 +42,7 @@ library.add(
faDownload,
);
-const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
+const appName = import.meta.env.VITE_APP_NAME || 'Style Gallery';
const resolveTranslation = (source, path) => {
if (!source || !path) {
@@ -59,7 +59,7 @@ const resolveTranslation = (source, path) => {
};
createInertiaApp({
- title: (title) => `${title} - ${appName}`,
+ title: (title) => title || appName,
resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue')),
setup({ el, App, props, plugin }) {
console.log('Inertia Page Props (app.js):', props.initialPage.props);