Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new version of green #370

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions resume/data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,5 @@ contact:
github: johnyD
# en, de, fr, pt, ca, cn, it, es, th, pt-br, ru, sv, id, hu, pl, ja, ka, nl, he, zh-tw, lt, ko, el, nb-no
lang: en
references: References are available upon request.
`
3 changes: 2 additions & 1 deletion src/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const lang = {
skills: 'Skills',
projects: 'Projects',
contributions: 'Contributions',
about: 'About me'
about: 'About me',
references: 'References'
};
export default lang;
3 changes: 2 additions & 1 deletion src/lang/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const lang = {
skills: 'Habilidades',
projects: 'Proyectos',
contributions: 'Contribuciones',
about: 'Sobre mi'
about: 'Sobre mi',
references: 'Referencias'
};
export default lang;
8 changes: 8 additions & 0 deletions src/pages/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@
</div>
</router-link>
</div>
<div class="preview">
<router-link v-bind:to="'/resume/green2'">
<div class="preview-wrapper">
<img src="../assets/preview/resume-green.png" />
<span>green2</span>
</div>
</router-link>
</div>
</div>
</div>
</template>
Expand Down
248 changes: 248 additions & 0 deletions src/resumes/green2.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
<template>
<div class="resume" id="template">
<div id="resume-header">
<div id="header-left">
<h2 id="position">{{person.position}}</h2>
<h1 id="name">{{person.name.first}} {{person.name.last}}</h1>
<div id="info-flex">
<span id="email"><a :href='"mailto:" + person.contact.email'>
<i class="fa fa-envelope" aria-hidden="true"></i> {{person.contact.email}}</a></span>
<span id="phone"><i class='fa fa-phone-square' aria-hidden="true"></i> {{person.contact.phone}}</span>
<span v-if="person.contact.website" id="website"><a :href='person.contact.website'><i class="fa fa-home" aria-hidden="true"></i> {{person.contact.website}}</a></span>
<span v-if="person.contact.github" id="github"><a :href='contactLinks.github'><i class="fa fa-github" aria-hidden="true"></i> {{person.contact.github}}</a></span>
</div>
</div>
<div id="header-right">
<div id="headshot"></div>
</div>
</div>
<div id="resume-body">
<div id="experience-container">
<h2 id="experience-title">{{ lang.experience }}</h2>
<div class="spacer"></div>
<div class="experience" v-for="experience in person.experience" :key="experience.company">
<h2 class="company">{{experience.company}}</h2>
<p class="job-info"><span class="job-title">{{experience.position}} | </span><span class="experience-timeperiod">{{experience.timeperiod}}</span></p>
<p class="job-description" v-if="experience.description">{{experience.description}}</p>
<ul v-if="experience.list" >
<li v-for="(item, index) in experience.list" :key="index">
<span class="list-item-black">
{{item}}
</span>
</li>
</ul>
</div>
</div>
<div id="sidebar">
<div id="about-me-container">
<h2 id="education-title">{{ lang.about }}</h2>
<div class="spacer"></div>
<div class="about-me-description">
<p>{{person.about}}</p>
</div>
</div>
<div id="education-container">
<h2 id="education-title">{{ lang.education }}</h2>
<div class="spacer"></div>
<div class="education" v-for="education in person.education" :key="education.degree">
<h2 class="education-description">{{education.description}}</h2>
<p>
<span class="degree">{{education.degree}}</span>
<span class="divider">|</span>
<span class="education-timeperiod">{{education.timeperiod}}</span></p>
</div>
</div>
<div id="skills-container" v-if="person.skills != []">
<h2 id="skills-title">{{ lang.skills }}</h2>
<div class="spacer"></div>
<p id="skill-description">{{person.knowledge}}</p>
<ul id="skill-list">
<li class="skill" v-for="skill in person.skills" :key="skill.name">
<span class="list-item-black">
{{skill.name}}
</span>
</li>
</ul>
</div>
<div id="reference-container">
<h2 id="references-title">{{ lang.references }}</h2>
<div class="spacer"></div>
<p id="references-description">
{{person.references}}
<span id="references-email">
<a :href='"mailto:" + person.contact.email'>
{{person.contact.email}}
</a>
</span>
</p>
</div>
</div>
</div>
</div>
</template>

<script>
import Vue from 'vue';
import { getVueOptions } from './options';

const name = 'green2';
export default Vue.component(name, getVueOptions(name));
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
@text-green: #008000;
#template {
box-sizing:border-box;
font-family:'Open Sans', sans-serif;
h1, h2 {
margin:0;
color: @text-green;
}

p {
margin:0;
font-size:12px;
}

ul li {
color:@text-green;
font-size:12px;
}

a {
color:#FFF;
text-decoration:none;
}

.list-item-black {
color:black;
}

#resume-header {
color: white;
height: 136px;
background-color: green;
box-shadow: inset 0px 0px 200px #301030;
padding: 40px 100px 25px;

#header-left {
width:100%;
float: left;
h1 {
font-size:56px;
color:white;
text-transform:uppercase;
line-height:56px;
}
h2 {
font-size:22px;
color:white;
}
#info-flex {
display:flex;
margin-top:20px;
font-size:14px;

span {
margin-right:25px;
}
i {
margin-right:5px;
}
}
}

}

#resume-body {
display: flex;
padding: 28px 35px;

#experience-container {
padding-right: 25px
}

#sidebar {
width: 263px;
flex-shrink: 0;
}

#experience-title, #education-title, #skills-title, #references-title {
font-size: 23px;
text-transform: uppercase;
}

#about-me-container {
margin-bottom: 20px;
}

.about-me-description {
white-space: pre-wrap;
}

.experience {
margin: 10px 0;
ul {
margin: 5px 0 0 0;
padding: 0 20px;
}
}

.company {
font-size: 20px;
}

.education-description {
font-size: 16px;
margin-bottom: 5px;
}

.job-info {
margin-bottom:5px;
}

.job-title {
font-weight:700;
color: @text-green;
font-size:16px;
}

.experience-timeperiod, .education-timeperiod {
font-weight:100;
font-size: 16px;
}

.education {
.divider {
color: @text-green;
}
}

#skill-list {
column-count: 2;
list-style-position: inside;
padding: 0;

ul li {
font-size: 14px;
}
}

#skills-container {
margin-top: 20px;
}

#references-email a{
color: @text-green;
}
}
}

.spacer {
width:100%;
border-bottom:1px solid @text-green;
margin:5px 0 10px;

}
</style>
1 change: 1 addition & 0 deletions src/resumes/resumes.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import './cool.vue';
import './cool-rtl.vue';
import './cool-rtl2.vue';
import './green.vue';
import './green2.vue';
import './left-right-projects.vue';
import './material-dark-projects.vue';
import './oblique-projects.vue';
Expand Down