Fix demo task readiness and gate event creation
This commit is contained in:
8
resources/js/lib/appTitle.ts
Normal file
8
resources/js/lib/appTitle.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export function getAppName(): string {
|
||||
return import.meta.env.VITE_APP_NAME || 'Fotospiel';
|
||||
}
|
||||
|
||||
export function buildPageTitle(title?: string): string {
|
||||
const appName = getAppName();
|
||||
return title ? `${title} - ${appName}` : appName;
|
||||
}
|
||||
Reference in New Issue
Block a user