-
- Display offers in
->>>>>>> ac2d047d ([offers][feat] integrate location for offer table and profile)
setCurrency(value)}
selectedCurrency={currency}
@@ -303,4 +290,4 @@ export default function OffersTable({
/>
);
-}
+}
\ No newline at end of file
diff --git a/apps/portal/src/components/offers/types.ts b/apps/portal/src/components/offers/types.ts
index e8a45b4c..f7698da1 100644
--- a/apps/portal/src/components/offers/types.ts
+++ b/apps/portal/src/components/offers/types.ts
@@ -3,30 +3,6 @@ import type { JobType } from '@prisma/client';
import type { MonthYear } from '~/components/shared/MonthYearPicker';
import type { Location } from '~/types/offers';
-<<<<<<< HEAD
-=======
-
-export const HOME_URL = '/offers';
-
-/*
- * Offer Profile
- */
-
-export const JobTypeLabel = {
- FULLTIME: 'Full-time',
- INTERN: 'Internship',
-};
-
-export enum EducationBackgroundType {
- Bachelor = 'Bachelor',
- Diploma = 'Diploma',
- Masters = 'Masters',
- PhD = 'PhD',
- Professional = 'Professional',
- Secondary = 'Secondary',
- SelfTaught = 'Self-taught',
-}
->>>>>>> ac2d047d ([offers][feat] integrate location for offer table and profile)
export type OffersProfilePostData = {
background: BackgroundPostData;
@@ -57,13 +33,6 @@ type ExperiencePostData = {
id?: string;
jobType?: string | null;
level?: string | null;
-<<<<<<< HEAD
-<<<<<<< HEAD
-=======
- location?: Location | null;
->>>>>>> ac2d047d ([offers][feat] integrate location for offer table and profile)
-=======
->>>>>>> a31230f7 ([offers][feat] Use city typeahead for location field)
monthlySalary?: Money | null;
title?: string | null;
totalCompensation?: Money | null;
@@ -172,4 +141,4 @@ export type CommentEntity = {
replyingToId: string;
userId: string;
username: string;
-};
+};
\ No newline at end of file
diff --git a/apps/portal/src/pages/offers/index.tsx b/apps/portal/src/pages/offers/index.tsx
index 6028db6e..232fd382 100644
--- a/apps/portal/src/pages/offers/index.tsx
+++ b/apps/portal/src/pages/offers/index.tsx
@@ -5,7 +5,6 @@ import { Banner } from '@tih/ui';
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
import OffersTable from '~/components/offers/table/OffersTable';
-import CitiesTypeahead from '~/components/shared/CitiesTypeahead';
import CompaniesTypeahead from '~/components/shared/CompaniesTypeahead';
import Container from '~/components/shared/Container';
import CountriesTypeahead from '~/components/shared/CountriesTypeahead';
@@ -13,22 +12,10 @@ import type { JobTitleType } from '~/components/shared/JobTitles';
import { JobTitleLabels } from '~/components/shared/JobTitles';
import JobTitlesTypeahead from '~/components/shared/JobTitlesTypahead';
-<<<<<<< HEAD
-<<<<<<< HEAD
import { useSearchParamSingle } from '~/utils/offers/useSearchParam';
export default function OffersHomePage() {
const [countryFilter, setCountryFilter] = useState('');
-=======
-import CitiesTypeahead from '../../components/shared/CitiesTypeahead';
-
-=======
->>>>>>> d6d25df3 ([offers][chore] fix import of cities typeahead)
-export default function OffersHomePage() {
- const [jobTitleFilter, setjobTitleFilter] = useState('software-engineer');
- const [companyFilter, setCompanyFilter] = useState('');
- const [cityFilter, setCityFilter] = useState('');
->>>>>>> ac2d047d ([offers][feat] integrate location for offer table and profile)
const { event: gaEvent } = useGoogleAnalytics();
const [selectedCompanyName, setSelectedCompanyName] =
@@ -48,7 +35,6 @@ export default function OffersHomePage() {
. ⭐
-<<<<<<< HEAD
@@ -66,23 +52,6 @@ export default function OffersHomePage() {
});
} else {
setCountryFilter('');
-=======
-
-
-
-
- {
- if (option) {
- setCityFilter(option.value);
- gaEvent({
- action: `offers.table_filter_city_${option.value}`,
- category: 'engagement',
- label: 'Filter by city',
- });
->>>>>>> ac2d047d ([offers][feat] integrate location for offer table and profile)
}
}}
/>
@@ -162,18 +131,12 @@ export default function OffersHomePage() {
>>>>>> ac2d047d ([offers][feat] integrate location for offer table and profile)
/>
);
-}
+}
\ No newline at end of file