Skip to content

Commit c306b80

Browse files
committed
refactor: Rework home page next event card and use correct email for contact
Signed-off-by: Felicitas Pojtinger <felicitas@pojtinger.com>
1 parent 1e20169 commit c306b80

1 file changed

Lines changed: 57 additions & 59 deletions

File tree

index.html

Lines changed: 57 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
>
250250
</li>
251251
<li class="pf-v6-c-nav__item">
252-
<a class="pf-v6-c-nav__link" href="mailto:board@vanlug.ca"
252+
<a class="pf-v6-c-nav__link" href="mailto:contact@vanlug.ca"
253253
><span
254254
>Email the board<icon-email></icon-email><br /><small
255255
class="pf-v6-u-font-size-xs pf-v6-u-text-color-subtle"
@@ -287,7 +287,7 @@
287287
text-transform: uppercase;
288288
"
289289
>
290-
For 30+ years and counting &middot; 2,200+ members
290+
Since 1999 &middot; 2,200+ members
291291
</span>
292292
<h1 class="pf-v6-u-font-size-4xl">
293293
Vancouver's Linux community
@@ -298,9 +298,9 @@ <h1 class="pf-v6-u-font-size-4xl">
298298
<p class="pf-v6-u-font-size-lg">
299299
VanLUG is a non-profit user group for Linux professionals,
300300
hobbyists, and curious newcomers in the Greater Vancouver
301-
area. For over 30 years, we've been promoting Linux and
302-
free, open-source software through monthly talks, drop-in
303-
help sessions, and community events, all free and all
301+
area. Since 1999, we've been promoting Linux and free,
302+
open-source software through monthly talks, drop-in help
303+
sessions, and community events, all free and all
304304
volunteer-run, for every level of proficiency.
305305
</p>
306306
</div>
@@ -453,7 +453,7 @@ <h3>What to expect</h3>
453453
>LinkedIn<icon-linkedin></icon-linkedin
454454
></a>
455455
for announcements. Want to give a talk or have a question?
456-
<a href="mailto:board@vanlug.ca"
456+
<a href="mailto:contact@vanlug.ca"
457457
>Email the board.<icon-email></icon-email
458458
></a>
459459
</p>
@@ -476,7 +476,7 @@ <h1>Events</h1>
476476
by our
477477
<a href="#partners">library and community partners</a>. All
478478
events are free. Want to give a talk?
479-
<a href="mailto:board@vanlug.ca"
479+
<a href="mailto:contact@vanlug.ca"
480480
>Get in touch.<icon-email></icon-email
481481
></a>
482482
</p>
@@ -12065,11 +12065,11 @@ <h1>About VanLUG</h1>
1206512065
largest Linux user groups in the world.
1206612066
</p>
1206712067
<p>
12068-
For over 30 years, VanLUG has been bringing Linux and
12069-
open-source enthusiasts together. What started as a handful
12070-
of people in a library meeting room has grown into one of
12071-
the most active user groups of its kind across Greater
12072-
Vancouver and the Lower Mainland.
12068+
VanLUG existed for a couple of years before it was
12069+
officially incorporated on March 29, 1999. What started as a
12070+
handful of people in a library meeting room has grown into
12071+
one of the most active user groups of its kind across
12072+
Greater Vancouver and the Lower Mainland.
1207312073
</p>
1207412074
<p>
1207512075
We promote Linux and free, open-source software as
@@ -12164,7 +12164,7 @@ <h3>2026 Board of Directors</h3>
1216412164
VanLUG is governed by a volunteer Board of Directors.
1216512165
Elections are held annually at our AGM. New volunteers are
1216612166
always welcome.
12167-
<a href="mailto:board@vanlug.ca"
12167+
<a href="mailto:contact@vanlug.ca"
1216812168
>Get in touch<icon-email></icon-email
1216912169
></a>
1217012170
if you'd like to help.
@@ -12276,27 +12276,27 @@ <h1>Partners</h1>
1227612276
/>
1227712277
</td>
1227812278
<td class="pf-v6-c-table__td" role="cell">
12279-
<b
12280-
><a
12281-
href="https://bpl.bc.ca"
12282-
target="_blank"
12283-
rel="noopener"
12284-
>Burnaby Public Library<icon-external
12285-
></icon-external></a
12286-
></b>
12279+
<b
12280+
><a
12281+
href="https://bpl.bc.ca"
12282+
target="_blank"
12283+
rel="noopener"
12284+
>Burnaby Public Library<icon-external
12285+
></icon-external></a
12286+
></b>
1228712287
<br />
1228812288
Serves Burnaby and the surrounding Lower Mainland,
12289-
empowering the community to engage with and share
12290-
stories, ideas, and information through its four
12291-
branches and online services.
12289+
empowering the community to engage with and share
12290+
stories, ideas, and information through its four
12291+
branches and online services.
1229212292
</td>
1229312293
</tr>
1229412294
<tr class="pf-v6-c-table__tr" role="row">
1229512295
<td
1229612296
class="pf-v6-c-table__td"
1229712297
role="cell"
1229812298
style="width: 8rem; vertical-align: middle"
12299-
>
12299+
>
1230012300
<img
1230112301
src="assets/img/surrey-logo.png"
1230212302
alt="Surrey Libraries logo"
@@ -12310,13 +12310,13 @@ <h1>Partners</h1>
1231012310
/>
1231112311
</td>
1231212312
<td class="pf-v6-c-table__td" role="cell">
12313-
<b
12314-
><a
12315-
href="https://surreylibraries.ca/"
12316-
target="_blank"
12317-
rel="noopener"
12313+
<b
12314+
><a
12315+
href="https://surreylibraries.ca/"
12316+
target="_blank"
12317+
rel="noopener"
1231812318
>Surrey Libraries<icon-external></icon-external></a
12319-
></b>
12319+
></b>
1232012320
<br />
1232112321
The municipal public library system of Surrey, BC,
1232212322
serving a population of approximately 580,000 with a
@@ -12342,14 +12342,14 @@ <h1>Partners</h1>
1234212342
/>
1234312343
</td>
1234412344
<td class="pf-v6-c-table__td" role="cell">
12345-
<b
12346-
><a
12347-
href="https://www.yourlibrary.ca/"
12348-
target="_blank"
12349-
rel="noopener"
12350-
>Richmond Public Library<icon-external
12351-
></icon-external></a
12352-
></b>
12345+
<b
12346+
><a
12347+
href="https://www.yourlibrary.ca/"
12348+
target="_blank"
12349+
rel="noopener"
12350+
>Richmond Public Library<icon-external
12351+
></icon-external></a
12352+
></b>
1235312353
<br />
1235412354
Has been proudly serving the Richmond community since
1235512355
1976, creating opportunities to learn, connect, and
@@ -12374,13 +12374,13 @@ <h1>Partners</h1>
1237412374
/>
1237512375
</td>
1237612376
<td class="pf-v6-c-table__td" role="cell">
12377-
<b
12378-
><a
12379-
href="https://z-space.ca"
12380-
target="_blank"
12381-
rel="noopener"
12382-
>Z-Space<icon-external></icon-external></a
12383-
></b>
12377+
<b
12378+
><a
12379+
href="https://z-space.ca"
12380+
target="_blank"
12381+
rel="noopener"
12382+
>Z-Space<icon-external></icon-external></a
12383+
></b>
1238412384
<br />
1238512385
A registered non-profit in British Columbia providing
1238612386
affordable, sustainable, community-oriented space
@@ -13828,7 +13828,7 @@ <h3>4. Reporting &amp; Enforcement</h3>
1382813828
Instances of abusive, harassing, or otherwise unacceptable
1382913829
behavior may be reported by contacting the community team
1383013830
via
13831-
<a href="mailto:board@vanlug.ca"
13831+
<a href="mailto:contact@vanlug.ca"
1383213832
>email<icon-email></icon-email></a
1383313833
>. The team will review and investigate all complaints, and
1383413834
will respond in a way that it deems appropriate to the
@@ -14275,9 +14275,10 @@ <h3>7. Licence</h3>
1427514275
rel="noreferrer noopener"
1427614276
>BC Provincial Government<icon-external
1427714277
></icon-external></a
14278-
>. Run entirely by volunteers, we've been bringing Linux
14279-
and open-source enthusiasts together in Vancouver for
14280-
over 30 years.</small
14278+
>, incorporated on March 29, 1999. Run entirely by
14279+
volunteers, we've been bringing Linux and open-source
14280+
enthusiasts together in Vancouver for over 25
14281+
years.</small
1428114282
>
1428214283
</p>
1428314284
</div>
@@ -14292,7 +14293,7 @@ <h3>7. Licence</h3>
1429214293
<template id="next-event-template">
1429314294
<div class="pf-v6-c-card pf-m-compact">
1429414295
<div class="pf-v6-c-card__body">
14295-
<div class="pf-v6-l-flex pf-m-gap-lg pf-m-align-items-flex-start">
14296+
<div class="pf-v6-l-flex pf-m-gap-lg pf-m-align-items-center">
1429614297
<div
1429714298
class="pf-v6-l-flex pf-m-column pf-m-align-items-center pf-m-gap-xs"
1429814299
>
@@ -14301,7 +14302,6 @@ <h3>7. Licence</h3>
1430114302
<span class="pf-v6-c-label__text" data-slot="date"></span>
1430214303
</span>
1430314304
</span>
14304-
<span class="pf-v6-u-font-size-xs" data-slot="weekday"></span>
1430514305
<span class="pf-v6-u-font-size-xs" data-slot="relative"></span>
1430614306
</div>
1430714307
<div class="pf-v6-l-flex pf-m-column pf-m-gap-sm">
@@ -14491,13 +14491,13 @@ <h4 data-slot="name"></h4>
1449114491
const days = Math.ceil((start - now) / 86400000);
1449214492
const relative =
1449314493
days <= 0
14494-
? "(Today!)"
14494+
? "(today!)"
1449514495
: days === 1
14496-
? "(Tomorrow)"
14496+
? "(tomorrow)"
1449714497
: days < 7
14498-
? `(in ${days} days)`
14498+
? "(this week)"
1449914499
: days < 14
14500-
? "(in 1 week)"
14500+
? "(next week)"
1450114501
: `(in ${Math.round(days / 7)} weeks)`;
1450214502
const time = start.toLocaleTimeString("en-US", {
1450314503
hour: "numeric",
@@ -14508,12 +14508,10 @@ <h4 data-slot="name"></h4>
1450814508
const clone = t.content.cloneNode(true);
1450914509
const $ = (s) => clone.querySelector(`[data-slot="${s}"]`);
1451014510
$("date").textContent = start.toLocaleDateString("en-US", {
14511+
weekday: "short",
1451114512
month: "short",
1451214513
day: "numeric",
1451314514
});
14514-
$("weekday").textContent = start.toLocaleDateString("en-US", {
14515-
weekday: "long",
14516-
});
1451714515
$("relative").textContent = relative;
1451814516
$("name").textContent = evt.name || "VanLUG Meeting";
1451914517
$("detail").textContent = evt.location

0 commit comments

Comments
 (0)