Add banner about new UI

pull/9015/head
Viktor Baranov 10 months ago
parent 373eb063da
commit dcf423b673
  1. 3
      apps/block_scout_web/lib/block_scout_web/templates/layout/app.html.eex

@ -69,6 +69,9 @@
<input id="js-re-captcha-disabled" class="d-none" value="<%= Application.get_env(:block_scout_web, :recaptcha)[:is_disabled] %>" />
<input id="js-network-path" class="d-none" value="<%= Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint)[:url][:path] %>" />
<!-- -->
<div class="alert alert-warning text-center mb-0 p-3">
<%= raw("The new Blockscout UI is now open source! Learn how to <a href='https://docs.blockscout.com/for-developers/deployment/frontend-migration' target='_blank'>deploy it here</a>") %>
</div>
<% show_maintenance_alert = Application.get_env(:block_scout_web, BlockScoutWeb.Chain)[:show_maintenance_alert] %>
<%= if show_maintenance_alert do %>
<div class="alert alert-warning text-center mb-0 p-3">

Loading…
Cancel
Save