Skip to content

Commit 5c6f252

Browse files
ashleywolfCopilot
andcommitted
Fix empty states, theme placeholder, remove council for 2026
- Schedule page shows 'coming soon' message when no events exist - Library page shows empty state message when no resources - Theme changed to 'Coming Soon' placeholder until 2026 theme is decided - Removed Council import from homepage (no council for 2026) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e53d5d3 commit 5c6f252

6 files changed

Lines changed: 28 additions & 4 deletions

File tree

components/events-list/EventsList.jsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,19 @@ const EventsList = ({ events }) => {
109109
</div>
110110
))}
111111
</div>
112+
113+
{events.length === 0 && (
114+
<p className="events-list__empty">
115+
{getLiteral('schedule:empty-no-events')}{' '}
116+
<a
117+
href="https://github.com/github/maintainermonth/issues/new?assignees=&labels=&template=add-to-calendar.yml&title=EVENT_NAME"
118+
target="_blank"
119+
rel="noreferrer"
120+
>
121+
{getLiteral('schedule:empty-host-link')}
122+
</a>
123+
</p>
124+
)}
112125
</section>
113126
)
114127
}

components/home/about/About.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const About = ({ title, content, theme1, theme2 }) => {
4444
/>
4545
<div className="about__themes">
4646
<div>
47-
<h3 className="get-involved__example-subtitle">2026 Theme: Securing Open Source</h3>
47+
<h3 className="get-involved__example-subtitle">2026 Theme: Coming Soon</h3>
4848
<p className="get-involved__text">{theme1}</p>
4949
</div>
5050
</div>

components/home/events/Events.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import EventDetail from '../../event-detail/EventDetail'
22
import SectionDivider from '../../section-divider/SectionDivider'
33
import Connection from '../connection/Connection'
4-
import Council from '../council/Council'
54

65
import useIncomingEvents from './useIncomingEvents'
76

@@ -24,7 +23,6 @@ const Events = ({ title, list, connectionTitle, connectionButtonText }) => {
2423
</div>
2524
</div>
2625
<Connection title={connectionTitle} buttonText={connectionButtonText} />
27-
{/* <Council /> */}
2826
</section>
2927
)
3028
}

components/library-links/LibraryLinks.jsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
import Chip from '../chip/Chip'
22

33
const LibraryLinks = ({ links }) => {
4+
if (!links || links.length === 0) {
5+
return (
6+
<section className="library-links">
7+
<p className="library-links__empty">
8+
No resources yet. Check back soon!
9+
</p>
10+
</section>
11+
)
12+
}
13+
414
return (
515
<section className="library-links">
616
{links.map((link) => (

content/commons.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
"schedule:add-event": "Add your activity",
7474
"schedule:ics-download": "Subscribe to calendar",
7575
"schedule:ics-label": "Download .ics file with all Maintainer Month events",
76+
"schedule:empty-no-events": "Events for Maintainer Month 2026 are coming soon! Want to host one?",
77+
"schedule:empty-host-link": "Submit your event here.",
78+
"schedule:empty-no-matches": "No events match the selected filters.",
7679

7780
"share:event": "Check out this Maintainer Month event",
7881

content/home/2-about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
anchorNavSection: 'About'
33
title: 'Welcome to Maintainer Month!'
4-
theme1: "This year, we're focusing on the critical role maintainers play in securing the digital infrastructure we all depend on. Join us in recognizing their efforts and supporting a more secure open source ecosystem."
4+
theme1: "Stay tuned for this year's theme. In the meantime, get involved by hosting an event or sharing your maintainer story."
55
theme2: 'Maintainers keep the software ecosystem running, but they’re humans, not machines. Do you know who the maintainers you rely on are? Do you know what kind of support those individuals actually need? Ask what you can do for them, and be ready to listen.'
66
---
77

0 commit comments

Comments
 (0)