Skip to content

Commit

Permalink
chore(git): merge main into dev (#1060)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 authored Sep 21, 2024
2 parents 6064e50 + 8a09ba3 commit af9d4ea
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
19 changes: 19 additions & 0 deletions content/works/freelancer-fullstack-developer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
position: "Full-Stack Developer"
description: "Development of websites, web applications and tools, using technologies such as TypeScript, React, Node.js, Next.js, Python, Django, PostgreSQL, Docker, among others."
in: "2024-08-01"
company:
name: "Freelancer"
website: "https://mateusf.com/about"
logo: "assets/mateusfelipe.png"
tags:
- 'typescript'
- 'react'
- 'nodejs'
- 'nextjs'
- 'python'
- 'django'
- 'postgresql'
- 'docker'
- 'tailwindcss'
- 'shadcn/ui'

7 changes: 5 additions & 2 deletions src/app/about/sections/experience/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ import { formatDistance } from 'date-fns'
import { Date as DateDisplay } from '~/components/date'

function WorkItem({ work }: { work: Work }) {
const inDate = new Date(work.in)
const outDate = work.out ? new Date(work.out) : new Date()
let inDate = new Date(work.in)
let outDate = work.out ? new Date(work.out) : new Date()

const time = formatDistance(inDate, outDate)

inDate.setMonth(inDate.getMonth() + 1)
if (work.out) outDate.setMonth(outDate.getMonth() + 1)

return (
<div className="space-y-3 py-6 first:pt-0 last:pb-0">
<div>
Expand Down

0 comments on commit af9d4ea

Please sign in to comment.