diff --git a/src/components/AboutFooter.astro b/src/components/AboutFooter.astro index 75bcbf4..7a6ea52 100644 --- a/src/components/AboutFooter.astro +++ b/src/components/AboutFooter.astro @@ -20,7 +20,6 @@ const { ], } = Astro.props; -console.log(sectionsConfig); // Function to sort sections by order const sortedSections = sectionsConfig .filter((section) => section.visible) diff --git a/src/components/EventItem.astro b/src/components/EventItem.astro index 0f3e3a3..3a20db0 100644 --- a/src/components/EventItem.astro +++ b/src/components/EventItem.astro @@ -3,7 +3,7 @@ const { item } = Astro.props; import { marked } from 'marked'; import EventsExt from '../events-ext.json'; import core from "../core.json"; -import { dateFormat, dateInfo, dateEnd, nameRenderer, ccRenderer, eventStatus, getSpeaker, findExt, getEventPoster } from '../lib/events.js'; +import { dateFormat, dateEnd, nameRenderer, ccRenderer, eventStatus, getSpeaker, findExt, getEventPoster } from '../lib/events.js'; import SpeakerList from './SpeakerList.astro'; import PeopleCarousel from './PeopleCarousel.astro'; diff --git a/src/pages/about.astro b/src/pages/about.astro index ab08c2c..f8a2214 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -20,7 +20,6 @@ const sectionsConfig = [ { name: "contributors", visible: true, order: 3 }, { name: "membersGrid", visible: true, order: 4 }, { name: "socialLinks", visible: true, order: 5 }, - // { name: "community", visible: false, order: 6 }, ]; for (const ev of events) { @@ -33,21 +32,32 @@ for (const ev of events) { } } +const allowedFeaturedTypes = [ + "summit", + "meetup", + "online-summit", + "congress", + "privacy-corner", + "meta-hackathons", +]; + const featuredEvents = []; for (const e of upcomingEvents) { if (featuredEvents.length > 2) { break; } if ( - ["summit", "meetup", "online-summit"].includes(e.type) && + allowedFeaturedTypes.includes(e.type) && e.links?.rsvp && !featuredEvents.find((ex) => ex.type === e.type) ) { featuredEvents.push(e); } } + --- +
-
+

activism. care. solidarity.

@@ -95,7 +105,7 @@ for (const e of upcomingEvents) {
-
@@ -147,5 +156,3 @@ for (const e of upcomingEvents) {
- -