Skip to content

Commit 58b50f7

Browse files
committed
corregir mañana
1 parent 1105aff commit 58b50f7

File tree

3 files changed

+66
-66
lines changed

3 files changed

+66
-66
lines changed

src/assets/file/Miguel-Resume.pdf

2.18 MB
Binary file not shown.

src/components/shared/AppBanner.vue

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -2,75 +2,75 @@
22
import feather from 'feather-icons';
33
44
export default {
5-
name: 'Home',
6-
data: () => {
7-
return {
8-
theme: '',
9-
};
10-
},
11-
created() {
12-
this.theme = localStorage.getItem('theme') || 'light';
13-
},
14-
mounted() {
15-
feather.replace();
16-
this.theme = localStorage.getItem('theme') || 'light';
17-
},
18-
updated() {
19-
feather.replace();
20-
},
21-
methods: {},
5+
name: 'Home',
6+
data: () => {
7+
return {
8+
theme: '',
9+
};
10+
},
11+
created() {
12+
this.theme = localStorage.getItem('theme') || 'light';
13+
},
14+
mounted() {
15+
feather.replace();
16+
this.theme = localStorage.getItem('theme') || 'light';
17+
},
18+
updated() {
19+
feather.replace();
20+
},
21+
methods: {
22+
descargarHojaDeVida() {
23+
const hojaDeVidaURL = 'file/Miguel-Resume.pdf';
24+
this.descargarArchivo(hojaDeVidaURL, 'Miguel-Resume.pdf');
25+
},
26+
27+
descargarArchivo(url, nombre) {
28+
const link = document.createElement('a');
29+
link.href = url;
30+
link.download = nombre;
31+
32+
document.body.appendChild(link);
33+
link.click();
34+
35+
document.body.removeChild(link);
36+
},
37+
},
2238
};
2339
</script>
2440

2541
<template>
26-
<section
27-
class="flex flex-col sm:justify-between items-center sm:flex-row mt-12 sm:mt-10"
28-
>
29-
<!-- Banner left contents -->
30-
<div class="w-full md:w-1/3 text-left">
31-
<h1
32-
class="font-general-semibold text-3xl md:text-3xl xl:text-4xl text-center sm:text-left text-ternary-dark dark:text-primary-light uppercase"
33-
>
34-
Hola, soy Miguel Ramos
35-
</h1>
36-
<p
37-
class="font-general-medium mt-2 text-lg sm:text-xl xl:text-2xl text-center sm:text-left leading-none text-gray-400"
38-
>
39-
Un desarrollador full-stack y entusiasta del diseño
40-
</p>
41-
<div class="flex justify-center sm:block">
42-
<a
43-
download="Stoman-Resume.pdf"
44-
href="/files/Stoman-Resume.pdf"
45-
class="flex justify-center items-center w-36 sm:w-48 mt-12 mb-6 sm:mb-0 text-lg border border-indigo-200 dark:border-ternary-dark py-2.5 sm:py-3 shadow-lg rounded-lg bg-indigo-50 focus:ring-1 focus:ring-indigo-900 hover:bg-indigo-500 text-gray-500 hover:text-white duration-500"
46-
aria-label="Download Resume"
47-
>
48-
<i
49-
data-feather="arrow-down-circle"
50-
class="ml-0 sm:ml-1 mr-2 sm:mr-3 w-5 sm:w-6 duration-100"
51-
></i>
52-
<span
53-
class="text-sm sm:text-lg font-general-medium duration-100"
54-
>Descargar CV</span
55-
></a
56-
>
57-
</div>
58-
</div>
42+
<section class="flex flex-col sm:justify-between items-center sm:flex-row mt-12 sm:mt-10">
43+
<!-- Banner left contents -->
44+
<div class="w-full md:w-1/3 text-left">
45+
<!-- ... (código anterior) ... -->
46+
<div class="flex justify-center sm:block">
47+
<a
48+
@click.prevent="descargarHojaDeVida"
49+
download="Miguel-Resume.pdf"
50+
href="file/Miguel-Resume.pdf"
51+
class="flex justify-center items-center w-36 sm:w-48 mt-12 mb-6 sm:mb-0 text-lg border border-indigo-200 dark:border-ternary-dark py-2.5 sm:py-3 shadow-lg rounded-lg bg-indigo-50 focus:ring-1 focus:ring-indigo-900 hover:bg-indigo-500 text-gray-500 hover:text-white duration-500"
52+
aria-label="Download Resume"
53+
>
54+
<i
55+
data-feather="arrow-down-circle"
56+
class="ml-0 sm:ml-1 mr-2 sm:mr-3 w-5 sm:w-6 duration-100"
57+
></i>
58+
<span
59+
class="text-sm sm:text-lg font-general-medium duration-100"
60+
>Descargar CV</span
61+
></a
62+
>
63+
</div>
64+
</div>
5965

60-
<!-- Banner right illustration -->
61-
<div class="w-full md:w-2/3 text-right float-right">
62-
<img
63-
v-if="theme === 'light'"
64-
src="@/assets/images/developer.svg"
65-
alt="Developer"
66-
/>
67-
<img
68-
v-else
69-
src="@/assets/images/developer-dark.svg"
70-
alt="Developer"
71-
/>
72-
</div>
73-
</section>
66+
<!-- Banner right illustration -->
67+
<div class="w-full md:w-2/3 text-right float-right">
68+
<img v-if="theme === 'light'" src="@/assets/images/developer.svg" alt="Developer" />
69+
<img v-else src="@/assets/images/developer-dark.svg" alt="Developer" />
70+
</div>
71+
</section>
7472
</template>
7573

76-
<style scoped></style>
74+
<style scoped>
75+
76+
</style>

src/data/socialLinks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const socialLinks = [
1515
id: 4,
1616
name: 'LinkedIn',
1717
icon: 'linkedin',
18-
url: 'https://www.linkedin.com/in/realstoman',
18+
url: 'https://www.linkedin.com/in/miguel-angel-ramos-lopez/',
1919
},
2020
{
2121
id: 5,

0 commit comments

Comments
 (0)