Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f515164
feat: added types for regionPage and vacancyCard
ShaganKonstantin Sep 19, 2025
b12d69b
added handlers for filter, experience and region
ShaganKonstantin Sep 22, 2025
6bfbe2a
rewrote the whole component. New logic added up to render part
ShaganKonstantin Sep 22, 2025
19c10e8
feat: added card w/ analytics
ShaganKonstantin Sep 23, 2025
6e31d24
feat:completed filters
ShaganKonstantin Sep 23, 2025
6766064
feat:added region accumulating fn
ShaganKonstantin Sep 23, 2025
fa2096b
feat:adapted vacanceCard for mobiles
ShaganKonstantin Sep 24, 2025
34c3b2b
added key to vacance card
ShaganKonstantin Sep 24, 2025
29e3976
feat:added vacancy dynamics chart
ShaganKonstantin Sep 24, 2025
408dfdd
feat:finished diagram
ShaganKonstantin Sep 24, 2025
04d9d6e
deleted irrelevant imports from regionPage, replaced VacancyWithDynam…
ShaganKonstantin Sep 25, 2025
f91de7b
amended types
ShaganKonstantin Sep 25, 2025
a983e01
regionPage left
ShaganKonstantin Sep 25, 2025
cba209a
fixed chart display if there are no vacancies
ShaganKonstantin Sep 26, 2025
cda0c28
completed refactoring
ShaganKonstantin Sep 26, 2025
e95b0aa
mantined VacancyCard
ShaganKonstantin Oct 6, 2025
52a425f
mantined chart component
ShaganKonstantin Oct 7, 2025
b45c6ac
mantined VacancyFilter
ShaganKonstantin Oct 8, 2025
f998fc4
adapted the chart width for mobiles
ShaganKonstantin Oct 13, 2025
392e5f4
mantined regionPage, added filter-clear button
ShaganKonstantin Oct 14, 2025
8ff3dd8
replaced testData to shared
ShaganKonstantin Oct 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
272 changes: 271 additions & 1 deletion app/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"react-redux": "^9.2.0",
"react-router-dom": "^6.30.1",
"react-social-icons": "^6.24.0",
"recharts": "^3.2.1",
"tailwind-merge": "^3.3.0",
"tailwindcss": "^4.1.11"
},
Expand Down
3 changes: 3 additions & 0 deletions app/frontend/src/components/pages/HomePage.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import { RegionPage } from "./region";

const HomePage = () => {
return (
<div>
<h1 className="text-3xl font-bold">Главная</h1>
<p className="mt-4">Информация.</p>
<RegionPage />
</div>
);
};
Expand Down
1 change: 1 addition & 0 deletions app/frontend/src/components/pages/region/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { RegionPage } from './ui/regionPage'
19 changes: 19 additions & 0 deletions app/frontend/src/components/pages/region/model/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import type { VacancyWithExperience } from "../../../vacancy/model/types";

export interface RegionPageProps {
region: string;
vacancies: VacancyWithExperience[];
experienceOptions: string[];
countryRegions: string[];
filters: {
experience: string;
region: string;
query: string;
};
pagination: {
currentPage: number;
lastPage: number;
nextPageUrl: string | null;
prevPageUrl: string | null;
}
}
Loading