@@ -4,7 +4,6 @@ import LocalSearchbar from "@/components/shared/search/LocalSearchbar";
44import JobFilters from "@/components/shared/Filters" ;
55import NoResult from "@/components/shared/NoResult" ;
66import Pagination from "@/components/shared/Pagination" ;
7- import Switcher from "@/components/shared/Switcher" ;
87import JobCard from "@/components/cards/JobCard" ;
98
109import { getCountryFilters , getJobs } from "@/lib/actions/job.action" ;
@@ -22,14 +21,13 @@ const Page = async ({ searchParams }: SearchParamsProps) => {
2221 location : searchParams . location ,
2322 remote : searchParams . remote ,
2423 page : searchParams . page ? + searchParams . page : 1 ,
24+ wage : searchParams . wage ,
25+ skills : searchParams . skills ,
2526 } ) ;
2627
2728 return (
2829 < >
29- < div className = "flex flex-row items-center" >
30- < h1 className = "h1-bold text-dark100_light900" > Jobs</ h1 >
31- < Switcher />
32- </ div >
30+ < h1 className = "h1-bold text-dark100_light900" > Jobs</ h1 >
3331
3432 < div className = "mt-11 flex justify-between gap-5 max-sm:flex-col sm:items-center" >
3533 < LocalSearchbar
@@ -48,7 +46,7 @@ const Page = async ({ searchParams }: SearchParamsProps) => {
4846 ) }
4947 </ div >
5048
51- < JobFilters filters = { JobPageFilters } />
49+ < JobFilters filters = { JobPageFilters } jobFilter />
5250
5351 < div className = "mt-10 flex w-full flex-col gap-6" >
5452 { result . data . length > 0 ? (
@@ -78,12 +76,10 @@ const Page = async ({ searchParams }: SearchParamsProps) => {
7876 ) )
7977 ) : (
8078 < NoResult
81- title = "No Questions Found"
82- description = "Be the first to break the silence! 🚀 Ask a Question and kickstart the
83- discussion. our query could be the next big thing others learn from. Get
84- involved! 💡"
85- link = "/ask-question"
86- linkTitle = "Ask a Question"
79+ title = "No Jobs Found"
80+ description = "We couldn't find any jobs matching your search 🤔"
81+ link = "/jobs"
82+ linkTitle = "Explore Jobs"
8783 />
8884 ) }
8985 </ div >
0 commit comments