feat: authentication with OAuth
All checks were successful
ci / ci (push) Successful in 16m22s

This commit is contained in:
2025-12-07 21:27:23 +01:00
parent 4e9b4a19b8
commit 40ae2145cc
25 changed files with 3114 additions and 1466 deletions

View File

@@ -1,8 +1,8 @@
export const usePageTitle = () => {
const pageName = useState<string>('pageName', () => '');
const title = computed<string>(() => (pageName.value.length > 0 ? `${pageName.value} - Tímmál` : 'Tímmál'));
const pageName = useState<string | null>('pageName', () => null);
const title = computed<string>(() => ((pageName.value ?? '').length > 0 ? `${pageName.value} - Tímmál` : 'Tímmál'));
const setPageName = (newName: string) => {
const setPageName = (newName: string | null) => {
pageName.value = newName;
useHead({ title: title.value });
};