Events in the next 30 days

An events strip on the home page that only ever shows what is coming up, soonest first, and empties itself once an event has happened.

The list

In the app this list is called Events in the next 30 days.

The list in the editor, with the preview it produces.

What it says

Take every Event. Keep the ones where Date is within the next 30 days. Sort by Date, soonest first. No limit.

On the storefront

Each event references a book, so the strip links through to the product: event.book.value.product.value.url. When the last event in the window has passed the list is empty, and the section hides itself because the theme checks the size before rendering.

The events strip on the home page.

In your store

Classes, tastings, drops, webinars, opening hours exceptions. Pair it with a past events list for an archive.