Dan5762 / Imperial-Quantum-Society

A static site for the Imperial College London Quantum Society
MIT License
3 stars 2 forks source link

Change Register Now button from the upcoming events #17

Closed EdenSchirman closed 2 years ago

EdenSchirman commented 2 years ago

The button is quite confusing because we want to add links for registerartion for the events themselves.

Currently I've changed the link of the event itself (when we press on the text) to be the registration link.

Maybe we can change the Register Now button to "Register for the next event", and to add the option to edit to netlify ?

h-rathee851 commented 2 years ago

Sure. That sounds reasonable. In fact, instead of adding it to CMS explicitly, we can have the code automatically pull the link for the latest event and add it to the button. How does that sound? @edenico76 @Dan5762 .

EdenSchirman commented 2 years ago

Sounds good. Where should it pool the link from ? @h-rathee851

h-rathee851 commented 2 years ago

@edenico76 I have changed it so that it automatically gets the link of the first event in the upcoming events list.

EdenSchirman commented 2 years ago

@h-rathee851 cool, looks good, thanks !