π‘ Feature Idea: Let's build a "Public Calendar" together! ποΈ #18
Pinned
aymanaboghonim
started this conversation in
Ideas
Replies: 1 comment
-
|
Love this π₯³π |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
π Hi Community!
We have an exciting opportunity for us to collaborate on a new feature for our website, and weβd love your input and help to make it happen.
The Goal:
We host many amazing open sessions and workshops, but right now, our main website (
elmentorprogram.github.io) doesn't show them. It would be great to have a "Public Calendar" or "Upcoming Events" section so visitors can instantly see what's coming up next.π€ Exploring Our Options
To get the conversation started, here are a few ways we could approach this. What do you think would work best for us?
Option A: A Simple Static List
We could just hard-code the next few events directly into the page. Itβs the easiest way to start, though it means weβd need to update the code manually for every new event.
Option B: A Full Calendar View
We could integrate a library (like
react-big-calendar) to show a full monthly grid. It looks professional, but might be a bit complex given that we usually only have a few events per month.Option C: The "Smart Integration" (Fetching from our Blog) π
Since we already post events on our Blog, we could potentially "fetch" that data automatically. This is a cool "Headless CMS" style patternβwe update the blog, and the website updates itself!
πΊοΈ A Potential Roadmap (Draft)
If we decided to go with something like Option C, here is a rough idea of what that journey might look like. This could be a great learning project for anyone interested in React Hooks and APIs:
1. The Data Side (Blog)
We could create a small file on our blog (e.g.,
events.json) that simply lists our events in a machine-readable format. It acts like a little "Static API."2. The Website Side (React)
We could build a simple component (
UpcomingEventsSection) that:This is just a starting pointβyou might have an even better way to do it!
π€ Let's Discuss!
We want this to be a community effort.
Letβs discuss the best approach below. Once we agree on a direction, we can turn this into an Issue and someone (or a team!) can take the lead on building it. π
Beta Was this translation helpful? Give feedback.
All reactions