Changes copy of Add Teams Hub page (#2139)

This commit is contained in:
Hugo Baraúna 2023-08-04 09:34:04 -03:00 committed by GitHub
parent 1ad5b2e69d
commit 9d206b06d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 4 deletions

View file

@ -43,9 +43,22 @@ defmodule LivebookWeb.Hub.NewLive do
<div class="flex flex-col p-4 md:px-12 md:py-7 max-w-screen-md mx-auto space-y-8"> <div class="flex flex-col p-4 md:px-12 md:py-7 max-w-screen-md mx-auto space-y-8">
<div> <div>
<LayoutHelpers.title text="Add Hub" /> <LayoutHelpers.title text="Add organization" />
<p class="mt-4 text-gray-700"> <p class="mt-4 text-gray-700">
Manage your Livebooks in the cloud with Hubs. <a
class="font-medium underline text-gray-900 hover:no-underline"
href="https://livebook.dev/teams?ref=LivebookApp"
target="_blank"
phx-no-format
>
Livebook Teams</a> amplifies Livebook with features designed for teams and businesses. It is currently in closed beta.
</p>
<p class="mt-4 text-gray-700">
To create a Teams organization, you must <a
class="font-medium underline text-gray-900 hover:no-underline"
href="https://livebook.dev/teams?ref=LivebookApp"
target="_blank"
>join the beta for free early access</a>.
</p> </p>
</div> </div>
<!-- TABS --> <!-- TABS -->

View file

@ -220,7 +220,7 @@ defmodule LivebookWeb.LayoutHelpers do
<% end %> <% end %>
<% end %> <% end %>
<.sidebar_link title="Add Teams" icon="add-line" to={~p"/hub"} current={@current_page} /> <.sidebar_link title="Add Organization" icon="add-line" to={~p"/hub"} current={@current_page} />
</div> </div>
</div> </div>
""" """

View file

@ -208,7 +208,7 @@ defmodule LivebookWeb.HomeLiveTest do
test "renders sidebar section", %{conn: conn} do test "renders sidebar section", %{conn: conn} do
{:ok, _view, html} = live(conn, ~p"/") {:ok, _view, html} = live(conn, ~p"/")
assert html =~ "HUBS" assert html =~ "HUBS"
assert html =~ "Add Teams" assert html =~ "Add Organization"
end end
test "renders sidebar persisted hubs", %{conn: conn} do test "renders sidebar persisted hubs", %{conn: conn} do