1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-22 16:20:11 +00:00

Modern: Add testimonials & references.

This commit is contained in:
hacksalot 2016-01-12 07:27:41 -05:00
parent c807d6c7d5
commit 9150842523
3 changed files with 15 additions and 6 deletions

View File

@ -5,7 +5,7 @@
<h2>{{{sectionTitle "Projects"}}}</h2> <h2>{{{sectionTitle "Projects"}}}</h2>
{{#> icon-projects }}{{/icon-projects}} {{#> icon-projects }}{{/icon-projects}}
</header> </header>
{{#each r.projects}} {{#each r.projects }}
<div> <div>
<h3>{{#if role}}<em>{{camelCase role }}</em>,{{/if}} <h3>{{#if role}}<em>{{camelCase role }}</em>,{{/if}}
{{#if url}} {{#if url}}
@ -13,9 +13,13 @@
{{else}} {{else}}
{{ title }} {{ title }}
{{/if}} {{/if}}
<span class="tenure">{{dateRange .}}</span></h3> </h3>
{{#if start}}<span class="tenure">{{dateRange .}}</span>{{/if}}
{{#if keywords}}
{{#if start}}| {{/if}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
{{/if}}
{{{ summary }}} {{{ summary }}}
{{#if proj.highlights}} {{#if highlights}}
<ul> <ul>
{{#each highlights}} {{#each highlights}}
<li>{{{ this }}}</li> <li>{{{ this }}}</li>

View File

@ -49,8 +49,8 @@ body.pdf #container > header {
display: block; display: block;
} }
#main > #container > section > span.fa span.fa
{ {
position: absolute; position: absolute;
top: 4px; top: 4px;
left: -50px; left: -50px;
@ -65,7 +65,7 @@ hr {
border-top: 1px solid #EEE; border-top: 1px solid #EEE;
} }
.tenure { .tenure, .keywords {
font-size: 75%; font-size: 75%;
} }

View File

@ -91,6 +91,11 @@
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}} {{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
{{> section/speaking }} {{> section/speaking }}
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
{{> section/testimonials }}
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
{{> section/references }}
</div> </div>
</main> </main>