add member link to story

This commit is contained in:
Torsten 2023-02-02 18:13:53 +02:00
parent 5ceaff890f
commit 9b4bb18924
3 changed files with 6 additions and 3 deletions

View File

@ -7,6 +7,7 @@
= 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)