Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
90 lines (78 sloc) 3.66 KB
<div class="conf-head">
<div>
<h3 class="conf-title" id="{{ conf.data.title | slug }}-hed">
<a href="{{ conf.data.url }}">
{{ conf.data.title }}
</a>
<a href="{{ conf.data.cocUrl }}" class="conf-coc-in-title" aria-label="Code of Conduct for {{ conf.data.title }}" title="Code of Conduct for {{ conf.data.title }}">(CoC)</a>
</h3>
</div>
<div class="conf-dates" aria-label="Conference starts on {{ conf.data.date | readableDate }}">
<span class="icon-calendar" aria-hidden="true">{{ conf.data.date | htmlTime | replace(r/^.{0,8}/, "") }}</span>
<time datetime="{{ conf.data.date | htmlTime }}" >{{ conf.data.date | readableDate }}</time>
{% if conf.data.endDate %}
<span class="end-date">
- <time datetime="{{ conf.data.endDate | htmlTime }}">{{ conf.data.endDate | readableDate }}</time>
</span>
{% endif %}
</time>
</div>
<div>
<address class="conf-location" aria-label="Conference location">
<svg class="icon" aria-hidden="true" viewBox="0 0 268 426" version="1" xmlns="http://www.w3.org/2000/svg" fill="#fff" fill-rule="nonzero"><path d="M134 0C60 0 0 60 0 133c0 49 22 112 66 189a1051 1051 0 0 0 68 104l4-2c1-1 33-49 65-109 43-81 65-142 65-182C268 60 208 0 134 0zm62 137a62 62 0 1 1-124-1 62 62 0 0 1 124 1z"/></svg>
{{ conf.data.location }}
</address>
</div>
</div>
<div class="conf-about">
{{ conf.templateContent | safe }}
<div class="link-and-coc">
<a href="{{ conf.data.url | url }}" class="conf-link">
{{ conf.data.url | domainRoot }}
<svg aria-hidden="true" width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="icon-arrow-right">
<use xlink:href="#icon-arrow-right"></use>
</svg>
</a>
{% if conf.data.cocUrl %}
<a href="{{ conf.data.cocUrl }}" class="conf-coc" aria-label="Code of Conduct for {{ conf.data.title }}">
Code of Conduct
</a>
{% endif %}
</div>
</div>
<div class="conf-byline">
{{ conf.data.byline }}
</div>
<div class="remindme card" id="reminder-{{ conf.fileSlug }}" aria-hidden="true">
<div class="card__face card__face--front">
<button aria-controls="reminder-{{ conf.fileSlug }}" aria-haspopup="true" aria-expanded="false">Email Conference Info</button>
</div>
<div class="flyout card__face card__face--back">
<button aria-controls="reminder-{{ conf.fileSlug }}" aria-haspopup="true" aria-expanded="false">Close</button>
<form action="/.netlify/functions/send-email" method="post">
<label>
Email address
<input type="email" name="email" required>
</label>
<input type="hidden" name="url" value="{{ conf.data.url }}">
<input type="hidden" name="conf" value="{{ conf.data.title }}">
<input type="hidden" name="dates" value="{{ conf.data.date | readableDate }}{% if conf.data.endDate %} - {{ conf.data.endDate | readableDate }}{% endif %}">
<input type="hidden" name="loc" value="{{ conf.data.location }}">
<input type="hidden" name="coc" value="{{ conf.data.cocUrl }}">
<input type="hidden" name="desc" value="{{ conf.templateContent }}">
<button class="send-email" aria-label="send email">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="icon-arrow-right">
<use xlink:href="#icon-arrow-right"></use>
</svg>
</button>
</form>
</div>
</div>
<a href="{{ conf.url }}" class="details-link">
<span class="screen-reader-text our-notes-text">Details</span>
<span aria-hidden="true">
<svg class="icon-logo-star" width="35px" height="35px">
<use xlink:href="#icon-logo-star"></use>
</svg>
</span>
</a>
You can’t perform that action at this time.