From 47eeb739f2f9b00af3ee7a9b5d914526469d239f Mon Sep 17 00:00:00 2001 From: ASMIT Date: Mon, 19 Oct 2026 17:50:48 +0530 Subject: [PATCH] Render configured dashboard image as a responsive background --- ui/staff-ui/src/app/[locale]/page.tsx | 44 ++++++++++++++++++--------- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/ui/staff-ui/src/app/[locale]/page.tsx b/ui/staff-ui/src/app/[locale]/page.tsx index 0becc146..a36088e7 100644 --- a/ui/staff-ui/src/app/[locale]/page.tsx +++ b/ui/staff-ui/src/app/[locale]/page.tsx @@ -207,10 +207,25 @@ export default function Home() { }; const useStatsCarousel = STATS_CARDS.length > 4; + const dashboardImage = config?.branding?.dashboard_image; return ( -
-
+
+ {dashboardImage && ( +
); -} \ No newline at end of file +}