← Back to context

Comment by Y-bar

10 hours ago

Okay, I am on a desktop now and why are you using a span with an event listener as a link when an <a href> would do?

    <span class="text-primary underline hover:text-primary-dark transition-colors font-medium text-xs cursor-pointer">Want tickets?</span>

Good question! I went this route as it prevents the default navigation behaviour for the event row (which has click handling on the parent element to navigate to an event page and this span overrides that behavior locally).