ggascoigne / amber

https://amberconnw.org
MIT License
3 stars 0 forks source link

ACUS: change hotel pages to use hotel booking info from configuration settings #163

Open evoskamp opened 8 months ago

evoskamp commented 8 months ago

Hotel settings added, but not used.

ggascoigne commented 8 months ago

You're welcome to migrate from mdx over to tsx like this, but you can also access the config settings by using components that do the appropriate lookup and return the values as elements. I switched these big blocks of text from tsx over to mdx to make it easier for non-devs to edit, but perhaps that's less of an issue now, or at least less for acus.

evoskamp commented 8 months ago

Yeah, I was looking at least effort, as I'm the only one maintaining content and it's pretty much static, except for the hotel links.

evoskamp commented 8 months ago

Yeah, since I think the only uses were on this page it didn't feel right to make components for them.