add Download as PDF button to website but not linked pdf ./BreeLaPointeResume.pdf

main
bel 2023-10-18 19:57:33 -06:00
parent 820dda9d5d
commit ec1ed7fb88
2 changed files with 18 additions and 4 deletions

View File

@ -5,6 +5,7 @@
<link rel="preload" as="font" href="./fonts/Lato-Bold.ttf" type="font/ttf" crossorigin="anonymous">
</link>
<style>
@media print { .no-print, .no-print * { visibility: hidden !important; }
@font-face {font-family: "Roboto"; src: url("./fonts/Roboto-Regular.ttf");}
@font-face {font-family: "Roboto"; src: url("./fonts/Roboto-Bold.ttf"); font-weight: bold;}@font-face {font-family: "Lato"; src: url("./fonts/Lato-Regular.ttf");}
@font-face {font-family: "Lato"; src: url("./fonts/Lato-Bold.ttf"); font-weight: bold;}@font-face {font-family: "Montserrat"; src: url("./fonts/Montserrat-Regular.ttf");}
@ -27,8 +28,14 @@
</view>
<view style="display: flex; flex-direction: column; padding: 0px 18pt;">
<view style="display: flex; flex-direction: column; gap: 6pt; margin-top: 12pt;">
<view style="display: flex; flex-direction: row; justify-content: space-between;">
<text style="color: rgb(129, 140, 248); font-weight: bold; font-size: 20pt;">Bree LaPointe
</text>
<a href="./BreeLapointeResume.pdf" download class="no-print">
<text style="color: rgb(99, 99, 99); font-weight: normal; text-decoration: none;"><u>Download as PDF</u>
</text>
</a>
</view>
<text style="color: rgb(23, 23, 23); font-weight: normal;">Senior Software Engineer
</text>
<view style="display: flex; flex-flow: row wrap; justify-content: space-between; margin-top: 1.5pt;">

View File

@ -5,6 +5,7 @@
<link rel="preload" as="font" href="./fonts/Lato-Bold.ttf" type="font/ttf" crossorigin="anonymous">
</link>
<style>
@media print { .no-print, .no-print * { visibility: hidden !important; }
@font-face {font-family: "Roboto"; src: url("./fonts/Roboto-Regular.ttf");}
@font-face {font-family: "Roboto"; src: url("./fonts/Roboto-Bold.ttf"); font-weight: bold;}@font-face {font-family: "Lato"; src: url("./fonts/Lato-Regular.ttf");}
@font-face {font-family: "Lato"; src: url("./fonts/Lato-Bold.ttf"); font-weight: bold;}@font-face {font-family: "Montserrat"; src: url("./fonts/Montserrat-Regular.ttf");}
@ -27,8 +28,14 @@
</view>
<view style="display: flex; flex-direction: column; padding: 0px 18pt;">
<view style="display: flex; flex-direction: column; gap: 6pt; margin-top: 12pt;">
<view style="display: flex; flex-direction: row; justify-content: space-between;">
<text style="color: rgb(129, 140, 248); font-weight: bold; font-size: 20pt;">{{ range .resume.name }}{{ . }} {{ end }}
</text>
<a href="./BreeLapointeResume.pdf" download class="no-print">
<text style="color: rgb(99, 99, 99); font-weight: normal; text-decoration: none;"><u>Download as PDF</u>
</text>
</a>
</view>
<text style="color: rgb(23, 23, 23); font-weight: normal;">{{ .resume.title }}
</text>
<view style="display: flex; flex-flow: row wrap; justify-content: space-between; margin-top: 1.5pt;">