Copy edit

This commit is contained in:
José Valim 2022-08-10 07:43:43 +02:00
parent f98ea6ce03
commit e35c6d2471

View file

@ -39,12 +39,7 @@ defmodule LivebookWeb.HubLive do
<div> <div>
<PageHelpers.title text="Hub" socket={@socket} /> <PageHelpers.title text="Hub" socket={@socket} />
<p class="mt-4 text-gray-700"> <p class="mt-4 text-gray-700">
Here you can create your Hubs. Manage your Livebooks in the cloud with Hubs.
Keep in mind that this configuration gets persisted and
will be restored on application launch.
</p>
<p class="mt-4 text-gray-700">
Follow the next steps to create you Hub configuration.
</p> </p>
</div> </div>
@ -59,7 +54,7 @@ defmodule LivebookWeb.HubLive do
<.fly_logo /> <.fly_logo />
</:logo> </:logo>
<:headline> <:headline>
Connect your Livebook on Fly Deploy notebooks to your Fly account.
</:headline> </:headline>
</.card_item> </.card_item>
@ -68,8 +63,7 @@ defmodule LivebookWeb.HubLive do
<img src="/images/logo.png" class="max-h-full max-w-[75%]" alt="Fly logo" /> <img src="/images/logo.png" class="max-h-full max-w-[75%]" alt="Fly logo" />
</:logo> </:logo>
<:headline> <:headline>
Write notebooks in Livebook then securely deploy and share them Control access, manage secrets, and deploy notebooks within your team and company.
with your team and company with Livebook Enterprise.
</:headline> </:headline>
</.card_item> </.card_item>
</div> </div>
@ -78,7 +72,7 @@ defmodule LivebookWeb.HubLive do
<%= if @selected_hub_service do %> <%= if @selected_hub_service do %>
<div class="flex flex-col space-y-4"> <div class="flex flex-col space-y-4">
<h2 class="text-xl text-gray-800 font-semibold pb-2 border-b border-gray-200"> <h2 class="text-xl text-gray-800 font-semibold pb-2 border-b border-gray-200">
2. Connect to your Hub with the following form 2. Configure your Hub
</h2> </h2>
<%= if @selected_hub_service == "fly" do %> <%= if @selected_hub_service == "fly" do %>
@ -86,14 +80,12 @@ defmodule LivebookWeb.HubLive do
<% end %> <% end %>
<%= if @selected_hub_service == "enterprise" do %> <%= if @selected_hub_service == "enterprise" do %>
<div class="flex"> <div>
<span class="text-sm font-medium"> Livebook Enterprise is currently in closed beta. If you want to learn more, <a
If you want to learn more, <a href="https://livebook.dev/#livebook-plans"
href="https://livebook.dev/#livebook-plans" class="pointer-events-auto text-blue-600"
class="pointer-events-auto text-blue-600" target="_blank"
target="_blank" >click here</a>.
>click here</a>.
</span>
</div> </div>
<% end %> <% end %>
</div> </div>
@ -197,7 +189,7 @@ defmodule LivebookWeb.HubLive do
phx-debounce="blur" phx-debounce="blur"
> >
<div class="flex flex-col space-y-1"> <div class="flex flex-col space-y-1">
<h3 class="text-lg text-gray-800 font-semibold"> <h3 class="text-gray-800 font-semibold">
Access Token Access Token
</h3> </h3>
<%= password_input(f, :token, <%= password_input(f, :token,
@ -213,7 +205,7 @@ defmodule LivebookWeb.HubLive do
<%= if length(@machines) > 0 do %> <%= if length(@machines) > 0 do %>
<div class="flex flex-col space-y-1"> <div class="flex flex-col space-y-1">
<h3 class="text-lg text-gray-800 font-semibold"> <h3 class="text-gray-800 font-semibold">
Application Application
</h3> </h3>
<%= select(f, :application, @machines, class: "input") %> <%= select(f, :application, @machines, class: "input") %>
@ -221,14 +213,14 @@ defmodule LivebookWeb.HubLive do
<div class="grid grid-cols-1 md:grid-cols-2 gap-3"> <div class="grid grid-cols-1 md:grid-cols-2 gap-3">
<div class="flex flex-col space-y-1"> <div class="flex flex-col space-y-1">
<h3 class="text-lg text-gray-800 font-semibold"> <h3 class="text-gray-800 font-semibold">
Name Name
</h3> </h3>
<%= text_input(f, :name, value: @data["name"], class: "input") %> <%= text_input(f, :name, value: @data["name"], class: "input") %>
</div> </div>
<div class="flex flex-col space-y-1"> <div class="flex flex-col space-y-1">
<h3 class="text-lg text-gray-800 font-semibold"> <h3 class="text-gray-800 font-semibold">
Color Color
</h3> </h3>