hub icon indicating copy to clipboard operation
hub copied to clipboard

feat(gridsome): Collapsible sections on detail pages

Open aaronsteers opened this issue 3 years ago • 1 comments

One suggestion from the design review was to introduce collapsible sections in the detail page rendering:

image image

aaronsteers avatar Sep 20 '22 06:09 aaronsteers

We can probably use https://tailwind-elements.com/docs/standard/components/accordion for this, with the .accordion-flush class, and data-bs-parent attributes removed to let multiple elements be open.

I got started implementing it like this, but ran into an issue because this accordion element requires Javascript. We can probably edit it a bit to not require Javascript, like how it's done in this tutorial: https://www.digitalocean.com/community/tutorials/css-collapsible

WillDaSilva avatar Sep 20 '22 18:09 WillDaSilva