add purple theme with options for an about-us and job-description lists
This commit is contained in:
parent
598a0ddc8f
commit
12c8bd903a
234
src/resumes/purple.vue
Normal file
234
src/resumes/purple.vue
Normal file
@ -0,0 +1,234 @@
|
||||
<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='person.contact.mailto'><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 id="website"><a :href='person.contact.website'><i class="fa fa-home" aria-hidden="true"></i> {{person.contact.website}}</a></span>
|
||||
<span id="github"><a :href='person.contact.githubFull'><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">EXPERIENCE</h2>
|
||||
<div class="spacer"></div>
|
||||
<div class="experience" v-for="experience in person.experience">
|
||||
<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 in experience.list"><span class="list-item-black">{{item}}</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="education-container">
|
||||
<h2>EDUCATION</h2>
|
||||
<div class="spacer"></div>
|
||||
<div class="education" v-for="education in person.education">
|
||||
<h2 class="education-description">{{education.description}}</h2>
|
||||
<p><span class="degree">{{education.degree}} | </span><span class="education-timeperiod">{{education.timeperiod}}</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="skills-container" v-if="person.skills != []">
|
||||
<h2>SKILLS</h2>
|
||||
<div class="spacer"></div>
|
||||
<p id="skill-description">{{person.skillDescription}}</p>
|
||||
<ul id="skill-list">
|
||||
<li class="skill" v-for="skill in person.skills"><span class="list-item-black">{{skill.name}}</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="resume-footer">
|
||||
<div v-if="person.about">
|
||||
<h2>About Me</h2>
|
||||
<p>{{person.about}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
PERSON
|
||||
} from '../person';
|
||||
|
||||
import Vue from 'vue';
|
||||
|
||||
PERSON.contact.githubFull = 'https://github.com/' + PERSON.contact.github;
|
||||
PERSON.contact.mailto = 'mailto:' + PERSON.contact.email;
|
||||
export default Vue.component('purple', {
|
||||
name: 'purple',
|
||||
data () {
|
||||
return {
|
||||
person: PERSON
|
||||
};
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style lang="less" scoped>
|
||||
@text-purple: #680568;
|
||||
#template {
|
||||
box-sizing:border-box;
|
||||
font-family:'Open Sans', sans-serif;
|
||||
h1, h2 {
|
||||
/*font-family:'Open Sans Condensed', sans-serif;*/
|
||||
margin:0;
|
||||
color: @text-purple;
|
||||
}
|
||||
|
||||
p {
|
||||
margin:0;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
ul li {
|
||||
color:@text-purple;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
a {
|
||||
color:#FFF;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.list-item-black {
|
||||
color:black;
|
||||
}
|
||||
|
||||
#resume-header {
|
||||
color: white;
|
||||
height: 136px;
|
||||
background-color: purple;
|
||||
box-shadow: inset 0px 0px 200px #301030;
|
||||
padding: 40px 100px 25px;
|
||||
|
||||
#header-left {
|
||||
/*width: 465px;*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*#header-right {
|
||||
width: 125px;
|
||||
float: right;
|
||||
margin: 0px;
|
||||
box-sizing: border-box;
|
||||
height: 140px;
|
||||
background-color: #FFF;
|
||||
padding: 5px;
|
||||
#headshot {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background:url('../assets/person.jpg');
|
||||
background-position:center;
|
||||
background-size:cover;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
#resume-body {
|
||||
padding: 40px 100px;
|
||||
|
||||
#experience-title {
|
||||
font-size:26px;
|
||||
}
|
||||
|
||||
.experience {
|
||||
margin: 10px 0 10px 50px;
|
||||
ul {
|
||||
margin: 5px 0 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.company, .education-description {
|
||||
font-size:20px;
|
||||
}
|
||||
|
||||
.job-info {
|
||||
margin-bottom:5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.job-title, .degree {
|
||||
font-weight:700;
|
||||
color: @text-purple;
|
||||
font-size:16px;
|
||||
}
|
||||
|
||||
.experience-timeperiod, .education-timeperiod {
|
||||
font-weight:100;
|
||||
color: @text-purple;
|
||||
font-size:16px;
|
||||
}
|
||||
|
||||
.education {
|
||||
margin: 10px 0 10px 50px;
|
||||
}
|
||||
|
||||
#skill-list {
|
||||
column-count: 3;
|
||||
list-style-position: inside;
|
||||
ul li {
|
||||
font-size:14px;
|
||||
}
|
||||
}
|
||||
|
||||
#education-container, #skills-container {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
#resume-footer {
|
||||
padding: 20px 100px;
|
||||
height: 135px;
|
||||
background-color: purple;
|
||||
box-shadow: inset 0px 0px 100px #301030;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
width: 100%;
|
||||
h2, p {
|
||||
color:white;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.spacer {
|
||||
width:100%;
|
||||
border-bottom:1px solid @text-purple;
|
||||
margin:5px 0 10px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@ -1,6 +1,6 @@
|
||||
// If you create a new resume, import it here:
|
||||
import '../resumes/material-dark.vue';
|
||||
import '../resumes/material-blue.vue';
|
||||
import '../resumes/left-right.vue';
|
||||
import '../resumes/oblique.vue';
|
||||
import '../resumes/side-bar.vue';
|
||||
import '../resumes/purple.vue';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user