Add [event].tsx page #153
No reviewers
Labels
No Label
a11y
Backlog
Blocked
Bug
Content
Dependencies
Design
Feature Request
Good First Issue
In Progress
Performance
Priority - High
Priority - Low
Priority - Medium
Untriaged
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: www/www-new#153
Loading…
Reference in New Issue
No description provided.
Delete Branch "feat/event-info-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is the
[event].tsx
page that displays a single event, with a couple of sample events incontent/events
for testing purposes.Closes #114
[event].tsx pageto Add [event].tsx page@ -0,0 +48,4 @@
await Promise.all(
years.map(async (year) => {
const termsInYear = await getEventTermsByYear(year);
return termsInYear.map((term) => ({ year, term }));
You already have access to the terms here, might as well get all the events of that term here! That will result in a 3d array, but we don't really care because
.flat()
will convert that to a 1d array.Just 1 nit-pick, LGTM otherwise!
Make sure to delete the markdown files before merging!!
2b186fc162
to0b62d2810e