polish teachers

This commit is contained in:
2023-01-15 14:59:06 +02:00
parent 750bd76a7e
commit d017502f18
5 changed files with 24 additions and 4 deletions

View File

@ -6,10 +6,8 @@
.fex.flex-col.overflow-hidden.rounded-lg.border.border-gray-100.shadow-sm.m-10
=link_to teacher do
= image_for( teacher , class: "h-60 w-full object-cover")
%h3.pt-5.text-2xl.bg-gray-100.text-black.font-bold.text-center
%h3.py-5.text-2xl.bg-gray-100.text-black.font-bold.text-center
= teacher.name
.p-2.text-xs.bg-gray-50.text-black.font-bold.text-center
= stayed teacher
%div.h-full
.p-5.text-center
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }