mirror of
https://gitlab.com/OpenAlt/OpenAltRO/openalt_ro.git
synced 2026-11-23 15:19:15 +00:00
52 lines
1.8 KiB
Text
52 lines
1.8 KiB
Text
<% if(page.event.video && page.event.video != "TBD") { %>
|
|
<div>
|
|
<%- page.event.video %>
|
|
</div>
|
|
<% } %>
|
|
|
|
<div>
|
|
<% var cancelled = page.event.status === "cancelled"; %>
|
|
<% if (cancelled) { %>
|
|
<h1 class="event-cancelled">Cancelled</h1>
|
|
<% } %>
|
|
<h1 class="event<%= cancelled ? ' cancelled' : '' %>">
|
|
<%- page.event.date %> at <%- page.event.time %>
|
|
</h1>
|
|
<div class="event-actions">
|
|
<% if (!cancelled && page.event.luma && page.event.luma !== false) { %>
|
|
<a href="<%- page.event.luma %>" target="_blank" class="btn-event btn-luma"><%- icon('lucide:calendar-check') %> RSVP on Luma</a>
|
|
<% } %>
|
|
<a href="http://speakers.openalt.ro/" target="_blank" class="btn-event btn-speaker"><%- icon('lucide:mic') %> Call for Presentations</a>
|
|
</div>
|
|
</div>
|
|
|
|
<% if(page.event.program != "TBD") { %>
|
|
<div>
|
|
<h2> AGENDA </h2>
|
|
<% page.event.program.forEach(function(item, index) { %>
|
|
<h2 class="program"><%- item.name %> by <% if (item.speaker.url) { %><a href="<%- item.speaker.url %>"><%- item.speaker.name %></a><% } else { %><%- item.speaker.name %><% } %></h2>
|
|
<% if (index < page.event.program.length - 1) { %>
|
|
<h2 class="program break">B R E A K</h2>
|
|
<% } %>
|
|
<% }) %>
|
|
</div>
|
|
<% } %>
|
|
|
|
<div>
|
|
<% if(page.event.place != "TBD") { %>
|
|
<h3>
|
|
<a href='<%- page.event.place.link %>'><%- icon('lucide:map-pin') %> <%- page.event.place.name %></a>
|
|
</h3>
|
|
<% if(page.event.place.osm && page.event.place.osm != "TBD" && page.event.place.osm != "") { %>
|
|
<span class="osm"><%- page.event.place.osm %></span>
|
|
<% } %>
|
|
<% } else { %>
|
|
<h3>
|
|
<%- icon('lucide:map-pin') %> TBD
|
|
</h3>
|
|
<% } %>
|
|
</div>
|
|
|
|
<div class="post-content">
|
|
<%- page.content %>
|
|
</div>
|