From 57211acb325d87ef14cbcf8371fac7db0e145ebc Mon Sep 17 00:00:00 2001 From: Unchanted Date: Tue, 23 Sep 2025 13:59:48 +0530 Subject: [PATCH] feat(student): added footer and changed css in job client --- apps/student/app/(main)/jobs/JobClient.tsx | 134 +++++++++------------ apps/student/app/(main)/layout.tsx | 8 +- apps/student/components/footer.tsx | 23 ++++ 3 files changed, 83 insertions(+), 82 deletions(-) create mode 100644 apps/student/components/footer.tsx diff --git a/apps/student/app/(main)/jobs/JobClient.tsx b/apps/student/app/(main)/jobs/JobClient.tsx index 6daa4ca..c389007 100644 --- a/apps/student/app/(main)/jobs/JobClient.tsx +++ b/apps/student/app/(main)/jobs/JobClient.tsx @@ -195,12 +195,13 @@ export default function JobsPage({

- {/* Search and Filter Section */} - - -
-
-
+ {/* Search and Stats Row */} +
+ {/* Search Bar - Takes 2 columns */} + + +
+
handleSearch(e.target.value)} />
+
+ +
+
+ +
-
- -
-
- -
-
- {(searchTerm || - (locationFilter && locationFilter !== 'all') || - (jobTypeFilter && jobTypeFilter !== 'all')) && ( -
- - - {filteredJobs.length} of {allJobs.length} jobs - -
- )} - - + {(searchTerm || + (locationFilter && locationFilter !== 'all') || + (jobTypeFilter && jobTypeFilter !== 'all')) && ( +
+ + + {filteredJobs.length} of {allJobs.length} jobs + +
+ )} + + - {/* Stats */} -
+ {/* Total Jobs Stat - Takes 1 column */}
@@ -271,6 +270,7 @@ export default function JobsPage({ + {/* Active Companies Stat - Takes 1 column */}
@@ -284,32 +284,6 @@ export default function JobsPage({
- - - -
-
-

Remote Jobs

-

- {allJobs.filter((job) => job.location.toLowerCase().includes('remote')).length} -

-
- -
-
-
- - - -
-
-

Avg Salary

-

$28/hr

-
- -
-
-
{/* Tabs */} diff --git a/apps/student/app/(main)/layout.tsx b/apps/student/app/(main)/layout.tsx index 8d5642a..96888a9 100644 --- a/apps/student/app/(main)/layout.tsx +++ b/apps/student/app/(main)/layout.tsx @@ -21,6 +21,7 @@ import { BookOpen } from 'lucide-react'; import { signOutAction } from './actions'; +import Footer from '@/components/footer'; const navLinks = [ { @@ -75,7 +76,7 @@ export default function MainLayout({ children }: { children: React.ReactNode }) }; return ( -
+
{/* Modern Student Navbar */}
{/* Main Content */} -
+
{children}
+ {/* Footer */} + + ); +}