Skip to content

Commit

Permalink
Add db downtime warning bar
Browse files Browse the repository at this point in the history
  • Loading branch information
iHiD committed Sep 17, 2023
1 parent 6e712c1 commit 58018b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/helpers/view_components/site_header.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ def to_s
def announcement_bar
return tag.span("") unless user_signed_in? && !current_user&.donated?

link_to(Exercism::Routes.insiders_path, class: "announcement-bar md:block hidden") do
tag.div(class: "announcement-bar md:block hidden !bg-[#8B0000]") do
tag.div(class: "lg-container") do
tag.span("👋", class: 'emoji mr-6') +
tag.span("Enjoying Exercism? We need your help to survive…") +
tag.strong("Please support us if you can!")
tag.span("⚠️", class: 'emoji mr-6') +
tag.span("We are updating our databases and will be offline for 10-30mins sometime in the next three hours.") +
tag.span("⚠️", class: 'emoji ml-6')
end
end
end
Expand Down

0 comments on commit 58018b0

Please sign in to comment.