app/views/posts/new.html.haml
%section.select-prompt-section.flex-center--row.flex-justify--center
%section.select-prompt-section__today.text-center
%h2 Today's prompt:
%p.writing-prompt
= @prompt.content
= link_to "Use today's prompt", posts_path(prompt: @prompt.id), class: "start-writing",
method: :post
.select-prompt-section__divider
= react_component("RandomPromptSection", path: posts_path(prompt: @random_prompt.id), prompt: @random_prompt.content )
.prompt-links.flex-center--column.flex-justify--space-between.breathe
= link_to "Don't use prompt", posts_path(prompt: nil),
class: "link",
method: :post
= link_to "Profile", profile_path, class: "button-light"