fix LandingTracker and add routes

This commit is contained in:
Никита Губарь 2024-07-31 15:05:52 +03:00
parent 9771d2a602
commit 5cdf072551
8 changed files with 57 additions and 14 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -23,6 +23,10 @@
padding-right: 5px; padding-right: 5px;
} }
.summary__person {
margin: 0 10px 0 0;
}
.summary__skill { .summary__skill {
color: #6f6f6f; color: #6f6f6f;
font-size: 14px; font-size: 14px;

View File

@ -12,7 +12,11 @@ import ellipseGreen from "assets/images/landingTracker/ellipseGreen.svg";
import cat from "assets/images/landingTracker/landingCat.webp"; import cat from "assets/images/landingTracker/landingCat.webp";
import flag from "assets/images/landingTracker/projectsFlag.webp"; import flag from "assets/images/landingTracker/projectsFlag.webp";
import questionMark from "assets/images/landingTracker/questionMark.svg"; import questionMark from "assets/images/landingTracker/questionMark.svg";
import reportingSystem from "assets/images/landingTracker/reportingSystem.webp";
import searchIT from "assets/images/landingTracker/searchIT.webp";
import systemControlGit from "assets/images/landingTracker/systemControlGit.webp";
import target from "assets/images/landingTracker/target.webp"; import target from "assets/images/landingTracker/target.webp";
import taskManagement from "assets/images/landingTracker/taskManagement.webp";
import trackerCup from "assets/images/landingTracker/trackerCup.webp"; import trackerCup from "assets/images/landingTracker/trackerCup.webp";
import trackerPreview from "assets/images/landingTracker/trackerPreview.webp"; import trackerPreview from "assets/images/landingTracker/trackerPreview.webp";
import trackerSign from "assets/images/landingTracker/trackerSign.webp"; import trackerSign from "assets/images/landingTracker/trackerSign.webp";
@ -22,20 +26,20 @@ import "./LandingTracker.scss";
export const LandingTracker = () => { export const LandingTracker = () => {
const goals = [ const goals = [
{ {
miniInfo: "Окунитесь в экосистему ITGUIL", miniInfo: "Простота использования",
info: "<span>уточнение</span> деталей и <span>обсуждение</span> условий с менеджером ITGUILD" info: "<span>интуитивно понятный интерфейс</span> делает работу с нашим сервисом легкой и приятной"
}, },
{ {
miniInfo: "Окунитесь в экосистему ITGUIL", miniInfo: "Гибкость и адаптивность",
info: "<span>подписание договора</span> без обязательств оплаты на данном этапе" info: "мы предлогаем <span>инструменты, которые подойдут</span> именно вашему проекту"
}, },
{ {
miniInfo: "Окунитесь в экосистему ITGUIL", miniInfo: "Совместная работа без границ",
info: "<span>формирование</span> команды или подбор отдельных специалистов под требования клиентов" info: "сотрудничайте, общайтесь и делитесь ресурсами <span>в реальном времени, в любой точке мира</span>"
}, },
{ {
miniInfo: "Окунитесь в экосистему ITGUIL", miniInfo: "Безопасность и надежность",
info: "<span>интеграция специалистов</span> в команду клиента, ежедневная отчетность под контролем менеджера ITGUILD" info: "постоянный мониторинг системы <span>позволяет обеспечивать безопасность</span> ваших данных"
} }
]; ];
@ -48,22 +52,22 @@ export const LandingTracker = () => {
{ {
name: "<span>Найти</span> работу <br/> в IT", name: "<span>Найти</span> работу <br/> в IT",
path: "/stack", path: "/stack",
img: cat img: searchIT
}, },
{ {
name: "<span>Система</span> контроля <br/> версий GIT", name: "<span>Система</span> контроля <br/> версий GIT",
path: "/stack", path: "/stack",
img: cat img: systemControlGit
}, },
{ {
name: "<span>Управление</span> <br/> задачами", name: "<span>Управление</span> <br/> задачами",
path: "/landing-tracker", path: "/landing-tracker",
img: cat img: taskManagement
}, },
{ {
name: "<span>Система</span> для <br/> отчётности", name: "<span>Система</span> для <br/> отчётности",
path: "/stack", path: "/stack",
img: cat img: reportingSystem
}, },
{ {
name: "Все наши <br/> предложения", name: "Все наши <br/> предложения",

View File

@ -1,6 +1,11 @@
import React from "react"; import React from "react";
import { Route, Routes } from "react-router-dom"; import { Navigate, Route, Routes } from "react-router-dom";
import { Auth } from "@pages/Auth/Auth";
import { CompanyInfo } from "@pages/CompanyInfo/CompanyInfo";
import { Forms } from "@pages/Forms/Forms";
import { Landing } from "@pages/Landing/Landing";
import { LandingTracker } from "@pages/LandingTracker/LandingTracker";
import { OpenRequest } from "@pages/OpenRequests/OpenRequest"; import { OpenRequest } from "@pages/OpenRequests/OpenRequest";
import { PartnerSettings } from "@pages/PartnerSettings/PartnerSettings"; import { PartnerSettings } from "@pages/PartnerSettings/PartnerSettings";
import { PartnerTreaties } from "@pages/PartnerTreaties/PartnerTreaties"; import { PartnerTreaties } from "@pages/PartnerTreaties/PartnerTreaties";
@ -10,11 +15,14 @@ import { ProjectTracker } from "@pages/ProjectTracker/ProjectTracker";
import { PassingTests } from "@pages/Quiz/PassingTests"; import { PassingTests } from "@pages/Quiz/PassingTests";
import { QuizPage } from "@pages/Quiz/QuizPage"; import { QuizPage } from "@pages/Quiz/QuizPage";
import { QuizReportPage } from "@pages/Quiz/QuizReportPage"; import { QuizReportPage } from "@pages/Quiz/QuizReportPage";
import { Stack } from "@pages/Stack/Stack";
import Statistics from "@pages/Statistics/Statistics"; import Statistics from "@pages/Statistics/Statistics";
import { Summary } from "@pages/Summary/Summary"; import { Summary } from "@pages/Summary/Summary";
import { Tracker } from "@pages/Tracker/Tracker"; import { Tracker } from "@pages/Tracker/Tracker";
import { TrackerIntro } from "@pages/TrackerIntro/TrackerIntro";
import { Vacancy } from "@pages/Vacancy/Vacancy"; import { Vacancy } from "@pages/Vacancy/Vacancy";
import { ViewReport } from "@pages/ViewReport/ViewReport"; import { ViewReport } from "@pages/ViewReport/ViewReport";
import { WelcomePage } from "@pages/WelcomePage/WelcomePage";
import TicketFullScreen from "@components/Modal/Tracker/TicketFullScreen/TicketFullScreen"; import TicketFullScreen from "@components/Modal/Tracker/TicketFullScreen/TicketFullScreen";
import { ProfileCalendar } from "@components/ProfileCalendar/ProfileCalendar"; import { ProfileCalendar } from "@components/ProfileCalendar/ProfileCalendar";
@ -23,8 +31,17 @@ import { ReportForm } from "@components/ReportForm/ReportForm";
export const DeveloperPage = () => { export const DeveloperPage = () => {
return ( return (
<Routes> <Routes>
<Route exact path="/tracker/task/:id" element={<TicketFullScreen />} /> <Route exact path="/auth" element={<Auth />} />
<Route exact path="/welcome-page" element={<WelcomePage />} />
<Route exact path="/stack" element={<Stack />} />
<Route exact path="/landing-tracker" element={<LandingTracker />} />
<Route exact path="/" element={<Landing />} />
<Route path="*" element={<Navigate to="/auth" replace />} />
<Route exact path="/tracker-intro" element={<TrackerIntro />} />
<Route exact path="/forms" element={<Forms />} />
<Route exact path="/company" element={<CompanyInfo />} />
<Route exact path="/tracker/task/:id" element={<TicketFullScreen />} />
<Route <Route
exact exact
path="/tracker/project/:id/task/:taskId" path="/tracker/project/:id/task/:taskId"

View File

@ -1,8 +1,13 @@
import React from "react"; import React from "react";
import { Navigate, Route, Routes } from "react-router-dom"; import { Navigate, Route, Routes } from "react-router-dom";
import { Auth } from "@pages/Auth/Auth";
import { CompanyInfo } from "@pages/CompanyInfo/CompanyInfo";
import { FormPage } from "@pages/FormPage/FormPage"; import { FormPage } from "@pages/FormPage/FormPage";
import { Forms } from "@pages/Forms/Forms";
import { Home } from "@pages/Home/Home"; import { Home } from "@pages/Home/Home";
import { Landing } from "@pages/Landing/Landing";
import { LandingTracker } from "@pages/LandingTracker/LandingTracker";
import { PartnerAddRequest } from "@pages/PartnerAddRequest/PartnerAddRequest"; import { PartnerAddRequest } from "@pages/PartnerAddRequest/PartnerAddRequest";
import { PartnerBid } from "@pages/PartnerBid/PartnerBid"; import { PartnerBid } from "@pages/PartnerBid/PartnerBid";
import { PartnerEmployeeReport } from "@pages/PartnerEmployeeReport/PartnerEmployeeReport"; import { PartnerEmployeeReport } from "@pages/PartnerEmployeeReport/PartnerEmployeeReport";
@ -13,9 +18,12 @@ import { PartnerTreaties } from "@pages/PartnerTreaties/PartnerTreaties";
import { PartnerCategories } from "@pages/PartnerСategories/PartnerСategories"; import { PartnerCategories } from "@pages/PartnerСategories/PartnerСategories";
import { Profile } from "@pages/Profile/Profile"; import { Profile } from "@pages/Profile/Profile";
import { ProjectTracker } from "@pages/ProjectTracker/ProjectTracker"; import { ProjectTracker } from "@pages/ProjectTracker/ProjectTracker";
import { Stack } from "@pages/Stack/Stack";
import Statistics from "@pages/Statistics/Statistics"; import Statistics from "@pages/Statistics/Statistics";
import { Tracker } from "@pages/Tracker/Tracker"; import { Tracker } from "@pages/Tracker/Tracker";
import { TrackerIntro } from "@pages/TrackerIntro/TrackerIntro";
import { ViewReport } from "@pages/ViewReport/ViewReport"; import { ViewReport } from "@pages/ViewReport/ViewReport";
import { WelcomePage } from "@pages/WelcomePage/WelcomePage";
import { Calendar } from "@components/Calendar/Calendar"; import { Calendar } from "@components/Calendar/Calendar";
import { Candidate } from "@components/Candidate/Candidate"; import { Candidate } from "@components/Candidate/Candidate";
@ -23,6 +31,16 @@ import { Candidate } from "@components/Candidate/Candidate";
export const PartnerPage = () => { export const PartnerPage = () => {
return ( return (
<Routes> <Routes>
<Route exact path="/auth" element={<Auth />} />
<Route exact path="/welcome-page" element={<WelcomePage />} />
<Route exact path="/stack" element={<Stack />} />
<Route exact path="/landing-tracker" element={<LandingTracker />} />
<Route exact path="/" element={<Landing />} />
<Route path="*" element={<Navigate to="/auth" replace />} />
<Route exact path="/tracker-intro" element={<TrackerIntro />} />
<Route exact path="/forms" element={<Forms />} />
<Route exact path="/company" element={<CompanyInfo />} />
<Route exact path="/candidate/:id" element={<Candidate />} /> <Route exact path="/candidate/:id" element={<Candidate />} />
<Route exact path="/candidate/:id/form" element={<FormPage />} /> <Route exact path="/candidate/:id/form" element={<FormPage />} />
<Route path="/:userId/calendar" element={<Calendar />} /> <Route path="/:userId/calendar" element={<Calendar />} />