From 6f25e1d8162ca0e94960fc0390afa69cfbb89ecf 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 ffac25b5..9161b3b8 100644 --- a/ui/staff-ui/src/app/[locale]/page.tsx +++ b/ui/staff-ui/src/app/[locale]/page.tsx @@ -172,10 +172,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 +}