resume/app/themes/default/index.html.twig

168 lines
5.6 KiB
Twig
Raw Normal View History

2016-07-13 14:29:34 -07:00
{% extends 'base.html.twig' %}
2016-07-05 14:41:50 -07:00
2016-07-03 22:17:58 -07:00
{% block title %}
2016-07-17 11:05:32 -07:00
{{ app.config.app.title | default('Resume') }}
2016-07-05 14:41:50 -07:00
{% endblock %}
2016-07-03 22:17:58 -07:00
{% block body %}
2016-07-17 11:05:32 -07:00
<div class="uk-grid" data-uk-grid-margin xmlns="http://www.w3.org/1999/html">
2016-07-17 17:02:58 -07:00
{% if renderPdf == false %}
<div class="uk-width-1-1">
<h1 class="uk-heading-large">
{% if basics.name is not empty %}
{{ basics.name|title }}
{% else %}
{{ app.config.app.title|default('Resume') }}
{% endif %}
{% if basics.label is not empty %}
2016-07-19 08:10:57 -07:00
<small class="uk-width-small-1-1 uk-width-medium-1-2 uk-text-medium-right uk-h2 uk-align-right uk-text-bottom">{{ basics.label }}</small>
2016-07-17 17:02:58 -07:00
{% endif %}
</h1>
<hr/>
{% if basics.summary is not empty %}
<p class="uk-text-lead">{{ basics.summary|raw }}</p>
2016-07-17 11:05:32 -07:00
{% endif %}
2016-07-10 18:45:50 -07:00
2016-07-17 17:02:58 -07:00
</div>
{% endif %}
2016-07-17 11:05:32 -07:00
</div>
2016-07-03 22:17:58 -07:00
2016-07-17 11:05:32 -07:00
<div class="uk-grid" data-uk-grid-margin>
<div id="uk-sticky-start" class="uk-width-medium-3-4">
{% include 'skills.html.twig' %}
{% include 'work.html.twig' %}
{% include 'references.html.twig' %}
</div>
2016-07-17 17:02:58 -07:00
{% if renderPdf == false %}
<div class="uk-width-medium-1-4">
<div id="sidebar" class="uk-panel uk-panel-header uk-panel-box"
data-uk-sticky="{top:35, animation: 'uk-animation-slide-top', getWidthFrom:'#sidebar'}">
<div class="uk-panel-image">
<img
class="uk-align-right uk-thumbnail uk-border-circle uk-thumbnail-mini uk-animation-scale-up uk-img-preserve"
src="{{ basics.picture }}"/>
</div>
<h3 class="uk-panel-title">Contact</h3>
<ul class="uk-list uk-list-line">
{% if app.config.app.phone is not empty %}
{% if renderPdf == true %}
<li class="uk-list-space"><a href="tel:{{ app.config.app.phone }}"
title="Telephone">{{ app.config.app.phone }}</a></li>
{% else %}
<li class="uk-list-space"><a href="#phone-modal" class="hidden-phone" data-uk-modal>Phone</a></li>
{% endif %}
2016-07-17 11:05:32 -07:00
{% endif %}
2016-07-12 11:11:11 -07:00
2016-07-17 11:05:32 -07:00
<li class="uk-list-space">
2016-07-17 17:02:58 -07:00
{% if basics.email is not empty %}
{% if renderPdf == true %}
<a href="mailto:{{ basics.email }}" title="Send email">{{ basics.email }}</a>
{% else %}
<a href="#contact-form-wrapper" data-uk-modal>{{ basics.email }}</a>
2016-07-17 11:05:32 -07:00
{% endif %}
2016-07-17 17:02:58 -07:00
{% endif %}
2016-07-05 14:41:50 -07:00
2016-07-17 11:05:32 -07:00
</li>
2016-07-09 21:37:39 -07:00
2016-07-17 17:02:58 -07:00
{% if basics.website is not empty %}
<li class="uk-list-space">
<a href="{{ basics.website }}" target="_blank" title="Home page">{{ basics.website }}</a>
</li>
{% endif %}
<li><a href="{{ baseUrl ~ asset('pdf') }}" title="Download Resume in PDF format">Download PDF</a></li>
{% if basics.location|length > 0 and basics.location is not empty %}
<li class="uk-list-space">
<address>
{% set location = basics.location %}
{% if location.address is not empty %}
{{ location.address }}<br/>
{% endif %}
{% if location.city is not empty %}
{{ location.city }},
{% endif %}
{% if location.region is not empty %}
&nbsp;{{ location.region }},
{% endif %}
{% if location.countryCode is not empty %}
&nbsp;{{ location.countryCode }}
{% endif %}<br/>
</address>
</li>
{% endif %}
<li class="uk-list-space">
{% for profile in basics.profiles %}
{{ render_profile(profile)|raw }}
{% endfor %}
2016-07-08 14:58:30 -07:00
2016-07-17 17:02:58 -07:00
</li>
2016-07-12 11:11:11 -07:00
2016-07-17 17:02:58 -07:00
</ul>
2016-07-12 11:11:11 -07:00
2016-07-17 17:02:58 -07:00
</div>
2016-07-12 11:11:11 -07:00
2016-07-17 17:02:58 -07:00
</div>
{% endif %}
2016-07-17 11:05:32 -07:00
</div>
{% include 'contact.html.twig' %}
{% include 'phone.html.twig' %}
<div id="offcanvas" class="uk-offcanvas">
<div class="uk-offcanvas-bar">
<ul class="uk-list uk-list-line">
{% if basics.email is not empty %}
<li>{{ basics.email }}</li>
{% endif %}
{% if basics.phone is not empty %}
<li>{{ basics.phone }}</li>
{% endif %}
{% if basics.location|length > 0 and basics.location is not empty %}
<li>
<address>
{% for location in basics.location %}
{% if location.address is not empty %}
{{ location.address }}<br/>
2016-07-09 21:37:39 -07:00
{% endif %}
2016-07-17 11:05:32 -07:00
{% if location.city is not empty %}
{{ location.city }}
{% if location.postalCode is not empty %}
&nbsp;{{ location.postalCode }}
{% endif %}
{% if location.countryCode is not empty %}
&nbsp;{{ location.countryCode }}
{% endif %}<br/>
2016-07-09 21:37:39 -07:00
{% endif %}
2016-07-17 11:05:32 -07:00
{% endfor %}
</address>
</li>
{% endif %}
<li>
</li>
</ul>
2016-07-08 14:58:30 -07:00
</div>
2016-07-17 11:05:32 -07:00
</div>
<div id="spinner-modal" class="uk-modal">
<div class="uk-modal-dialog uk-animation-scale-up uk-animation-bottom-center">
<p class="uk-text-center uk-h2 uk-margin uk-text-primary">Sending message ...
<i class="uk-margin-left uk-icon uk-icon-spinner uk-icon-spin"></i>
</p>
2016-07-15 10:02:18 -07:00
</div>
2016-07-17 11:05:32 -07:00
</div>
2016-07-05 14:41:50 -07:00
2016-07-08 14:58:30 -07:00
{% endblock %}
2016-07-17 11:05:32 -07:00
2016-07-08 14:58:30 -07:00
{% block javascripts_foot %}
2016-07-17 11:05:32 -07:00
<script src='https://www.google.com/recaptcha/api.js'></script>
2016-07-11 14:56:40 -07:00
2016-07-08 14:58:30 -07:00
{% endblock %}