hubfeenix.fi/app/views/members/_profile_card.haml
2023-01-22 11:36:35 +02:00

16 lines
593 B
Plaintext

.flex.flex-col.justify-center
=link_to profile_path(profile) do
.px-4.py-4.text-center.bg-gray-200
%h1.text-2xl.font-bold.tracking-tight.sm:text-4xl
#{profile.Kind} Profile
.flex.mt-6.py-4.flex-col.max-w-screen-lg.overflow-hidden.bg-white.border.rounded.shadow-sm
.relative
-if profile.picture_url
= image_tag profile.picture_url, class: "object-cover w-full h-60"
-else
No picture
%h5.m-4.text-3xl.font-bold.text-center
= profile.name
.mb-8.text-gray-800.text-center
.prose= markdown(profile.bio)