Skip to content
Snippets Groups Projects
Commit 0d892164 authored by Uwe Jandt (DESY, HIFIS)'s avatar Uwe Jandt (DESY, HIFIS)
Browse files

Merge branch 'uj-hifis-overall-frontpage-design' into 'uj-hifis-overall'

Added SCC logo and events

See merge request hifis/hifis.net!128
parents 8b4fb62f c1c63218
No related branches found
No related tags found
5 merge requests!203WIP: Test MR,!177HIFIS unified step 1,!165Draft:Hifis unified V0.2,!128Added SCC logo and events,!127WIP:HIFIS Websites unification
This commit is part of merge request !127. Comments created here will be created in the context of that merge request.
......@@ -34,9 +34,9 @@ See also:
<img
id="header-logo"
class="logo"
src="{{ '/assets/img/HIFIS_Logo_short_RGB_cropped.svg' | relative_url }}"
src="{{ '/assets/img/HIFIS_Logos_combined_short_RGB_cropped.svg' | relative_url }}"
alt="HIFIS Logo"
>
>
</a>
{% comment %}
......
......@@ -52,6 +52,35 @@
<a href="{{ 'news/' | relative_url }}" class="btn btn-outline-secondary">More HIFIS News</a>
</section>
</div>
<div class="frontpage-jumbotron">
<section>
<h1><i class="far fa-calendar-alt" aria-hidden="true"></i>&nbsp; Events</h1>
<div class="flex-content-wrapper">
{% assign sorted_events = site.events | sort: "start.date" %}
{% assign today = "now" | date: "%Y-%m-%d" %}
{% assign has_upcoming_events = false %}
{% for event in sorted_events %}
{% if event.start.date < today or
event.registration_period.to < today %}
{% continue %}
{% else %}
{% assign has_upcoming_events = true %}
{% endif %}
{% include frontpage/event-card.html
title = event.excerpt %}
{% endfor %}
{% if has_upcoming_events == false %}
<article class="list-entry">
<h1>
There are no upcoming events right now ... stay tuned.
</h1>
</article>
{% endif %}
</div>
</section>
</div>
<div class="transition-block">
{% include transition.html direction="top" %}
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment