From 88729f8272a92d2ffe8dde50585168db3aaaaa03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Thu, 16 Jul 2026 16:05:54 +0300 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20polish=20dashboard=20ca?= =?UTF-8?q?rds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - wrap the dashboard in a light bordered console panel - make portal cards roomier with three-column desktop layout and two-line descriptions - add soft card shadows, hover lift, and subtle primary accents - align attention and upcoming lists with the same light shadow and hover language --- src/pages/dashboard-page.tsx | 42 +++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/src/pages/dashboard-page.tsx b/src/pages/dashboard-page.tsx index 7c0dbad..97e89a5 100644 --- a/src/pages/dashboard-page.tsx +++ b/src/pages/dashboard-page.tsx @@ -304,17 +304,17 @@ function DashboardContent() { }); return ( -
-
+
+
-

{t("dashboard.today")}

-

+

{t("dashboard.today")}

+

{t("dashboard.greeting", { name: fullName() })}

{t("dashboard.observationOnly")}

- + {t(ROLE_KEY[role()])} {formatDateTime(Date.now(), locale()).split(",")[0]} @@ -322,15 +322,16 @@ function DashboardContent() {
- {(msg) => {msg()}} + {(msg) =>
{msg()}
}
- }> +
}> +

{t("dashboard.roleLinks")}

-
+
{(card) => }
@@ -338,7 +339,7 @@ function DashboardContent() {
-

+

{t("dashboard.attention")}

@@ -350,14 +351,14 @@ function DashboardContent() { when={attention().length > 0} fallback={{t("dashboard.noAttention")}} > -
    +
      {(item) => (
    • @@ -387,21 +388,21 @@ function DashboardContent() {
-

+

{t("dashboard.upcoming")}

0} fallback={{t("dashboard.upcomingEmpty")}} > -
    +
      {(item) => (
    • {formatDateTime(item.at, locale())} @@ -424,6 +425,7 @@ function DashboardContent() {
+
); @@ -431,7 +433,7 @@ function DashboardContent() { function DashEmpty(props: { children: string }) { return ( -
+
{props.children}
); @@ -445,13 +447,13 @@ function PortalCard(props: { card: PortalCardDef }) { return ( - + -
-
+
+

{t(props.card.titleKey)}

-

{t(props.card.descKey)}

+

{t(props.card.descKey)}

);