hub
hub copied to clipboard
feat(gridsome): Collapsible sections on detail pages
One suggestion from the design review was to introduce collapsible sections in the detail page rendering:
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