diff --git a/src/app/jobs/page.tsx b/src/app/jobs/page.tsx index 33077d3f..3d2cd097 100644 --- a/src/app/jobs/page.tsx +++ b/src/app/jobs/page.tsx @@ -1,4 +1,5 @@ import AllJobs from '@/components/all-jobs'; +import Loader from '@/components/loader'; import JobFilters from '@/layouts/job-filters'; import JobsHeader from '@/layouts/jobs-header'; import { JobQuerySchemaType } from '@/lib/validators/jobs.validator'; @@ -9,7 +10,13 @@ const page = async ({ searchParams }: { searchParams: JobQuerySchemaType }) => {
- Loading...
}> + + + + } + > diff --git a/src/components/loader.tsx b/src/components/loader.tsx new file mode 100644 index 00000000..639e2389 --- /dev/null +++ b/src/components/loader.tsx @@ -0,0 +1,28 @@ +interface LoaderParams { + size?: number; +} + +const Loader = ({ size = 8 }: LoaderParams) => { + return ( + <> + + + ); +}; + +export default Loader;