fix profile generation

This commit is contained in:
2023-01-16 01:11:05 +02:00
parent 4ffc6e3c85
commit 63299d4464
14 changed files with 114 additions and 56 deletions

View File

@ -1,5 +1,10 @@
.px-4.py-16.mx-auto.sm:max-w-xl.md:max-w-full.lg:max-w-screen-xl.md:px-24.lg:px-8.lg:py-20
.flex.flex-col.max-w-screen-lg.overflow-hidden.bg-white.border.rounded.shadow-sm.lg:flex-row.sm:mx-auto
.flex.justify-center
.px-4.py-4.text-center
%h1text-2xl.font-bold.tracking-tight.sm:text-4xl
= @profile.Kind
profile
.flex.py-4.flex-col.max-w-screen-lg.overflow-hidden.bg-white.border.rounded.shadow-sm.lg:flex-row.sm:mx-auto
.relative{:class => "lg:w-1/2"}
-if @profile.picture_url
= image_tag @profile.picture_url, class: "object-cover w-full lg:absolute h-80 lg:h-full"