Skip to content

Commit 902fe6d

Browse files
Remove college graduation date
It was an old convention to include this. Without it, it reduces the chance of age bias. * Make time prop optional in Experience component
1 parent 9ba1bf1 commit 902fe6d

File tree

2 files changed

+37
-33
lines changed

2 files changed

+37
-33
lines changed

src/components/resume/experience.tsx

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,24 @@ function Experience(props: {
1212
company: string
1313
location: string
1414
position: string
15-
timeBegin: Date
16-
timeEnd: Date | 'present'
15+
time?: {
16+
begin: Date
17+
end: Date | 'present'
18+
}
1719
}): React.ReactElement {
1820
const undoInheritedGlobalParagraphStyle = {
1921
margin: 0,
2022
}
2123

2224
const timeEnd =
23-
props.timeEnd instanceof Date
24-
? `${props.timeEnd.getFullYear()}-${props.timeEnd.getMonth() + 1}`
25-
: props.timeEnd
25+
props.time?.end instanceof Date
26+
? `${props.time.end.getFullYear()}-${props.time.end.getMonth() + 1}`
27+
: props.time?.end
2628

2729
const timeEndDisplay =
28-
props.timeEnd instanceof Date
29-
? DATE_DISPLAY_FORMAT.format(props.timeEnd)
30-
: props.timeEnd
30+
props.time?.end instanceof Date
31+
? DATE_DISPLAY_FORMAT.format(props.time.end)
32+
: props.time?.end
3133

3234
return (
3335
<div
@@ -45,23 +47,25 @@ function Experience(props: {
4547

4648
<p style={undoInheritedGlobalParagraphStyle}>{props.position}</p>
4749

48-
<p
49-
className='justify-self-end post-time'
50-
style={undoInheritedGlobalParagraphStyle}
51-
>
52-
<time
53-
className='whitespace-no-wrap'
54-
dateTime={`${props.timeBegin.getFullYear()}-${
55-
props.timeBegin.getMonth() + 1
56-
}`}
50+
{props.time && (
51+
<p
52+
className='justify-self-end post-time'
53+
style={undoInheritedGlobalParagraphStyle}
5754
>
58-
{DATE_DISPLAY_FORMAT.format(props.timeBegin)}
59-
</time>
60-
61-
<time className='whitespace-no-wrap' dateTime={timeEnd}>
62-
{timeEndDisplay}
63-
</time>
64-
</p>
55+
<time
56+
className='whitespace-no-wrap'
57+
dateTime={`${props.time.begin.getFullYear()}-${
58+
props.time.begin.getMonth() + 1
59+
}`}
60+
>
61+
{DATE_DISPLAY_FORMAT.format(props.time.begin)}
62+
</time>
63+
64+
<time className='whitespace-no-wrap' dateTime={timeEnd}>
65+
{timeEndDisplay}
66+
</time>
67+
</p>
68+
)}
6569

6670
<address className='justify-self-end'>{props.location}</address>
6771
</h5>

src/content/about.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ I'm a full stack web developer, leaning toward frontend, **user experience
4848
## Experience
4949

5050
<Experience className='mt-4' company='Self' location='Remote, Portland, OR'
51-
position='UX Engineering Consultant' timeBegin={new Date('2020-07-15')}
52-
timeEnd='present'
51+
position='UX Engineering Consultant' time={{begin: new Date('2020-07-15'),
52+
end: 'present'}}
5353

5454
>
5555
@@ -62,8 +62,8 @@ Angular, Ember.js, Python, React, Ruby on Rails, Storybook, Tailwind, Vue.js.
6262
</Experience>
6363

6464
<Experience className='mt-8' company='CrowdStrike' location='Remote, Portland,
65-
OR' position='Senior Software Developer' timeBegin={new Date('2013-04-15')}
66-
timeEnd={new Date('2020-02-15')}
65+
OR' position='Senior Software Developer' time={{begin: new Date('2013-04-15'),
66+
end: new Date('2020-02-15')}}
6767

6868
>
6969
@@ -77,8 +77,8 @@ monthly to 10x daily. Ember.js, Node.js, Python, Elasticsearch, Swagger.
7777
</Experience>
7878

7979
<Experience className='mt-8' company='Gravity' location='Santa Monica, CA'
80-
position='Senior Software Developer' timeBegin={new Date('2010-11-15')}
81-
timeEnd={new Date('2013-04-15')}
80+
position='Senior Software Developer' time={{begin: new Date('2010-11-15'),
81+
end: new Date('2013-04-15')}}
8282

8383
>
8484
@@ -92,8 +92,8 @@ this niche.
9292
</Experience>
9393

9494
<Experience className='mt-8' company='Quantcast' location='San Francisco, CA'
95-
position='Software Developer' timeBegin={new Date('2008-09-15')} timeEnd={new
96-
Date('2010-08-15')}
95+
position='Software Developer' time={{begin: new Date('2008-09-15'), end: new
96+
Date('2010-08-15')}}
9797

9898
>
9999
@@ -109,7 +109,7 @@ Django.
109109

110110
<Experience className='mt-4' company='University of Washington'
111111
location='Seattle, WA' position='B.S. Computer Science, B.A. Linguistics'
112-
timeBegin={new Date('2004-09-15')} timeEnd={new Date('2008-08-15')} />
112+
/>
113113

114114
## Colophon
115115

0 commit comments

Comments
 (0)