Skip to content

Commit

Permalink
Update CV label for clarity and enhance download functionality in Key…
Browse files Browse the repository at this point in the history
…boardManager
  • Loading branch information
DanielSarmiento04 committed Dec 29, 2024
1 parent 307f81f commit ccd4105
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Binary file added bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion cv.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"basics": {
"name": "José Sarmiento",
"label": "Apasionado de la tecnología, gustan los retos que me permiten crecer y aportan a mi ecosistema personal.",
"label": "Apasionado de la tecnología, me gustan los retos que me permiten crecer y aportan a mi ecosistema personal.",
"image": "https://raw.githubusercontent.com/DanielSarmiento04/DanielSarmiento04/main/public/me.webp",
"email": "[email protected]",
"phone": "+57 3017128802",
Expand Down
Binary file added src/assets/cv.pdf
Binary file not shown.
6 changes: 5 additions & 1 deletion src/components/KeyboardManager.astro
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ const profilesInfo = profiles.map(({ network, url }) => {
hotkey: "ctrl+P",
section: "Acciones",
handler: () => {
window.print()

const link = document.createElement("a");
link.href = "/src/assets/cv.pdf"; // Adjust the path based on your deployment setup.
link.download = "CV_SOFTWARE_DEVELOPER_JOSE_DANIEL_SARMIENTO_BLANCO.pdf"; // Optional: Sets the default filename for the download.
link.click();
}
},
...data
Expand Down

0 comments on commit ccd4105

Please sign in to comment.