create and display upcoming event section
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
.fex.flex-col.overflow-hidden.rounded-lg.border.border-gray-100.shadow-sm.m-10
|
||||
=link_to event do
|
||||
= image_for( event , class: "h-60 w-full object-cover")
|
||||
.flex.flex-col.overflow-hidden.rounded-lg.border.border-gray-100.shadow-sm.m-10
|
||||
=link_to main_app.event_path(event) do
|
||||
= picture_for( event , class: "h-60 w-full object-cover")
|
||||
%div
|
||||
%h3.pt-5.text-2xl.bg-gray-100.text-black.font-bold.text-center
|
||||
= event.name
|
||||
|
Reference in New Issue
Block a user