From 32c39d9bdc142ceb88b7095f8c631003ecc73a35 Mon Sep 17 00:00:00 2001 From: JM-Flores Date: Tue, 13 Jan 2026 00:59:25 +0800 Subject: [PATCH 1/2] lay out categories horizontally on large screens --- .../careers/_components/JobListings.tsx | 118 +++++++++--------- 1 file changed, 60 insertions(+), 58 deletions(-) diff --git a/apps/codebility/app/(marketing)/careers/_components/JobListings.tsx b/apps/codebility/app/(marketing)/careers/_components/JobListings.tsx index 3b10fa17d..b2619aa3c 100644 --- a/apps/codebility/app/(marketing)/careers/_components/JobListings.tsx +++ b/apps/codebility/app/(marketing)/careers/_components/JobListings.tsx @@ -49,7 +49,7 @@ export default function JobListings() { setLoading(true); const supabase = createClientClientComponent(); - const { data, error } = await supabase + const { data, error } = await supabase! .from('job_listings') .select('*') .eq('status', 'active') @@ -129,72 +129,74 @@ export default function JobListings() {

- {/* Category Filters */} +{/* Category Filters */}
-

Filter by Category

-
- {/* Department Filter */} -
- -
- {categories.map((category) => ( - - ))} +

Filter by Category

+
+
+ {/* Department Filter */} +
+ +
+ {categories.map((category) => ( + + ))} +
-
- {/* Job Type Filter */} -
- -
- {types.map((type) => ( - - ))} + {/* Job Type Filter */} +
+ +
+ {types.map((type) => ( + + ))} +
-
- {/* Experience Level Filter */} -
- -
- {levels.map((level) => ( - - ))} + {/* Experience Level Filter */} +
+ +
+ {levels.map((level) => ( + + ))} +
{/* Results Count */} -
+
{filteredJobs.length} position{filteredJobs.length !== 1 ? 's' : ''} found From 1353c8a95902d842c4bd1eec71a4ca9ccc26ca55 Mon Sep 17 00:00:00 2001 From: Guo-Alyssa-Lyn Date: Wed, 14 Jan 2026 11:08:09 +0800 Subject: [PATCH 2/2] Made little changes on adjustments. --- .../app/(marketing)/careers/_components/JobListings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/codebility/app/(marketing)/careers/_components/JobListings.tsx b/apps/codebility/app/(marketing)/careers/_components/JobListings.tsx index b2619aa3c..6ebbc1629 100644 --- a/apps/codebility/app/(marketing)/careers/_components/JobListings.tsx +++ b/apps/codebility/app/(marketing)/careers/_components/JobListings.tsx @@ -155,7 +155,7 @@ export default function JobListings() {
{/* Job Type Filter */} -
+
{types.map((type) => (