-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from MacKey-255/develop
Working in Home page
- Loading branch information
Showing
17 changed files
with
206 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,123 @@ | ||
<template> | ||
<div class="mx-auto"> | ||
<page-header icon="house" title="home" /> | ||
<div class="text-center"> | ||
<img | ||
:src="require('@/assets/images/profile.jpg')" | ||
class="mx-auto mb-4 w-32 rounded-lg" | ||
alt="Avatar" /> | ||
<h5 class="mb-2 text-xl dark:text-white font-medium leading-tight">Michel Suárez</h5> | ||
<p class="text-neutral-500 dark:text-neutral-400">Full Stack web developer</p> | ||
<div class="grid gap-x-10 md:grid-cols-3 mt-2"> | ||
<div class="md:col-span-1 justify-self-center md:justify-self-start md:order-2"> | ||
<div class="mb-4"> | ||
<img | ||
:src="require('@/assets/images/profile.jpg')" | ||
class="img-avatar rounded-t-xl justify-self-center" | ||
alt="Avatar" /> | ||
<div | ||
class="flex justify-center gap-4 p-2 rounded-b-lg bg-slate-300/[0.8] text-gray-800 dark:text-gray-200 dark:bg-slate-600/[0.8]"> | ||
<a | ||
class="transition ease-in-out hover:scale-150 hover:-translate-y-1 duration-150" | ||
:href="$store.getters.LINKEDIN_PROFILE_URL" | ||
target="_blank" | ||
aria-label="linkedin url" | ||
rel="noreferrer"> | ||
<font-awesome-icon :icon="['fab', 'linkedin']" /> | ||
</a> | ||
|
||
<a | ||
class="transition ease-in-out hover:scale-150 hover:-translate-y-1 duration-150" | ||
:href="$store.getters.GITHUB_PROFILE_URL" | ||
target="_blank" | ||
rel="noreferrer" | ||
aria-label="github url"> | ||
<font-awesome-icon :icon="['fab', 'github']" /> | ||
</a> | ||
|
||
<a | ||
class="transition ease-in-out hover:scale-150 hover:-translate-y-1 duration-150" | ||
:href="get_email" | ||
target="_blank" | ||
rel="noreferrer" | ||
aria-label="send email"> | ||
<font-awesome-icon icon="envelope" /> | ||
</a> | ||
|
||
<a | ||
class="transition ease-in-out hover:scale-150 hover:-translate-y-1 duration-150" | ||
href="/cv/es/portfolio.pdf" | ||
target="_blank" | ||
rel="noreferrer" | ||
aria-label="download cv" | ||
download> | ||
<font-awesome-icon :icon="['fas', 'file-lines']" /> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="md:col-span-2 justify-self-center md:justify-self-end md:order-1"> | ||
<h1 class="md:text-right text-4xl dark:text-white font-medium">Michel Suárez</h1> | ||
<p class="text-md mb-1 text-justify text-blue-800 dark:text-blue-200 max-w-xl mx-auto md:text-x md:text-right"> | ||
<vue-typer | ||
:text='$t("profile_profession")' | ||
:repeat='Infinity' | ||
:shuffle='false' | ||
initial-action='typing' | ||
:pre-type-delay='70' | ||
:type-delay='70' | ||
:pre-erase-delay='2000' | ||
:erase-delay='250' | ||
erase-style='select-all' | ||
:erase-on-complete='false' | ||
caret-animation='blink' | ||
></vue-typer> | ||
</p> | ||
<p class="text-sm text-justify text-gray-800 dark:text-gray-200 max-w-xl mx-auto md:text-xl dark:text-white"> | ||
{{ $t('profile_description') }} | ||
</p> | ||
<div class="flex mt-2 justify-center md:justify-end"> | ||
<button class="btn-more bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full" | ||
@click="updateActivePage(2)"> | ||
<span class="mr-2">{{ $t('see_more') }}</span> | ||
<font-awesome-icon icon="arrow-right" /> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "Home" | ||
name: "Home", | ||
props: { | ||
activePage: Number, | ||
}, | ||
computed: { | ||
get_email() { | ||
let subject = 'Oferta%20de%20trabajo'; | ||
if (this.$i18n.locale === 'en') { | ||
subject = 'Work%20offer'; | ||
} | ||
return 'mailto:' + this.$store.getters.EMAIL + '?Subject=' + subject; | ||
} | ||
}, | ||
methods: { | ||
updateActivePage(page) { | ||
this.$emit('update:activePage', page); | ||
} | ||
}, | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
<style> | ||
.vue-typer .custom.char { | ||
color: #3b82f6; | ||
font-weight: bold; | ||
} | ||
.img-avatar { | ||
width: 250px; | ||
height: 250px; | ||
} | ||
.btn-more { | ||
margin-top: -15px; | ||
} | ||
@media only screen and (max-device-width: 640px) { | ||
.btn-more { | ||
margin-top: 0; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
export default { | ||
home: 'Home', | ||
projects: 'Projects', | ||
about: 'About us', | ||
skills: 'Skills', | ||
contact: 'Contact', | ||
language: 'Language', | ||
dark_mode: 'Dark mode', | ||
see_more: 'See more', | ||
profile_profession: ['Full Stack Web developer', 'Software Engineer', 'Backend developer'], | ||
profile_description: 'I\'m a experienced Software Engineer adept in bringing forth expertise in design, installation, testing and maintenance of software systems. Proficient in various frameworks (FastAPI/Django/Flask), languages (Python/C#/Java), and embedded systems. Able to effectively self-manage during independent projects, as well as collaborate as part of a productive team.', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
export default { | ||
home: 'Principal', | ||
projects: 'Proyectos', | ||
about: 'Sobre mi', | ||
skills: 'Habilidades', | ||
contact: 'Contacto', | ||
language: 'Lenguaje', | ||
dark_mode: 'Temas', | ||
see_more: 'Ver más', | ||
profile_profession: ['Desarrollador Web Full Stack', 'Ingeniero de Software', 'Desarrollador Backend'], | ||
profile_description: 'Soy un ingeniero de software con experiencia en diseño, codificación, prueba y mantenimiento de sistemas de software. Competente en varios frameworks (Django/FastAPI/Flask), lenguajes (Python/C#/Java) y sistemas embebidos. Capaz de autogestionar mi tiempo de manera efectiva durante los proyectos independientes, así como colaborar formando parte de un equipo de desarrollo.', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export default ({ app }) => { | ||
// Every time the route changes (fired on initialization too) | ||
app.router.beforeEach((to, from, next) => { | ||
// Detect language | ||
if (to.query.lang) { | ||
app.i18n.setLocale(to.query.lang); | ||
} | ||
next(); | ||
}); | ||
}; |
Oops, something went wrong.