Design updates, adding 2027 posts

This commit is contained in:
Bashy 2026-10-05 23:12:01 +03:00
parent 2d50bec4cb
commit e51d53994a
30 changed files with 521 additions and 81 deletions

View file

@ -5,7 +5,6 @@ copy_year: 2025
# Site configuration
banner: images/assets/OpenAlt_RO_White_Wide.svg
favicon: images/assets/OpenAltRomania.svg
fontawesome: https://kit.fontawesome.com/bae8420862.js # Use your own kit here
primary_color: '#ce1126 !important'
#Footer
@ -15,31 +14,31 @@ copyright: true # Display copyright
# Enable or disable social links (add more / remove as needed)
social:
- url: http://discord.openalt.ro
icon: fab fa-discord
icon: si:discord
enable: true
- url: https://mastodon.social/@OpenAltRO
relme: true
icon: fab fa-mastodon
icon: si:mastodon
enable: true
- url: https://vhsky.cz/c/openaltro/videos
icon: fa-solid fa-circle-play
icon: si:peertube
enable: true
- url: https://www.linkedin.com/company/openaltro/
relme: true
icon: fab fa-linkedin
icon: custom:linkedin
enable: true
- url: https://matrix.to/#/#OpenAltRO:matrix.org
icon: fab fa-hashtag
icon: si:matrix
enable: true
- url: https://gitlab.com/OpenAlt/OpenAltRO
icon: fab fa-gitlab
icon: si:gitlab
enable: true
# Topbar menu configuration (add more / remove as needed)
topbar_menu:
- enable: true
name: Blog
url: /archives/
name: Events
url: /events/
- enable: true
name: About Us
url: /p/AboutUs/

View file

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>LinkedIn</title><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>

After

Width:  |  Height:  |  Size: 610 B

View file

@ -5,14 +5,18 @@
<% } %>
<div>
<h1 class="event">
<% 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 (page.event.luma && page.event.luma !== false) { %>
<a href="<%- page.event.luma %>" target="_blank" class="btn-event btn-luma"><i class="fa-solid fa-calendar-check"></i> RSVP on Luma</a>
<% 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"><i class="fa-solid fa-microphone"></i> Call for Presentations</a>
<a href="http://speakers.openalt.ro/" target="_blank" class="btn-event btn-speaker"><%- icon('lucide:mic') %> Call for Presentations</a>
</div>
</div>
@ -31,14 +35,14 @@
<div>
<% if(page.event.place != "TBD") { %>
<h3>
<a href='<%- page.event.place.link %>'><i class="fa fa-map-marker-alt"></i> <%- page.event.place.name %></a>
<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>
<i class="fa fa-map-marker-alt"></i> TBD
<%- icon('lucide:map-pin') %> TBD
</h3>
<% } %>
</div>

View file

@ -1,5 +1,5 @@
<div>
<% page.posts.forEach(function(post) { %>
<% item.forEach(function(post) { %>
<%- include('post_preview',
{ post: post,
source: "feed"

View file

@ -4,18 +4,18 @@
<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>
<h1 class="event-banner-title"><% if (e.event.status === 'cancelled') { %>[Cancelled] <% } %><%= e.title %></h1>
<p class="event-banner-meta">
<strong><%= e.event.date %></strong> &nbsp;·&nbsp; <strong><%= e.event.time %></strong>
<% if (e.event.place && e.event.place !== 'TBD') { %>
&nbsp;·&nbsp; <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>
&nbsp;·&nbsp; <span class="event-banner-loc"><%- icon('lucide:map-pin') %><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>
<% if (e.event.status !== 'cancelled' && e.event.luma && e.event.luma !== false) { %>
<a href="<%- e.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"><i class="fa-solid fa-microphone"></i> Call for Presentations</a>
<a href="http://speakers.openalt.ro/" target="_blank" class="btn-event btn-speaker"><%- icon('lucide:mic') %> Call for Presentations</a>
</div>
<div class="event-banner-agenda">
<% if (e.event.program && e.event.program !== 'TBD') { %>
@ -35,7 +35,7 @@
<% 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>
<a href="<%- url_for(l.path) %>"><h1>Video of our last event: <% if (l.event.status === 'cancelled') { %>[Cancelled] <% } %><%= l.title %></h1></a>
<% if (l.event.video && l.event.video !== 'TBD') { %>
<div class="vhsky-video"><%- l.event.video %></div>
<% } %>

View file

@ -1,5 +1,5 @@
<section id="minifeed">
<h1>Blog posts</h1>
<a href="<%- url_for('/archives/') %>"><h1>Blog posts</h1></a>
<div class="minifeed">
<% counter = 3 %>
<% page.posts.forEach(function(post) { %>

View file

@ -15,11 +15,7 @@ site.data.members.forEach(function(member) { %>
<% member.contact.forEach(function(social) { %>
<span class="social-icon">
<a href="<%= social.url %>" target="_blank">
<% if (theme.fontawesome) { %>
<i class="<%= social.icon %>"></i>
<% } else { %>
<img src='<%= url_for(theme.avatar) %>'></img>
<% } %>
<%- icon(social.icon) %>
</a>
</span>
<% }); %>

View file

@ -24,11 +24,7 @@
<% partner.contact.forEach(function(social) { %>
<span class="social-icon">
<a href="<%= social.url %>" target="_blank">
<% if (theme.fontawesome) { %>
<i class="<%= social.icon %>"></i>
<% } else { %>
<img src='<%= url_for(theme.avatar) %>'></img>
<% } %>
<%- icon(social.icon) %>
</a>
</span>
<% }); %>

View file

@ -3,8 +3,9 @@
post.tags.data.forEach(function(tag) {
if ( (tag.name == "Events") && (!isEvent) ) {
isEvent = true
}
}
});
titlePrefix = (isEvent && post.event && post.event.status === "cancelled") ? "[Cancelled] " : ""
%>
<!-- This is the template for the post. It is used to display the posts in the feeds. -->
@ -17,7 +18,7 @@
<%- include('event', { page: post }) %>
</div>
<% } else if(event == 1) { %>
<a href='<%= url_for(post.path) %>'><h1>Video of our last event: <%= post.title || "Untitled" %></h1></a>
<a href='<%= url_for(post.path) %>'><h1>Video of our last event: <%= titlePrefix %><%= post.title || "Untitled" %></h1></a>
<% if(post.event.video != "TBD") { %>
<div class="vhsky-video">
@ -34,7 +35,7 @@
<div class="post-without-video">
<% } %>>
<div class="post-blerp">
<a href='<%= url_for(post.path) %>'><h2><%= post.title || "Untitled" %></h2>
<a href='<%= url_for(post.path) %>'><h2><%= titlePrefix %><%= post.title || "Untitled" %></h2>
<div class="date smoll">
<%- include('date', { date: post.date.toISOString() }) %></a>
</div>

View file

@ -1,5 +1,7 @@
<%- include("_partial/feed",
{ item: page.posts.sort('-date'),
{ item: page.posts.filter(function(p) {
return !(p.tags && p.tags.data.some(function(t) { return t.name === "Events"; }));
}).sort('-date'),
source: "archive"
}
)%>

View file

@ -0,0 +1,55 @@
<div class="timeline-page">
<h1 class="article"><%= page.title || "Events" %></h1>
<% if (page.content) { %>
<div class="post-content"><%- page.content %></div>
<% } %>
<% var events = site.allEvents || []; %>
<% if (!events.length) { %>
<p>No events yet.</p>
<% } else { %>
<ol class="timeline">
<% events.forEach(function(item) {
var p = item.post;
var ev = p.event || {};
var cancelled = ev.status === "cancelled";
var hasVideo = ev.video && ev.video !== "TBD";
var labels = { past: "Past", next: "Next meetup", upcoming: "Upcoming" };
%>
<li class="timeline-item <%= item.state %><%= cancelled ? ' cancelled' : '' %>"<% if (item.state === 'next') { %> id="next-event"<% } %>>
<div class="timeline-card">
<div class="timeline-kicker"><%= cancelled ? "Cancelled" : labels[item.state] %></div>
<h2 class="timeline-title">
<% var title = (cancelled ? "[Cancelled] " : "") + (p.title || "Untitled"); %>
<% if (item.hasPage) { %><a href="<%- url_for(p.path) %>"><%= title %></a><% } else { %><%= title %><% } %>
</h2>
<p class="timeline-meta">
<strong><%= ev.date %></strong><% if (ev.time) { %> &nbsp;·&nbsp; <strong><%= ev.time %></strong><% } %>
<% if (ev.place && ev.place !== "TBD") { %>
<br><span class="timeline-loc"><%- icon('lucide:map-pin') %> <%= ev.place.name %></span>
<% } %>
</p>
<div class="event-actions">
<% if (!cancelled && item.state !== "past" && ev.luma) { %>
<a href="<%- ev.luma %>" target="_blank" class="btn-event btn-luma"><%- icon('lucide:calendar-check') %> RSVP on Luma</a>
<% } %>
<% if (item.hasPage && hasVideo) { %>
<a href="<%- url_for(p.path) %>" class="btn-event btn-speaker"><%- icon('lucide:play') %> Watch video</a>
<% } else if (item.hasPage) { %>
<a href="<%- url_for(p.path) %>" class="btn-event btn-speaker">Details</a>
<% } %>
</div>
</div>
</li>
<% }); %>
</ol>
<script>
(function () {
var target = document.getElementById("next-event") ||
document.querySelector(".timeline-item:last-child");
if (target) target.scrollIntoView({ block: "center" });
})();
</script>
<% } %>
</div>

View file

@ -18,8 +18,6 @@
<link rel="icon" href="<%= url_for(theme.favicon) %>">
<script src="<%= url_for(theme.fontawesome) %>" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap">
<title><%= config.title %></title>
@ -62,11 +60,7 @@
<% } else { %>
<a href="<%= social.url %>" target="_blank">
<% } %>
<% if (theme.fontawesome) { %>
<i class="<%= social.icon %>"></i>
<% } else { %>
<img src='<%= url_for(theme.avatar) %>'></img>
<% } %>
<%- icon(social.icon) %>
</a>
</span>
<% } %>

View file

@ -346,6 +346,14 @@ section {
color: #fcd116;
}
h1.event-cancelled {
text-transform: uppercase;
}
h1.event.cancelled {
text-decoration: line-through;
}
/* Feed Preview */
.minifeed {
@ -709,7 +717,7 @@ section {
}
.event-banner-meta strong { color: #dcdcdf; }
.event-banner-loc { color: #8b949e; white-space: nowrap; }
.event-banner-loc i { color: #fcd116; margin-right: 0.3em; }
.event-banner-loc .icon { color: #fcd116; margin-right: 0.3em; }
.event-banner-loc a { color: #8b949e; }
.event-banner-agenda {
display: inline-flex;
@ -776,4 +784,141 @@ section {
justify-content: center;
margin: 0 auto;
}
}
}
/* Events timeline page */
.timeline-page {
max-width: 1000px;
margin: 0 auto;
padding: 2em 1em 4em;
text-align: center;
}
.timeline {
position: relative;
list-style: none;
margin: 2em 0 0;
padding: 0;
}
/* Center line */
.timeline::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 2px;
background: #21262d;
transform: translateX(-50%);
}
.timeline-item {
position: relative;
width: 50%;
padding: 1em 2.5em;
box-sizing: border-box;
text-align: left;
}
.timeline-item:nth-child(odd) {
left: 0;
text-align: right;
}
.timeline-item:nth-child(even) {
left: 50%;
}
/* Dot on the center line */
.timeline-item::after {
content: "";
position: absolute;
top: 2em;
width: 14px;
height: 14px;
border-radius: 50%;
background: #0D1117;
border: 2px solid #555d68;
box-sizing: border-box;
}
.timeline-item:nth-child(odd)::after { right: -7px; }
.timeline-item:nth-child(even)::after { left: -7px; }
.timeline-item.past::after { background: #555d68; }
.timeline-item.next::after {
background: #fcd116;
border-color: #fcd116;
box-shadow: 0 0 0 5px rgba(252, 209, 22, 0.2);
}
.timeline-card {
background: #161b22;
border: 1px solid #21262d;
border-radius: 6px;
padding: 1.25em 1.5em;
}
.timeline-item.next .timeline-card { border-color: #fcd116; }
.timeline-item.past .timeline-card { opacity: 0.75; }
.timeline-kicker {
font-size: 0.8em;
letter-spacing: 0.25em;
text-transform: uppercase;
color: #8b949e;
}
.timeline-item.next .timeline-kicker { color: #fcd116; }
.timeline-item.cancelled .timeline-kicker { color: #CE1126; }
.timeline-title {
margin: 0.3em 0;
}
.timeline-title a { color: #dcdcdf; }
.timeline-item.cancelled .timeline-title { text-decoration: line-through; }
.timeline-meta {
color: #8b949e;
margin: 0.5em 0 1em;
}
.timeline-meta strong { color: #dcdcdf; }
.timeline-loc .icon { color: #fcd116; }
.timeline-item:nth-child(odd) .event-actions { justify-content: flex-end; }
.timeline-item:nth-child(even) .event-actions { justify-content: flex-start; }
/* Single column on narrow screens */
@media (max-width: 700px) {
.timeline::before { left: 7px; }
.timeline-item,
.timeline-item:nth-child(odd),
.timeline-item:nth-child(even) {
width: 100%;
left: 0;
text-align: left;
padding: 0.75em 0 0.75em 2em;
}
.timeline-item:nth-child(odd)::after,
.timeline-item:nth-child(even)::after { left: 0; right: auto; }
.timeline-item:nth-child(odd) .event-actions { justify-content: flex-start; }
}
/* Inline SVG icons (Lucide + Simple Icons, see scripts/icon.js) */
.icon {
width: 1em;
height: 1em;
vertical-align: -0.125em;
flex-shrink: 0;
}
/* Social links: slightly larger brand logos */
.social-icon .icon {
width: 1.15em;
height: 1.15em;
}