Skip to content

Commit

Permalink
The project supports connection between positions
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitardanailov committed Nov 20, 2023
1 parent 2ab1985 commit e43983b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/website/src/app/(home)/components/Experience.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use client'

import TargetBlankLink from '@/components/TargetBlankLink'
import PositionLink from './PositionLink'
import {listStyle} from './shared'

const conttainerClassName = 'mx-2'
Expand All @@ -11,7 +12,11 @@ const Contractor = () => {
<section>Remote B2B Contractor (2018 - present)</section>
<ul className={listStyle}>
<li>
Full Stack Engineer,{' '}
<PositionLink
sufix="full-stack-engineer-collinson"
position="Full Stack Engineer"
/>
,{' '}
<TargetBlankLink
title="Full Stack Engineer"
text="Collinson group"
Expand Down
23 changes: 23 additions & 0 deletions apps/website/src/app/(home)/components/PositionLink.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
'use client'

import Link from 'next/link'
import {FC} from 'react'
import {Keyword} from '@/components/SEO'

export interface Props {
position: string
sufix: string
}

const PositionLink: FC<Props> = ({position, sufix}) => {
const href = '/positions/' + sufix
const className = 'hover:underline'

return (
<Link href={href} className={className} title={position}>
<Keyword word={position} />
</Link>
)
}

export default PositionLink

1 comment on commit e43983b

@vercel
Copy link

@vercel vercel bot commented on e43983b Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

portfolio-website – ./apps/website

ddanailov.dev
portfolio-website-git-main-dimityrdanailov.vercel.app
portfolio-website-dimityrdanailov.vercel.app

Please sign in to comment.