@@ -13,28 +13,27 @@ const { renderedClients } = Astro.props as Props
1313---
1414
1515<section id =" experience" >
16- <h2
17- class =" text-xs font-bold tracking-widest text-primary uppercase mb-4 border-b-2 border-trim/10"
18- >
19- Experience
16+ <h2 class =" text-sm font-mono font-bold tracking-widest text-content-offset print:text-content uppercase p-3 border-2 border-dashed border-gray-400 rounded-md" >
17+ Past Clients
2018 </h2 >
21- <div class =" space-y-8 " >
19+ <div class =" mt-4! " >
2220 {
2321 renderedClients .map (({ client , Content }: RenderedClient , index : number ) => {
2422 const location = splitLocation (client .data .location )
2523 return (
2624 <div
2725 id = { ` experienceItem-${index + 1 } ` }
28- class = " flex flex-col gap-1.5"
26+ class = " flex flex-col gap-1.5 pb-4 mb-4 border-b-2 border-dashed border-gray-400 last:border-b-0 last:pb-0 last:mb-0 "
2927 itemprop = " worksFor"
3028 itemscope
3129 itemref = " resumeSubject"
3230 itemtype = " http://schema.org/Organization"
3331 >
3432 <div class = " flex flex-col md:flex-row md:items-baseline md:justify-between" >
33+ { /** Job Title */ }
3534 <h3
3635 id = { ` role-${index + 1 } ` }
37- class = " text-xl font-bold text-content-active "
36+ class = " text-xl font-bold text-primary-offset "
3837 itemprop = " Role"
3938 itemref = { ` experienceItem-${index + 1 } ` }
4039 itemscope
@@ -44,7 +43,8 @@ const { renderedClients } = Astro.props as Props
4443 { client .data .role ?? client .data .businessType ?? client .data .displayName }
4544 </span >
4645 </h3 >
47- <div class = " text-sm font-medium text-content-offset mt-0.5 md:mt-0 flex gap-1.5 items-center" >
46+ { /** Start and End Dates */ }
47+ <div class = " text-md font-medium text-content-offset mt-0.5 flex gap-1.5 items-center" >
4848 <time
4949 itemprop = " startDate"
5050 itemtype = " http://schema.org/startDate"
@@ -62,32 +62,30 @@ const { renderedClients } = Astro.props as Props
6262 </time >
6363 </div >
6464 </div >
65- <div class = " text-base font-semibold text-primary-offset flex flex-wrap items-center gap-x-2 gap-y-1 print:text-sm" >
66- <span itemprop = " legalName" >{ client .data .displayName } </span >
65+ { /** Company Name and Location */ }
66+ <div class = " text-primary-offset flex flex-wrap items-center gap-x-3 gap-y-1" >
67+ <a
68+ class = " inline-flex items-center text-danger-offset decoration-danger-offset transition-colors hover:text-danger hover:decoration-danger font-medium mb-1 print:text-content print:decoration-none"
69+ href = { client .data .website ?? ' ' }
70+ itemprop = " location"
71+ itemscope
72+ itemtype = " http://schema.org/PostalAddress"
73+ >
74+ <span itemprop = " legalName" class = " font-semibold text-lg text-danger-offset" >
75+ { client .data .displayName }
76+ </span >
77+ </a >
6778 { client .data .location && (
68- <>
69- <span class = " text-trim/30 select-none" >• </span >
70- <a
71- class = " inline-flex items-center gap-1 hover:text-primary transition-colors text-content-offset font-medium"
72- href = { client .data .website ?? ' ' }
73- itemprop = " location"
74- itemscope
75- itemtype = " http://schema.org/PostalAddress"
76- >
77- <Icon icon = " location" color = " content" size = { 6 } />
78- <span >
79- <span itemprop = " addressLocality" >{ location .locality } </span >
80- { location .region && (
81- <>
82- , <span itemprop = " addressRegion" >{ location .region } </span >
83- </>
84- )}
85- </span >
86- </a >
87- </>
79+ <div class = " flex" >
80+ <Icon icon = " location" color = " inherit" size = { 5 } />
81+ <span >
82+ <span itemprop = " addressLocality" >{ location .locality } </span >,
83+ <span itemprop = " addressRegion" >{ location .region } </span >
84+ </span >
85+ </div >
8886 )}
8987 </div >
90- <div class = " experienceDetailContent mt-3 " itemprop = " description" >
88+ <div class = " experienceDetailContent" itemprop = " description" >
9189 <Content components = { { List , ListItem }} />
9290 </div >
9391 </div >
0 commit comments