Open davelandry opened 4 years ago
@nicoperezmundaca I just reviewed your implementation with Alex, and we think it's overkill for what we need.
path="/:lang/resources/:page"
@nicoperezmundaca I set up the page route:
Take a look at how that component conditionally renders: https://github.com/Datawheel/oec-website/blob/6cd9b4220819a243136e4e2743ba91524e6a28e4/app/pages/Resources/index.jsx
Don't worry about CSS too much, just content. I can go in and tweak styles later.
@nicoperezmundaca while you're hooking these up, can you also add <Helmet />
elements for the window titles? Here's how I did it on Privacy/Terms: https://github.com/Datawheel/oec-website/commit/c03941c3bb95b12baf2c85496f116aaacd0067f8
/en/resources/about
)/en/resources/data
)/en/resources/methodology
)/en/resources/permissions
)/en/resources/faqs
)/publications
, but please make it/en/resources/publications
and include a redirect)/api
, but please make it/en/resources/api
and include a redirect)