-
Notifications
You must be signed in to change notification settings - Fork 50
Maintainer Month 2026 site update #377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ashleywolf
wants to merge
19
commits into
github:main
Choose a base branch
from
ashleywolf:2026-site-update
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,885
−235
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f53912d
Update site for 2026, fix responsive layout, improve README
ashleywolf f2c37bf
Fix sticky nav, text clipping, and card width issues (#87)
ashleywolf b2237b5
Support TBD/All Day event times and multi-day events
ashleywolf cb57566
Archive 2025 events, add ICS support, accessibility fixes, update iss…
ashleywolf 1870517
Fix Windows build, footer icon wrapping on mobile
ashleywolf b203079
Update partner pack page with 2026 call for partners
ashleywolf 0aac0aa
Remove Security Challenge from navigation for 2026
ashleywolf 473148f
Clear library resources for 2026
ashleywolf e53d5d3
Revert "Clear library resources for 2026"
ashleywolf 5c6f252
Fix empty states, theme placeholder, remove council for 2026
ashleywolf cbb6476
Add Ships page for maintainer-relevant GitHub feature releases
ashleywolf a9e4d68
Add tests for ships data, event parsing, TBD/all-day times
ashleywolf 96f6413
Add intro text to Ships page
ashleywolf 6718d17
Fix ships page responsive edge cases
ashleywolf bfd536e
Clean up: remove yarn.lock, fix warnings, update configs and archives
ashleywolf 4ca641a
Fix event parsing, ships component, and dependency updates
ashleywolf b0f4284
Fix build: handle missing content/events dir, pin serve dependency
ashleywolf 8bd8d47
Fix remaining 2025 references in commons.json
ashleywolf a0f815f
Update content/partner-pack/offers/jsconf.md
ashleywolf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| import { createEvents } from 'ics' | ||
|
|
||
| const EVENT_YEAR = 2026 | ||
|
|
||
| const isTBDValue = (value) => | ||
| !value || (typeof value === 'string' && value.toUpperCase() === 'TBD') | ||
|
|
||
| const isAllDayValue = (value) => | ||
| typeof value === 'string' && | ||
| value.toLowerCase().replace(/[\s\-_]/g, '') === 'allday' | ||
|
|
||
| function parseDateParts(dateStr) { | ||
| const [month, day] = dateStr.split('/').map(Number) | ||
| return { month, day } | ||
| } | ||
|
|
||
| function toICSEvent(event) { | ||
| const { month: startMonth, day: startDay } = parseDateParts(event.date) | ||
|
|
||
| const hasTime = | ||
| !isTBDValue(event.UTCStartTime) && !isAllDayValue(event.UTCStartTime) | ||
|
|
||
| const icsEvent = { | ||
| title: event.title, | ||
| description: event.metaDesc || '', | ||
| location: event.location || '', | ||
| url: event.linkUrl || '', | ||
| calName: 'Maintainer Month 2026', | ||
| } | ||
|
|
||
| if (hasTime) { | ||
| const [startHour, startMinute] = event.UTCStartTime.split(':').map(Number) | ||
| icsEvent.start = [EVENT_YEAR, startMonth, startDay, startHour, startMinute] | ||
| icsEvent.startInputType = 'utc' | ||
|
|
||
| if (!isTBDValue(event.UTCEndTime) && !isAllDayValue(event.UTCEndTime)) { | ||
| const [endHour, endMinute] = event.UTCEndTime.split(':').map(Number) | ||
|
|
||
| if (event.endDate && event.endDate !== event.date) { | ||
| const { month: endMonth, day: endDay } = parseDateParts(event.endDate) | ||
| icsEvent.end = [EVENT_YEAR, endMonth, endDay, endHour, endMinute] | ||
| } else { | ||
| icsEvent.end = [EVENT_YEAR, startMonth, startDay, endHour, endMinute] | ||
| } | ||
| icsEvent.startOutputType = 'utc' | ||
| icsEvent.endInputType = 'utc' | ||
| icsEvent.endOutputType = 'utc' | ||
| } else { | ||
| icsEvent.duration = { hours: 1 } | ||
| } | ||
| } else { | ||
| // All-day or TBD: treat as all-day event | ||
| icsEvent.start = [EVENT_YEAR, startMonth, startDay] | ||
| icsEvent.startInputType = 'utc' | ||
|
|
||
| if (event.endDate && event.endDate !== event.date) { | ||
| const { month: endMonth, day: endDay } = parseDateParts(event.endDate) | ||
| // ICS all-day end date is exclusive, so add one day | ||
| const endDate = new Date(Date.UTC(EVENT_YEAR, endMonth - 1, endDay + 1)) | ||
| icsEvent.end = [ | ||
| endDate.getUTCFullYear(), | ||
| endDate.getUTCMonth() + 1, | ||
| endDate.getUTCDate(), | ||
| ] | ||
| } else { | ||
| // Use Date math to handle month boundary rollover | ||
| const endDate = new Date(Date.UTC(EVENT_YEAR, startMonth - 1, startDay + 1)) | ||
| icsEvent.end = [ | ||
| endDate.getUTCFullYear(), | ||
| endDate.getUTCMonth() + 1, | ||
| endDate.getUTCDate(), | ||
| ] | ||
| } | ||
| } | ||
|
|
||
| return icsEvent | ||
| } | ||
|
|
||
| export function generateICS(events) { | ||
| const icsEvents = events.map(toICSEvent) | ||
| const { error, value } = createEvents(icsEvents) | ||
|
|
||
| if (error) { | ||
| throw new Error(`Failed to generate ICS: ${error.message}`) | ||
| } | ||
|
|
||
| return value | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.