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

Add recommendations section #424

Open
wants to merge 3 commits 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
9 changes: 9 additions & 0 deletions _data/data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,5 +261,14 @@ skills:
- name: Sketch & Photoshop
level: 60%

recommendations:
title: Recommendations
list:
- person: p4irin
contact: "phone:012 345 6789, email:[email protected]"
role: General Director at example.com
recommendation: |
sharu725 is a super employee!

footer: >
Designed with <i class="fas fa-heart"></i> by <a href="http://themes.3rdwavemedia.com" target="_blank" rel="nofollow">Xiaoying Riley</a>
37 changes: 37 additions & 0 deletions _includes/recommendations.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% assign recommendations = site.data.data.recommendations %}
{% if recommendations %}
<section class="section recommendations-section">
<h2 class="section-title">
<span class="fa-stack fa-xs">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fas fa-medal fa-stack-1x fa-inverse"></i>
</span>
{{ recommendations.title }}
</h2>

{% for recommendation in recommendations.list %}
<div class="item">

<div class="meta">

<div class="upper-row">
<h3 class="recommendation">{{ recommendation.person }}</h3>
<div class="recommendation-contact">{{ recommendation.contact }}</div>
</div><!--//upper-row-->

<div class="recommendation-role">{{ recommendation.role }}</div>

</div><!--//meta-->

{% if recommendation.recommendation %}
<div class="details">
{{ recommendation.recommendation | markdownify }}
</div><!--//details-->
{% endif %}

</div><!--//item-->
{% endfor %}

</section><!--//section-->
{% endif %}

4 changes: 4 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ p {
}

.experiences-section,
.recommendations-section,
.educations-section {
.item {
margin-bottom: 30px;
Expand All @@ -191,6 +192,7 @@ p {
display: flex;
}
.job-title,
.recommendation,
.degree,
.cert-title{
color: $text-color;
Expand All @@ -209,6 +211,8 @@ p {
flex: 25%;
}
.company,
.recommendation-contact,
.recommendation-role,
.university,
.cert-org {
margin-bottom: 10px;
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@

{% include skills.html %}

{% include recommendations.html %}