diff --git a/src/components/layout/admin/main-admin.layout.tsx b/src/components/layout/admin/main-admin.layout.tsx index 8162d5244..5cf7573c7 100644 --- a/src/components/layout/admin/main-admin.layout.tsx +++ b/src/components/layout/admin/main-admin.layout.tsx @@ -46,6 +46,7 @@ import { useScreenLargerThan } from '~/hooks/useScreenLargerThan'; import { usePackageAttributesStore } from '~/tools/client/zustands/usePackageAttributesStore'; import { Logo } from '../Logo'; +import { CommonHeader } from '../common-header'; import { MainHeader } from '../new-header/Header'; interface MainLayoutProps { @@ -140,17 +141,7 @@ export const MainLayout = ({ children }: MainLayoutProps) => { ); return ( <> - - - - - - {/* configure apple splash screen & touch icon */} - - - - - + { + return ( + + + + + + {/* configure apple splash screen & touch icon */} + + + + + + {children} + + ); +}; diff --git a/src/pages/auth/login.tsx b/src/pages/auth/login.tsx index e32006f76..bf0998607 100644 --- a/src/pages/auth/login.tsx +++ b/src/pages/auth/login.tsx @@ -19,6 +19,7 @@ import { useTranslation } from 'next-i18next'; import { serverSideTranslations } from 'next-i18next/serverSideTranslations'; import { useRouter } from 'next/router'; import { z } from 'zod'; +import { CommonHeader } from '~/components/layout/common-header'; import { signInSchema } from '~/validations/user'; import { loginNamespaces } from '../../tools/server/translation-namespaces'; @@ -44,6 +45,9 @@ export default function LoginPage() { return ( + + Login • Homarr + {t('title')} diff --git a/src/pages/manage/preferences.tsx b/src/pages/manage/preferences.tsx index 946f59e29..2a504809b 100644 --- a/src/pages/manage/preferences.tsx +++ b/src/pages/manage/preferences.tsx @@ -3,6 +3,7 @@ import Head from 'next/head'; import { forwardRef } from 'react'; import { AccessibilitySettings } from '~/components/Settings/Customization/Accessibility/AccessibilitySettings'; import { MainLayout } from '~/components/layout/admin/main-admin.layout'; +import { CommonHeader } from '~/components/layout/common-header'; import { languages } from '~/tools/language'; const PreferencesPage = () => { @@ -15,9 +16,9 @@ const PreferencesPage = () => { })); return ( <MainLayout> - <Head> + <CommonHeader> <title>Preferences • Homarr - + Preferences