Skip to content

Commit 5aea2f0

Browse files
committed
remote
1 parent 4436edc commit 5aea2f0

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

astro.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export default defineConfig({
4646
],
4747
},
4848
},
49-
// https://docs.astro.build/en/reference/experimental-flags/svg/
49+
// https://docs.astro.build/en/reference/experimental-flags/svg-optimization/
5050
// experimental: {
51-
// svg: true,
51+
// svgo: true,
5252
// },
5353
});

src/pages/resume.astro

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Icon } from 'astro-icon/components';
55
type experienceType = {
66
company: string;
77
contract?: boolean;
8+
remote?: boolean;
89
url?: string;
910
title: string;
1011
start: string;
@@ -27,6 +28,7 @@ const experience: experienceType[] = [
2728
start: 'May 2020',
2829
end: 'Aug 2025',
2930
location: 'Los Angeles, CA',
31+
remote: true,
3032
},
3133
{
3234
company: 'Object Edge',
@@ -36,6 +38,7 @@ const experience: experienceType[] = [
3638
start: 'Feb 2019',
3739
end: 'Jan 2020',
3840
location: 'Los Angeles, CA',
41+
remote: true,
3942
},
4043
{
4144
company: 'WITHIN',
@@ -167,7 +170,7 @@ const experience: experienceType[] = [
167170

168171
<div class="mb-12 space-y-5">
169172
{
170-
experience.map(({ company, url, contract, title, start, end, location }) => (
173+
experience.map(({ company, url, contract, title, start, end, location, remote }) => (
171174
<div>
172175
<div class="font-medium">
173176
{url ? (
@@ -177,10 +180,12 @@ const experience: experienceType[] = [
177180
) : (
178181
company
179182
)}
180-
{contract && <span class="opacity-60">• Contract</span>}
183+
{contract && <span class="opacity-60"> • Contract</span>}
181184
</div>
182185
<div>{title}</div>
183-
<div class="text-sm font-light opacity-60">{`${start} – ${end} • ${location}`}</div>
186+
<div class="text-sm font-light opacity-60">
187+
{[`${start} – ${end}`, location, ...(remote ? ['Remote'] : [])].join('')}
188+
</div>
184189
</div>
185190
))
186191
}

0 commit comments

Comments
 (0)