panvol / pandemic-volunteers

❤️ Pandemic Volunteers | ⚠️ Help Wanted
https://pandemicvolunteers.org
MIT License
29 stars 7 forks source link

Add guideline pages #45

Closed dimanyc closed 2 years ago

dimanyc commented 4 years ago

Closes #42

This PR handles adding guideline resources are described in #42.

To follow the requested URL structure (comment: https://github.com/panvol/pandemic-volunteers/issues/42#issuecomment-615248137), an default locale of en is introduced and used as a scope in routes, to ensure that /en/guidelines and /guidelines route default to the same resource

Because guidelines are ephemeral, a presenter is used to display initial guidelines that have guideline categories that, in turn, have many articles. Presenters also take care of fetching and rendering metadata stored in YML files

Dimitry's TODO:

Han's TODO:

hantuzun commented 4 years ago

Hi @ozkc -- We only support one language at the moment. But I've referenced your comment from issue #4

hantuzun commented 4 years ago

Current State

Guidelines Index

Screen Shot 2020-04-20 at 01 03 14

Category pages

Screen Shot 2020-04-20 at 01 03 18

Article pages

Screen Shot 2020-04-20 at 01 03 22
dimanyc commented 4 years ago

pages look great! gj @hantuzun

hantuzun commented 4 years ago

Looks good! @dimanyc