FormidableLabs / nextjs-sanity-fe

NextJS Demo site with Sanity CMS
https://nextjs-sanity.formidable.dev/
29 stars 6 forks source link

187 Add filter count to the filters button on smaller screen sizes #188

Closed luisabarca closed 1 year ago

luisabarca commented 1 year ago

At the beginning i was trying to change the filters checkbox behavior and add a new context to manage the selected filters count.

I ended up creating a method to get the selected filters from the query string.

Screenshots

Before

Screenshot 2023-02-13 at 15 26 00 Screenshot 2023-02-13 at 15 26 11

After

Screenshot 2023-02-13 at 14 58 18 Screenshot 2023-02-13 at 14 58 30
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
nextjs-sanity-fe ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 15, 2023 at 11:31PM (UTC)