mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-06 03:34:57 +08:00
Changes copy of Add Teams Hub page (#2139)
This commit is contained in:
parent
1ad5b2e69d
commit
9d206b06d0
3 changed files with 17 additions and 4 deletions
|
@ -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>
|
||||
<LayoutHelpers.title text="Add Hub" />
|
||||
<LayoutHelpers.title text="Add organization" />
|
||||
<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>
|
||||
</div>
|
||||
<!-- TABS -->
|
||||
|
|
|
@ -220,7 +220,7 @@ defmodule LivebookWeb.LayoutHelpers do
|
|||
<% 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>
|
||||
"""
|
||||
|
|
|
@ -208,7 +208,7 @@ defmodule LivebookWeb.HomeLiveTest do
|
|||
test "renders sidebar section", %{conn: conn} do
|
||||
{:ok, _view, html} = live(conn, ~p"/")
|
||||
assert html =~ "HUBS"
|
||||
assert html =~ "Add Teams"
|
||||
assert html =~ "Add Organization"
|
||||
end
|
||||
|
||||
test "renders sidebar persisted hubs", %{conn: conn} do
|
||||
|
|
Loading…
Add table
Reference in a new issue