seitentitel verbessert

This commit is contained in:
2025-12-07 21:57:47 +01:00
parent bc353fa2c2
commit 6f6ea8b24f
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<template> <template>
<Head title="Start" /> <Head :title="props.galleryHeading" />
<div class="min-h-screen bg-gradient-to-br from-slate-100 via-white to-slate-200 text-slate-900 transition-colors duration-500 dark:from-slate-950 dark:via-slate-900 dark:to-slate-950 dark:text-slate-100"> <div class="min-h-screen bg-gradient-to-br from-slate-100 via-white to-slate-200 text-slate-900 transition-colors duration-500 dark:from-slate-950 dark:via-slate-900 dark:to-slate-950 dark:text-slate-100">
<div class="mx-auto flex w-full max-w-7xl flex-col gap-6 px-2 py-8 sm:px-4 lg:px-6"> <div class="mx-auto flex w-full max-w-7xl flex-col gap-6 px-2 py-8 sm:px-4 lg:px-6">
<header class="relative rounded-3xl border border-slate-200 bg-white/90 p-6 text-slate-900 shadow-2xl backdrop-blur transition-colors duration-300 dark:border-white/10 dark:bg-white/5 dark:text-white"> <header class="relative rounded-3xl border border-slate-200 bg-white/90 p-6 text-slate-900 shadow-2xl backdrop-blur transition-colors duration-300 dark:border-white/10 dark:bg-white/5 dark:text-white">

View File

@@ -42,7 +42,7 @@ library.add(
faDownload, faDownload,
); );
const appName = import.meta.env.VITE_APP_NAME || 'Laravel'; const appName = import.meta.env.VITE_APP_NAME || 'Style Gallery';
const resolveTranslation = (source, path) => { const resolveTranslation = (source, path) => {
if (!source || !path) { if (!source || !path) {
@@ -59,7 +59,7 @@ const resolveTranslation = (source, path) => {
}; };
createInertiaApp({ createInertiaApp({
title: (title) => `${title} - ${appName}`, 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')),
setup({ el, App, props, plugin }) { setup({ el, App, props, plugin }) {
console.log('Inertia Page Props (app.js):', props.initialPage.props); console.log('Inertia Page Props (app.js):', props.initialPage.props);