File tree Expand file tree Collapse file tree
src/components/Pages/Resume Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,13 +41,18 @@ const {
4141>
4242 <head >
4343 <HeadContent pageTitle ={ pageTitle } pageDescription ={ pageDescription } path ={ path } />
44+ <style >
45+ @page {
46+ margin: 2cm;
47+ }
48+ </style >
4449 </head >
4550 <body
4651 itemtype =" http://schema.org/Person"
4752 class =" h-auto min-h-full overflow-y-auto text-content font-sans leading-6 [font-smoothing:antialiased] md:flex md:justify-center print:bg-white"
4853 >
4954 { /** Use wrapper to keep resume centered on desktop */ }
50- <div class =" relative bg-primary-inverse mx-auto w-full max-w-4xl p-6 md:p-12 my-14 lg:p-16 md:shadow-xl print:shadow-none" >
55+ <div class =" relative bg-primary-inverse mx-auto w-full max-w-4xl p-6 md:p-12 my-14 lg:p-16 md:shadow-xl print:shadow-none print:p-0 print:my-0 " >
5156 <header
5257 itemscope
5358 itemref =" resumeSubject"
@@ -57,7 +62,7 @@ const {
5762 <Controls />
5863 </div >
5964
60- <div class = " " >
65+ <div >
6166 <Persona
6267 givenName ={ resume .firstName }
6368 familyName ={ resume .lastName }
@@ -68,29 +73,29 @@ const {
6873 <div class =" mt-2!" >
6974 <Contact
7075 contactData ={ contactData }
71- email ={ contactData . company . email }
76+ email ={ ` info@webstackbuilders.com ` }
7277 />
7378 </div >
7479 </header >
7580
7681 <main class =" space-y-4!" >
77- <div class = " " >
82+ <div >
7883 <Summary summary ={ resume .summary } />
7984 </div >
8085
81- <div class = " " >
86+ <div >
8287 <Experience renderedClients ={ renderedClients } />
8388 </div >
8489
85- <div class = " " >
90+ <div >
8691 <Skills skills ={ resume .skills } />
8792 </div >
8893
89- <div class = " " >
94+ <div >
9095 <Languages languages ={ resume .languages } />
9196 </div >
9297
93- <div class = " " >
98+ <div >
9499 <Socials socials ={ contactData .company .social } />
95100 </div >
96101 </main >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import Tooltip from '@components/Tooltip/index.astro'
88 <Tooltip text =" Download PDF" >
99 <a
1010 class =" inline-flex h-7 w-7 items-center justify-center text-gray-600 hover:text-gray-400 transition-colors duration-200"
11- href =" pdf/resume.pdf"
11+ href =" / pdf/resume.pdf"
1212 aria-label =" Download PDF"
1313 >
1414 <Icon icon =" download" color =" inherit" size ={ 7 } />
Original file line number Diff line number Diff line change @@ -16,14 +16,17 @@ const { renderedClients } = Astro.props as Props
1616 <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" >
1717 Past Clients
1818 </h2 >
19- <div class =" mt-4!" >
19+ <ul class =" mt-4!" >
2020 {
2121 renderedClients .map (({ client , Content }: RenderedClient , index : number ) => {
2222 const location = splitLocation (client .data .location )
2323 return (
24- <div
24+ <li
2525 id = { ` experienceItem-${index + 1 } ` }
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"
26+ class :list = { [
27+ ' flex flex-col gap-1.5 print:block print:space-y-1.5 print:break-inside-auto mb-6 last:mb-0' ,
28+ { ' print:break-before-page' : index === renderedClients .length - 1 },
29+ ]}
2730 itemprop = " worksFor"
2831 itemscope
2932 itemref = " resumeSubject"
@@ -88,9 +91,12 @@ const { renderedClients } = Astro.props as Props
8891 <div class = " experienceDetailContent" itemprop = " description" >
8992 <Content components = { { List , ListItem }} />
9093 </div >
91- </div >
94+ { index < renderedClients .length - 1 && (
95+ <div aria-hidden = " true" class = " mt-4 border-b-2 border-dashed border-gray-400" ></div >
96+ )}
97+ </li >
9298 )
9399 })
94100 }
95- </div >
101+ </ul >
96102</section >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const { socials } = Astro.props as Props
1111
1212<section
1313 id =" socialSection"
14- class =" mt-8 print:mt-6 print:hidden "
14+ class =" mt-8 print:mt-6"
1515 itemscope
1616 itemref =" resumeSubject"
1717 itemtype =" http://schema.org/ItemList"
@@ -37,7 +37,7 @@ const { socials } = Astro.props as Props
3737 href = { entry .url }
3838 >
3939 <span class = " mt-1" >
40- <Icon icon = { entry .iconName } color = " content " size = { 8 } />
40+ <Icon icon = { entry .iconName } color = " trim " size = { 8 } />
4141 </span >
4242 <span class = " flex flex-col leading-5" >
4343 <div
You can’t perform that action at this time.
0 commit comments