diff --git a/app/work-experience/komercni-banka/page.tsx b/app/work-experience/komercni-banka/page.tsx index fcdd13d2..7e017e50 100644 --- a/app/work-experience/komercni-banka/page.tsx +++ b/app/work-experience/komercni-banka/page.tsx @@ -43,9 +43,9 @@ const ProjectWorkKomercniBanka = () => { pageLinkPrevious="/work-experience/smartsupp-dashboard" pageNamePrevious="Smartsupp Dashboard" dataTestIDPrevious="page-navigation-previous-smartsupp-dashboard" - pageLinkNext="/work-experience/smartsupp-web" - pageNameNext="Smartsupp Web" - dataTestIDNext="page-navigation-next-smartsupp-web" + pageLinkNext="/work-experience/kooperativa" + pageNameNext="Kooperativa" + dataTestIDNext="page-navigation-next-kooperativa" /> } /> diff --git a/app/work-experience/kooperativa/page.tsx b/app/work-experience/kooperativa/page.tsx new file mode 100644 index 00000000..1b491ad1 --- /dev/null +++ b/app/work-experience/kooperativa/page.tsx @@ -0,0 +1,57 @@ +import NextPageNavigation from '@/components/NextPageNavigation' +import { ProjectPageLayoutWrapper } from '@/components/layout/projectPage/ProjectPageLayoutWrapper' +import { sections } from '@/data/projects/work/kooperativa' +import { projectsWorkReact } from '@/data/projects/work/projectsOverview' +import { ID, PAGES_URL } from '@/utils/constants' +import { BreadCrumbsType } from '@/utils/types' +import { Metadata } from 'next' + +export const metadata: Metadata = { + title: 'Kooperativa | Daniel Krsiak - React Developer', + description: 'I worked on an application for managing insurance policies for citizens property and products.', + keywords: [ + 'Daniel Krsiak', + 'Kooperativa', + 'Insurance company app', + 'React Developer', + 'JavaScript', + 'TypeScript', + 'React', + 'Redux', + 'Tailwind CSS', + 'Figma', + 'Storybook', + ], +} + +const breadCrumbs: BreadCrumbsType = { + linkLevel1: '/work-experience', + textLevel1: 'Work Experience', + linkLevel2: '/work-experience/kooperativa', + textLevel2: 'Kooperativa', +} + +const ProjectWorkKooperativa = () => { + return ( + + } + /> + ) +} + +export default ProjectWorkKooperativa diff --git a/app/work-experience/smartsupp-web/page.tsx b/app/work-experience/smartsupp-web/page.tsx index 60f4a73d..d6cd5d89 100644 --- a/app/work-experience/smartsupp-web/page.tsx +++ b/app/work-experience/smartsupp-web/page.tsx @@ -41,9 +41,9 @@ const ProjectWorkSmartsuppWeb = () => { sections={sections} nextPageNavigation={ { +const HeaderSection = ({ title, role, years, company, goBackLink, sectionID }: HeaderSectionProps) => { return ( {title} {role} - {years && {` · ${years}`}} + {years && {` · ${years} · ${company}`}} - + { - const { title, role, years, description, mySkills, customers, projectLinks, imageShowcase } = projectData + const { title, role, years, company, description, mySkills, customers, projectLinks, imageShowcase } = projectData return ( { + return `${URL_WORK_EXPERIENCE}/${company}` +} + export const PAGES_URL = { home: '/', aboutMe: '/about-me', work: { main: URL_WORK_EXPERIENCE, + kooperativa: generateUrlWorkExperience('kooperativa'), smartsupp: { - dashboard: `${URL_WORK_EXPERIENCE}/smartsupp-dashboard`, - web: `${URL_WORK_EXPERIENCE}/smartsupp-web`, - help: `${URL_WORK_EXPERIENCE}/smartsupp-help`, + dashboard: generateUrlWorkExperience('smartsupp-dashboard'), + web: generateUrlWorkExperience('smartsupp-web'), + help: generateUrlWorkExperience('smartsupp-help'), }, - komercniBanka: `${URL_WORK_EXPERIENCE}/komercni-banka`, - groupon: `${URL_WORK_EXPERIENCE}/groupon`, - moravia: `${URL_WORK_EXPERIENCE}/moravia`, + komercniBanka: generateUrlWorkExperience('komercni-banka'), + groupon: generateUrlWorkExperience('groupon'), + moravia: generateUrlWorkExperience('moravia'), }, personal: { main: URL_PERSONAL_PROJECTS, diff --git a/utils/types.ts b/utils/types.ts index effb071c..62ca45ca 100644 --- a/utils/types.ts +++ b/utils/types.ts @@ -43,6 +43,7 @@ export type HeaderSectionProps = { sectionID: string role: string years?: string | undefined + company?: string goBackLink: GoBackLinkType }
- + { - const { title, role, years, description, mySkills, customers, projectLinks, imageShowcase } = projectData + const { title, role, years, company, description, mySkills, customers, projectLinks, imageShowcase } = projectData return ( { + return `${URL_WORK_EXPERIENCE}/${company}` +} + export const PAGES_URL = { home: '/', aboutMe: '/about-me', work: { main: URL_WORK_EXPERIENCE, + kooperativa: generateUrlWorkExperience('kooperativa'), smartsupp: { - dashboard: `${URL_WORK_EXPERIENCE}/smartsupp-dashboard`, - web: `${URL_WORK_EXPERIENCE}/smartsupp-web`, - help: `${URL_WORK_EXPERIENCE}/smartsupp-help`, + dashboard: generateUrlWorkExperience('smartsupp-dashboard'), + web: generateUrlWorkExperience('smartsupp-web'), + help: generateUrlWorkExperience('smartsupp-help'), }, - komercniBanka: `${URL_WORK_EXPERIENCE}/komercni-banka`, - groupon: `${URL_WORK_EXPERIENCE}/groupon`, - moravia: `${URL_WORK_EXPERIENCE}/moravia`, + komercniBanka: generateUrlWorkExperience('komercni-banka'), + groupon: generateUrlWorkExperience('groupon'), + moravia: generateUrlWorkExperience('moravia'), }, personal: { main: URL_PERSONAL_PROJECTS, diff --git a/utils/types.ts b/utils/types.ts index effb071c..62ca45ca 100644 --- a/utils/types.ts +++ b/utils/types.ts @@ -43,6 +43,7 @@ export type HeaderSectionProps = { sectionID: string role: string years?: string | undefined + company?: string goBackLink: GoBackLinkType }