From 3e69c5df3ffecc42663cba4ad7bf9f18795cedce Mon Sep 17 00:00:00 2001 From: Luca <102960244+Luca-Timo@users.noreply.github.com> Date: Thu, 2 Jul 2026 15:03:56 +0200 Subject: [PATCH] fix(setup): match first-run logo size to the login page default The header logo used a hardcoded 64px frame; the login page renders a medium (200x150) frame via resolveLoginLogoClasses. Reuse that helper with the default size so /setup and /admin/login read identically. --- frontend/src/pages/SetupPage.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/SetupPage.tsx b/frontend/src/pages/SetupPage.tsx index 4e7f8acd..6b4101a4 100644 --- a/frontend/src/pages/SetupPage.tsx +++ b/frontend/src/pages/SetupPage.tsx @@ -8,6 +8,7 @@ import { useTranslation } from 'react-i18next'; import { Button, Input, Card, Loading } from '../components/common'; import { useAdminAuth } from '../contexts'; import { setupService } from '../services/setup.service'; +import { resolveLoginLogoClasses } from '../utils/loginLogoSize'; import type { AdminUser } from '../types'; // Where the first-run setup is documented, for the case where the server logs @@ -170,10 +171,16 @@ export const SetupPage: React.FC = () => {
{/* On a fresh instance there are no branding settings yet, so use the bundled PicPeak logo — the same default the login page falls back - to — on the cream brand plate. First impressions should be on-brand. */} -
- PicPeak -
+ to — on the cream brand plate. Size matches the login default + (`medium`) so the two screens read identically. */} + {(() => { + const cls = resolveLoginLogoClasses(undefined); + return ( +
+ PicPeak +
+ ); + })()}

{t('setup.title')}

{step === 'token' ? t('setup.tokenStepSubtitle') : t('setup.accountStepSubtitle')}