Skip to content

Commit 824aa82

Browse files
committed
fix: download cv button
1 parent f731d80 commit 824aa82

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/components/DownloadCV.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import LinkButton from './LinkButton.astro';
44

55
<LinkButton
66
href="/Anatolii_Vasilev_CV.pdf"
7-
class="not-prose"
7+
class="not-prose !px-3.5 !py-2.5 !text-base"
88
download="Anatolii Vasilev - Frontend Developer"
99
target="_blank"
1010
>

src/components/LinkButton.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ const { href, class: className, ...rest } = Astro.props;
1111
<a
1212
href={href}
1313
class:list={[
14-
'inline-flex items-center text-stone-500 border border-stone-300 cursor-pointer rounded-md px-2.5 py-1.5 font-medium',
14+
'inline-flex text-sm items-center text-stone-500 border border-stone-300 cursor-pointer rounded-md px-2.5 py-1.5 font-medium',
1515
'transition-all duration-300 ease-in-out',
1616
'hover:bg-stone-800/5 hover:text-stone-800 hover:border-stone-400',
1717
className,
1818
]}
1919
{...rest}
2020
>
21-
<span class="font-sans text-sm">
21+
<span class="font-sans">
2222
<slot />
2323
</span>
2424
</a>

src/pages/cv.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,5 @@ Developed a web application across all devices and screen sizes, acting as a sol
8282

8383
<sup>I hereby authorise the treatment of my personal data in accordance with GDPR EU 2016/679</sup>
8484
<br />
85+
<br />
8586
<DownloadCV />

0 commit comments

Comments
 (0)