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

162 lines
5.0 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
<style type="text/css">
.uk-sticky-active-sidebar {
margin-top: 35px;
}
div#sidebar.uk-active {
margin-top: 35px;
transition: margin-top 2s;
}
</style>
<div class="uk-grid" data-uk-grid-margin xmlns="http://www.w3.org/1999/html">
<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 %}
<small class="uk-h2 uk-align-right uk-text-bottom">{{ basics.label }}</small>
{% endif %}
</h1>
<hr/>
{% if basics.summary is not empty %}
<p class="uk-text-lead">{{ basics.summary|raw }}</p>
{% endif %}
2016-07-10 18:45:50 -07:00
2016-07-03 22:17:58 -07:00
</div>
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>
<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 }}"/>
2016-07-05 14:41:50 -07:00
</div>
2016-07-17 11:05:32 -07:00
<h3 class="uk-panel-title">Contact</h3>
2016-07-17 11:05:32 -07:00
<ul class="uk-list uk-list-line">
2016-07-12 11:11:11 -07:00
2016-07-17 11:05:32 -07:00
{% if app.config.app.phone is not empty %}
<li class="uk-list-space"><a href="#phone-modal" class="hidden-phone" data-uk-modal>Phone</a></li>
{% endif %}
2016-07-12 11:11:11 -07:00
2016-07-17 11:05:32 -07:00
<li class="uk-list-space">
{% if basics.email is not empty %}
<a href="#contact-form-wrapper" data-uk-modal>{{ basics.email }}</a>
{% endif %}
2016-07-12 11:11:11 -07:00
2016-07-17 11:05:32 -07:00
</li>
2016-07-12 11:11:11 -07:00
2016-07-17 11:05:32 -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 %}
{% if basics.location|length > 0 and basics.location is not empty %}
<li class="uk-list-space">
<address>
{% set location = basics.location %}
2016-07-09 21:37:39 -07:00
2016-07-17 11:05:32 -07:00
{% if location.address is not empty %}
{{ location.address }}<br/>
{% endif %}
2016-07-17 11:05:32 -07:00
{% 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/>
2016-07-05 14:41:50 -07:00
2016-07-17 11:05:32 -07:00
</address>
</li>
{% endif %}
<li class="uk-list-space">
{% for profile in basics.profiles %}
{{ render_profile(profile)|raw }}
{% endfor %}
2016-07-09 21:37:39 -07:00
2016-07-17 11:05:32 -07:00
</li>
2016-07-08 14:58:30 -07:00
2016-07-17 11:05:32 -07:00
</ul>
2016-07-12 11:11:11 -07:00
2016-07-17 11:05:32 -07:00
</div>
2016-07-12 11:11:11 -07:00
2016-07-10 18:45:50 -07:00
</div>
2016-07-12 11:11:11 -07:00
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 %}