create and display upcoming event section

This commit is contained in:
Torsten
2023-08-31 12:48:20 +03:00
parent cac691d121
commit 973ede68b2
10 changed files with 42 additions and 17 deletions

View File

@ -5,7 +5,7 @@
- @profiles.each do |profile|
.fex.flex-col.overflow-hidden.rounded-lg.border.border-gray-100.shadow-sm
=link_to profile do
= image_for( profile , class: "h-60 w-full object-cover")
= picture_for( profile , class: "h-60 w-full object-cover")
%h3.py-5.text-2xl.bg-gray-100.text-black.font-bold.text-center
= profile.name
%div.h-full