mirror of
https://gitlab.com/OpenAlt/OpenAltRO/openalt_ro.git
synced 2026-09-24 14:26:49 +00:00
44 lines
2.1 KiB
Text
44 lines
2.1 KiB
Text
<section class="event" style="display: block;">
|
|
<% if (site.nextEvent) { var e = site.nextEvent; %>
|
|
<div class="event-banner">
|
|
<img class="event-banner-logo" src="/images/assets/OpenAltRomania.svg" alt="">
|
|
<div class="event-banner-inner">
|
|
<div class="event-banner-kicker">Next Meetup</div>
|
|
<h1 class="event-banner-title"><%= e.title %></h1>
|
|
<p class="event-banner-meta">
|
|
<strong><%= e.event.date %></strong> · <strong><%= e.event.time %></strong>
|
|
<% if (e.event.place && e.event.place !== 'TBD') { %>
|
|
· <span class="event-banner-loc"><i class="fa fa-map-marker-alt"></i><a href="<%- e.event.place.link %>"><%= e.event.place.name %></a></span>
|
|
<% } %>
|
|
</p>
|
|
<div class="event-actions" style="margin-bottom: 2.5em;">
|
|
<% if (e.event.luma && e.event.luma !== false) { %>
|
|
<a href="<%- e.event.luma %>" target="_blank" class="btn-event btn-luma"><i class="fa-solid fa-calendar-check"></i> RSVP on Luma</a>
|
|
<% } %>
|
|
<a href="http://speakers.openalt.ro/" target="_blank" class="btn-event btn-speaker"><i class="fa-solid fa-microphone"></i> Call for Presentations</a>
|
|
</div>
|
|
<div class="event-banner-agenda">
|
|
<% if (e.event.program && e.event.program !== 'TBD') { %>
|
|
<% e.event.program.forEach(function(item) { %>
|
|
<div class="event-banner-agenda-item">
|
|
<%- item.name %>
|
|
<span class="event-banner-spk"><% if (item.speaker.url) { %><a href="<%- item.speaker.url %>" target="_blank"><%- item.speaker.name %></a><% } else { %><%- item.speaker.name %><% } %></span>
|
|
</div>
|
|
<% }); %>
|
|
<% } else { %>
|
|
<div class="event-banner-agenda-item">Agenda TBD</div>
|
|
<% } %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<% } %>
|
|
|
|
<% if (site.lastEvent) { var l = site.lastEvent; %>
|
|
<div style="padding-top: 2em;">
|
|
<a href="<%- url_for(l.path) %>"><h1>Video of our last event: <%= l.title %></h1></a>
|
|
<% if (l.event.video && l.event.video !== 'TBD') { %>
|
|
<div class="vhsky-video"><%- l.event.video %></div>
|
|
<% } %>
|
|
</div>
|
|
<% } %>
|
|
</section>
|