AdvisorySG / ghost-advisory-theme

Custom-built Ghost theme for Advisory SG.
MIT License
6 stars 12 forks source link

Stories: Standardise card format #284

Closed wei2912 closed 3 years ago

wei2912 commented 3 years ago

Currently, we use two different partials for story cards: https://github.com/AdvisorySG/ghost-advisory-theme/blob/master/partials/card.hbs (older) and https://github.com/AdvisorySG/ghost-advisory-theme/blob/master/partials/story-postcard.hbs (newer).

We should move towards the newer, ensuring that it is responsive enough to adjust to both a multi-column layout and a long layout, as shown in the below mockups. Ideally, it should be possible to set the number of columns using a container for the cards (which I think should be straightforward if we make good use of flexbox).

image

image