diff --git a/src/pages/members.astro b/src/pages/members.astro new file mode 100644 index 0000000..ec949ad --- /dev/null +++ b/src/pages/members.astro @@ -0,0 +1,222 @@ +--- +import AppLayout from '../layouts/AppLayout.astro'; +import Avatar from '../components/Avatar.astro'; +import { getAllCabMembers } from '../lib/db'; +import { pigmentForId, readFocusTags } from '../lib/format'; + +const user = Astro.locals.user; +const members = getAllCabMembers(); + +function memberSinceLabel(member: { cab_joined_date: string | null; created_at: string }): string { + const iso = member.cab_joined_date ?? member.created_at; + const normalised = iso.includes('T') ? iso : iso.replace(' ', 'T') + 'Z'; + return new Intl.DateTimeFormat('en-GB', { + month: 'long', year: 'numeric', timeZone: 'Europe/Copenhagen', + }).format(new Date(normalised)); +} +--- + +
+ +
+

Members

+

The council.

+

+ An invited circle of operators shaping what Project Bifrost becomes. +

+
+ +
+ + + +
+
+ +