story links

This commit is contained in:
Torsten 2023-05-24 18:11:45 +03:00
parent 450c50bd90
commit 818af2f5e9
3 changed files with 7 additions and 3 deletions

View File

@ -7,6 +7,8 @@
= story.header
%h4.text-xl.mt-10.md:text-2xl
= distance_of_time_in_words_to_now story.happened
ago
ago, by
= link_to story.member.name , main_app.member_path(story.member) , class: :underline
.mt-8{ prose_classes }
= markdown(story.text)

View File

@ -8,6 +8,7 @@
= story.header
%h4.text-xl.mt-4.lg:mt-8.md:text-2xl
= distance_of_time_in_words_to_now story.happened
ago
ago, by
= link_to story.member.name , main_app.member_path(story.member) , class: :underline
.mt-3{ prose_classes }
= markdown(story.text)

View File

@ -5,7 +5,8 @@
= story.header
.text-xl.pb-6{ prose_classes }
= distance_of_time_in_words_to_now story.happened
ago
ago, by
= link_to story.member.name , main_app.member_path(story.member) , class: :underline
.max-w-full.mt-4.gap-16.columns-1.md:columns-2.lg:columns-3.xl:columns-4{ prose_classes }
= picture_for( story , "h-56 w-full object-cover sm:h-full")
= markdown(story.text)