@@ -5,6 +5,7 @@ import { Icon } from 'astro-icon/components';
55type 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