Skip to content

Commit

Permalink
contact updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tsm15002 committed Sep 6, 2016
1 parent 640117c commit ed26960
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 73 deletions.
16 changes: 0 additions & 16 deletions page-contact-us.php

This file was deleted.

45 changes: 1 addition & 44 deletions templates/page-contact-us.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,7 @@
{% block content %}

<main class="u-container">
{% set colors = ['red', 'orange', 'yellow', 'green', 'blue'] %}
{% for instructor in instructors %}
<div class="contactCard__outer">
<a href="#{{instructor.slug}}" class="contactCard contactCard--{{colors[loop.index0 % 5]}}" id="{{instructor.slug}}-card">
<figure class="contactCard__top">
<img src="{{instructor.thumbnail.src}}" alt="{{instructor.title}}">
<figcaption>
<h3>{{instructor.get_field('wpcf-first-name')}} {{instructor.get_field('wpcf-last-name')}}</h3>
<h3>{{ instructor.get_field('wpcf-position') }}</h3>
</figcaption>
</figure>
<figure class="contactCard__bottom">
<div class="contactCard__bottomInner">
<h4>{{ instructor.get_field('wpcf-email') }}</h4>
<h4>{{ instructor.get_field('wpcf-concentration') }}</h4>
</div>
<hr>
</figure>
</a>
</div>
<div class="contactModal contactModal--{{colors[loop.index0 % 5]}}" id="{{instructor.slug}}">
<div class="contactModal__inner">
<header class="contactModal__header">
<h1>{{instructor.get_field('wpcf-first-name')}} {{instructor.get_field('wpcf-last-name')}}</h1>
<h3>{{ instructor.get_field('wpcf-position') }}</h3>
</header>
<section class="contactModal__body">
<figure class="contactModal__bodyInfo">
<img src="{{ instructor.thumbnail.src }}" alt="{{ instructor.slug }}" class="contactModal__profilePicture">
<figcaption>
<a href="mailto:{{ instructor.get_field('wpcf-email') }}">{{ instructor.get_field('wpcf-email') }}</a>
<p>{{ instructor.get_field('wpcf-phone-number') }}</p>
<p>{{ instructor.get_field('wpcf-address') }}</p>
</figcaption>
</figure>
<p>{{ instructor.content }}</p>
</section>
<footer class="contactModal__footer">
<a href="#all">Close</a>
</footer>
</div>
</div>
<a href="#all" class="contactModal__cover"></a>
{% endfor %}
{{post.content}}
</main>

{% endblock %}
1 change: 0 additions & 1 deletion templates/silhouettes/female_0.svg

This file was deleted.

1 change: 0 additions & 1 deletion templates/silhouettes/female_1.svg

This file was deleted.

1 change: 0 additions & 1 deletion templates/silhouettes/female_2.svg

This file was deleted.

1 change: 0 additions & 1 deletion templates/silhouettes/female_3.svg

This file was deleted.

1 change: 0 additions & 1 deletion templates/silhouettes/female_4.svg

This file was deleted.

1 change: 0 additions & 1 deletion templates/silhouettes/male_0.svg

This file was deleted.

4 changes: 0 additions & 4 deletions templates/silhouettes/male_1.svg

This file was deleted.

1 change: 0 additions & 1 deletion templates/silhouettes/male_2.svg

This file was deleted.

1 change: 0 additions & 1 deletion templates/silhouettes/male_3.svg

This file was deleted.

1 change: 0 additions & 1 deletion templates/silhouettes/male_4.svg

This file was deleted.

0 comments on commit ed26960

Please sign in to comment.