From 168906907352a52dfb24fc71ac9bac7c112e87e2 Mon Sep 17 00:00:00 2001 From: icedmist Date: Fri, 17 Apr 2026 10:00:00 +0100 Subject: [PATCH 1/3] refactor: standardize classNames in HomeHero using cn utility --- src/app/_components/HomeHero.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/app/_components/HomeHero.tsx b/src/app/_components/HomeHero.tsx index 1c1167c..1d3785f 100644 --- a/src/app/_components/HomeHero.tsx +++ b/src/app/_components/HomeHero.tsx @@ -3,6 +3,7 @@ import type { JSX } from "react"; import { useRouter } from "next/navigation"; import { Button } from "@/components/Button"; +import { cn } from "@/components/ui/utils"; /** * Home page hero section: heading, copy and primary CTAs. @@ -19,20 +20,20 @@ export function HomeHero(): JSX.Element { } return ( -
-
-

+
+
+

Track ghosting.
Share your experience.

-

+

Submit anonymous reports about companies that ghost job applicants. Help others know what to expect and hold companies accountable.

-
+
-

+

Reports are anonymous. We store only minimal, non-identifiable metadata and use salted hashes of IP addresses for rate limiting instead of storing raw IP data.

From fa85620ebff96d8ba9bed6e0f4472e60205d7662 Mon Sep 17 00:00:00 2001 From: icedmist Date: Fri, 17 Apr 2026 11:00:00 +0100 Subject: [PATCH 2/3] refactor: apply cn utility for consistent class management in HomeStatsPanel --- src/app/_components/HomeStatsPanel.tsx | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/app/_components/HomeStatsPanel.tsx b/src/app/_components/HomeStatsPanel.tsx index 619f3a8..c58cd8d 100644 --- a/src/app/_components/HomeStatsPanel.tsx +++ b/src/app/_components/HomeStatsPanel.tsx @@ -7,6 +7,7 @@ import { TrendingUp } from "lucide-react"; import { Card } from "@/components/Card"; import { StatsCard } from "@/components/StatsCard"; import { useReportsStats } from "@/app/_hooks/useReportsStats"; +import { cn } from "@/components/ui/utils"; /** * Home page stats panel. @@ -47,9 +48,9 @@ export function HomeStatsPanel(): JSX.Element { : "Most reported this week"; return ( -