feat(portal): Add flash asking people to deploy more than 1 gateway to a site (#7034)

This should help with showcasing core features of our product and to
increase their adoption.

Closes #5009
This commit is contained in:
Andrew Dryga
2024-10-14 15:50:19 -06:00
committed by GitHub
parent 7245652671
commit 2ab70c2f27

View File

@@ -164,6 +164,13 @@ defmodule Web.Sites.Show do
its resources.
</:help>
<:content flash={@flash}>
<.flash :if={@gateways_metadata.count == 1} kind={:info} style="wide" class="mb-2">
Deploy at least one more gateway to ensure
<.website_link path="/kb/deploy/gateways" fragment="deploy-multiple-gateways">
high availability
</.website_link>.
</.flash>
<div class="relative overflow-x-auto">
<.live_table
id="gateways"