.flex.justify-center %h3.text-3xl.font-bold Upcoming Events .flex.justify-center .grid.grid-cols-1.md:grid-cols-2.lg:grid-cols-4 - @events.each do |event| = render "event_small" , event: event