Skip to content

Commit

Permalink
The project has a new page: positions
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitardanailov committed Nov 22, 2023
1 parent 8a34a9f commit 212f91c
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 0 deletions.
32 changes: 32 additions & 0 deletions apps/website/src/app/positions/Content.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
'use client'

import Collinson from './full-stack-engineer-collinson/Content'
import SiemensEnergy from './blockchain-architect-siemens-energy/Content'
import Propine from './blockchain-staff-engineer-propine/Content'

import styled from 'styled-components'

const Divider = styled.span`
position: relative;
display: block;
margin: 0 auto;
width: 100%;
margin-top: 1rem;
margin-bottom: 1.5rem;
`

const Content = () => {
return (
<>
<Collinson />
<Divider />
<SiemensEnergy />
<Divider />
<Propine />
</>
)
}

export default Content
17 changes: 17 additions & 0 deletions apps/website/src/app/positions/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import layout from '@/components/NextjsLayout'
import generateMetadata, {InternalMetadata} from '@/seo/metadata'

const title = 'Ex CTO, Staff Engineer, Architect and Engineering manager'
const description =
'13+ years experience. My portfolio includes clients located: USA, Singapore, Israel, Germany, Great Britain, Switzerland, United Arab Emirates, Indonesia;'
const canonical = '/positions'

const props: InternalMetadata = {
title,
description,
canonical,
}

export const metadata = generateMetadata(props)

export default layout
37 changes: 37 additions & 0 deletions apps/website/src/app/positions/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
'use client'

import type {NextPage} from 'next'

import Content from './Content'

import Layout from '@/components/MainLayout'
import LeftDrawer from '@/components/Drawers/LeftDrawer'
import {menuItems} from '@/menu'

import {drawerWidth} from '@/config/layout'
import {LayoutProvider} from '@/providers'

const Title = () => {
return <h1>Ex CTO, Staff Engineer, Architect and Engineering manager</h1>
}

const PageContent = () => {
return (
<LayoutProvider>
<Content />
</LayoutProvider>
)
}

const Page: NextPage = () => {
return (
<Layout
PageContent={PageContent}
HeaderTitle={Title}
drawerWidth={drawerWidth}
LeftDrawer={<LeftDrawer items={menuItems} />}
/>
)
}

export default Page

1 comment on commit 212f91c

@vercel
Copy link

@vercel vercel bot commented on 212f91c Nov 22, 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

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

Please sign in to comment.