Skip to content

Commit

Permalink
Añade boton descargar para CV
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPotatoXx committed May 29, 2024
1 parent c58e8d9 commit 936a6e7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/indexsections/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Phone from "@/icons/Phone.astro";
import LinkedIn from "@/icons/LinkedIn.astro";
import GitHub from "@/icons/GitHub.astro";
import WorldMap from "@/icons/WorldMap.astro";
import Download from "@/icons/Download.astro"; // Asegúrate de tener un ícono de descarga
import type { SocialIcon } from "@/types";
const { name, label, image, location, profiles, phone, email } = basics;
Expand Down Expand Up @@ -80,7 +81,20 @@ const SOCIAL_ICONS: SocialIcon = {
);
})
}

</footer>

<div class=" mt-4">
<a
href="/resources/CV_Giovanni_Rodigo_Salinas_Villa.pdf"
title="Descargar CV"
class="text-gray-300 hover:bg-gray-100 hover:text-slate-950 border border-gray-200 p-2 rounded-md transition-colors duration-300 flex items-center gap-2"
download
>
<Download class="w-6 h-6" />
Descargar CV
</a>
</div>
</div>
</div>
</Section>
15 changes: 15 additions & 0 deletions src/icons/Download.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill="currentColor"
d="M6 21H18M12 3V17M12 17L17 12M12 17L7 12"
stroke="#000000"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"></path>
</svg>

0 comments on commit 936a6e7

Please sign in to comment.