Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Commit

Permalink
update homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
rlbaltha committed Mar 8, 2019
1 parent 23a0a89 commit b683079
Showing 1 changed file with 21 additions and 37 deletions.
58 changes: 21 additions & 37 deletions app/Resources/views/default/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -37,43 +37,27 @@
</div>
</div>

<h2>Events</h2>
<div class="card">
<div class="card-block">
<iframe style="border:none;width:100%;"
src="https://uga.givepulse.com/w/23030146caeb82fa4b1288952c5df633?"></iframe>
</div>
</div>
<div class="card">
<div class="card-block">
<a title="Events" href="{{ path('event') }}">See all upcoming events</a>
{% for event in events %}
<h3>{{ event.title }}</h3>
<p>{% if event.start %}{{ event.start|date("l, F d") }} {{ event.start|date("g:i A") }}{% endif %}</p>
<p>{% if event.location!='' %}{{ event.location }}{% endif %}</p>
<p>{{ event.teaser|raw }}</p>
<hr/>
{% else %}
<p>There are no events at this time. Please check back soon.</p>
{% endfor %}
</div>
</div>
<div class="card">
<div class="card-block">
<a class="twitter-timeline" href="https://twitter.com/WatershedUGA"
data-widget-id="644610687554162689">Tweets
by @WatershedUGA</a>
<script>!function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + "://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
}
}(document, "script", "twitter-wjs");</script>
</div>
</div>
{#<h2>Events</h2>#}
{#<div class="card">#}
{#<div class="card-block">#}
{#<iframe style="border:none;width:100%;"#}
{#src="https://uga.givepulse.com/w/23030146caeb82fa4b1288952c5df633?"></iframe>#}
{#</div>#}
{#</div>#}
{#<div class="card">#}
{#<div class="card-block">#}
{#<a title="Events" href="{{ path('event') }}">See all upcoming events</a>#}
{#{% for event in events %}#}
{#<h3>{{ event.title }}</h3>#}
{#<p>{% if event.start %}{{ event.start|date("l, F d") }} {{ event.start|date("g:i A") }}{% endif %}</p>#}
{#<p>{% if event.location!='' %}{{ event.location }}{% endif %}</p>#}
{#<p>{{ event.teaser|raw }}</p>#}
{#<hr/>#}
{#{% else %}#}
{#<p>There are no events at this time. Please check back soon.</p>#}
{#{% endfor %}#}
{#</div>#}
{#</div>#}

<h3>Watch our Introductory Video</h3>
<div class="card">
Expand Down

0 comments on commit b683079

Please sign in to comment.