|
|
@ -1,6 +1,7 @@
|
|
|
|
|
|
|
|
import Link from 'next/link';
|
|
|
|
import { useState } from 'react';
|
|
|
|
import { useState } from 'react';
|
|
|
|
|
|
|
|
import { Banner } from '@tih/ui';
|
|
|
|
|
|
|
|
|
|
|
|
import OffersTitle from '~/components/offers/OffersTitle';
|
|
|
|
|
|
|
|
import OffersTable from '~/components/offers/table/OffersTable';
|
|
|
|
import OffersTable from '~/components/offers/table/OffersTable';
|
|
|
|
import CompaniesTypeahead from '~/components/shared/CompaniesTypeahead';
|
|
|
|
import CompaniesTypeahead from '~/components/shared/CompaniesTypeahead';
|
|
|
|
import JobTitlesTypeahead from '~/components/shared/JobTitlesTypahead';
|
|
|
|
import JobTitlesTypeahead from '~/components/shared/JobTitlesTypahead';
|
|
|
@ -11,20 +12,34 @@ export default function OffersHomePage() {
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<main className="flex-1 overflow-y-auto">
|
|
|
|
<main className="flex-1 overflow-y-auto">
|
|
|
|
<div className="grid-rows grid h-1/2 bg-slate-100">
|
|
|
|
<Banner size="xs">
|
|
|
|
<OffersTitle />
|
|
|
|
⭐ Check if your offer is competitive by submitting it{' '}
|
|
|
|
|
|
|
|
<Link className="underline" href="/offers/submit">
|
|
|
|
|
|
|
|
here
|
|
|
|
|
|
|
|
</Link>
|
|
|
|
|
|
|
|
. ⭐
|
|
|
|
|
|
|
|
</Banner>
|
|
|
|
|
|
|
|
<div className="space-y-6 bg-stone-100 py-16">
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<h1 className="text-primary-600 text-center text-5xl font-bold">
|
|
|
|
|
|
|
|
Tech Offers Repo
|
|
|
|
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className="mt-4 text-center text-2xl text-slate-600">
|
|
|
|
|
|
|
|
Find out how good your offer is. Discover how others got their
|
|
|
|
|
|
|
|
offers.
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div className="flex items-start justify-center">
|
|
|
|
<div className="flex items-start justify-center">
|
|
|
|
<div className="mt-4 flex items-center">
|
|
|
|
<div className="mt-4 flex items-center space-x-4 text-slate-500">
|
|
|
|
Viewing offers for
|
|
|
|
<span>Viewing offers for</span>
|
|
|
|
<div className="mx-4">
|
|
|
|
|
|
|
|
<JobTitlesTypeahead
|
|
|
|
<JobTitlesTypeahead
|
|
|
|
isLabelHidden={true}
|
|
|
|
isLabelHidden={true}
|
|
|
|
placeHolder="Software Engineer"
|
|
|
|
placeHolder="Software Engineer"
|
|
|
|
onSelect={({ value }) => setjobTitleFilter(value)}
|
|
|
|
onSelect={({ value }) => setjobTitleFilter(value)}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<span>in</span>
|
|
|
|
in
|
|
|
|
|
|
|
|
<div className="ml-4">
|
|
|
|
|
|
|
|
<CompaniesTypeahead
|
|
|
|
<CompaniesTypeahead
|
|
|
|
isLabelHidden={true}
|
|
|
|
isLabelHidden={true}
|
|
|
|
placeHolder="All Companies"
|
|
|
|
placeHolder="All Companies"
|
|
|
@ -33,7 +48,6 @@ export default function OffersHomePage() {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className="flex justify-center bg-white pb-20 pt-10">
|
|
|
|
<div className="flex justify-center bg-white pb-20 pt-10">
|
|
|
|
<OffersTable
|
|
|
|
<OffersTable
|
|
|
|
companyFilter={companyFilter}
|
|
|
|
companyFilter={companyFilter}
|
|
|
|