Skip to content

Commit

Permalink
Add a demo banner for public sites (#520)
Browse files Browse the repository at this point in the history
Co-authored-by: Sree P <[email protected]>
  • Loading branch information
nsiwnf and nsiwnf authored Mar 10, 2024
1 parent 5763876 commit 10b14ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/layouts/shared/_navbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,9 @@
</div>
</div>
</nav>
<!-- Demo banner-->
<% if Rails.env.staging? %>
<div class="container-fluid m-0 p-2 text-center bg-danger-soft display-6">
This is a demo site
</div>
<% end %>

0 comments on commit 10b14ee

Please sign in to comment.