From 85410a9ed6b95a3fc07c51d2a2dfc1b3d42b8401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Wed, 29 Jul 2026 20:36:52 +0300 Subject: [PATCH] =?UTF-8?q?refactor(marks):=20=F0=9F=A7=B9=20use=20shared?= =?UTF-8?q?=20PageHeader=20for=20the=20page=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit replace the bespoke
icon-chip block with , matching the 18 other pages; tab-dependent subtitle passed as description --- src/pages/marks-page.tsx | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/src/pages/marks-page.tsx b/src/pages/marks-page.tsx index e34a609..3da2ff0 100644 --- a/src/pages/marks-page.tsx +++ b/src/pages/marks-page.tsx @@ -6,6 +6,7 @@ import { Alert } from "@/components/ui/alert"; import { AttendanceReportView } from "@/components/attendance/attendance-report-view"; import { MarksReportView } from "@/components/marks/marks-report-view"; import { RouteGuard } from "@/components/layout/route-guard"; +import { PageHeader } from "@/components/layout/page-header"; import { EmptyState } from "@/components/ui/empty-state"; import { IconChart, IconClipboardCheck } from "@/components/ui/icons"; import { PageSpinner } from "@/components/ui/page-spinner"; @@ -31,19 +32,10 @@ function MarksContent() { return (
-
- - }> - - - -
-

{t("marks.title")}

-

- {tab() === "marks" ? t("marks.subtitle") : t("attendance.subtitle")} -

-
-
+