Skip to content

Commit

Permalink
Add thank you page after reporting a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Jan 29, 2024
1 parent b940e01 commit 556439d
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 0 deletions.
78 changes: 78 additions & 0 deletions app/assets/images/tailwind/illustration/thank_you.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions app/views/_tailwind/reports/thank_you.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<% content_for :page_title, "Report a comment" %>

<div class="mb-8">
<%= pa_link_to "< Back to application", @comment.application, class: "text-2xl" %>
</div>

<%= render Tailwind::Heading.new(tag: :h1) do %>
<%= yield :page_title %>
<% end %>

<div class="flex flex-col items-center gap-8 px-20 py-12 mt-16 text-2xl lg:flex-row text-navy bg-light-grey">
<div>
<p>
Thank you!
</p>

<p class="mt-6">
The comment has been reported and a moderator will look into it as soon as possible.
</p>

<p class="mt-6">
Thanks for taking the time let us know about this.
</p>
</div>
<%= image_tag "tailwind/illustration/thank_you.svg", alt: "Illustration of a woman giving a thumbs up" %>
</div>

0 comments on commit 556439d

Please sign in to comment.