From 382e2f5d58c5ab6eb0787d030c3a1a48edf47281 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Thu, 18 Dec 2025 21:16:47 +0545 Subject: [PATCH] feat(shared): add productivity dashboard link to navbar The navbar now includes a functional link to the productivity dashboard page. - **New Features**: - Added URL routing for the productivity dashboard link in the navbar - Replaced placeholder href="#" with dynamic {% url 'productivity_dashboard' %} tag ``` --- static/css/tailwind.css | 34 ++++++++++++++++++++++++++++++++++ templates/shared/navbar.html | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/static/css/tailwind.css b/static/css/tailwind.css index 23d114f..046b70c 100644 --- a/static/css/tailwind.css +++ b/static/css/tailwind.css @@ -15,6 +15,7 @@ --container-md: 28rem; --container-2xl: 42rem; --container-3xl: 48rem; + --container-5xl: 64rem; --container-7xl: 80rem; --text-xs: 0.75rem; --text-xs--line-height: calc(1 / 0.75); @@ -1837,6 +1838,9 @@ .mt-1\.5 { margin-top: calc(var(--spacing) * 1.5); } + .mt-2 { + margin-top: calc(var(--spacing) * 2); + } .mt-4 { margin-top: calc(var(--spacing) * 4); } @@ -1980,6 +1984,12 @@ grid-auto-rows: max-content; } } + .line-clamp-3 { + overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + } .block { display: block; } @@ -2075,6 +2085,9 @@ .max-w-3xl { max-width: var(--container-3xl); } + .max-w-5xl { + max-width: var(--container-5xl); + } .max-w-7xl { max-width: var(--container-7xl); } @@ -2132,6 +2145,9 @@ .items-center { align-items: center; } + .items-end { + align-items: flex-end; + } .items-start { align-items: flex-start; } @@ -2162,6 +2178,13 @@ .gap-8 { gap: calc(var(--spacing) * 8); } + .space-y-2 { + :where(& > :not(:last-child)) { + --tw-space-y-reverse: 0; + margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse)); + margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse))); + } + } .space-y-3 { :where(& > :not(:last-child)) { --tw-space-y-reverse: 0; @@ -2343,6 +2366,9 @@ .py-4 { padding-block: calc(var(--spacing) * 4); } + .py-8 { + padding-block: calc(var(--spacing) * 8); + } .py-10 { padding-block: calc(var(--spacing) * 10); } @@ -2443,6 +2469,9 @@ .whitespace-nowrap { white-space: nowrap; } + .whitespace-pre-line { + white-space: pre-line; + } .whitespace-pre-wrap { white-space: pre-wrap; } @@ -2795,6 +2824,11 @@ grid-template-columns: repeat(2, minmax(0, 1fr)); } } + .md\:grid-cols-3 { + @media (width >= 48rem) { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + } .md\:flex-row { @media (width >= 48rem) { flex-direction: row; diff --git a/templates/shared/navbar.html b/templates/shared/navbar.html index 20ab1b3..3672418 100644 --- a/templates/shared/navbar.html +++ b/templates/shared/navbar.html @@ -60,7 +60,7 @@
  • -