mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-10 13:38:09 +08:00
Format
This commit is contained in:
parent
f4e836a5da
commit
321810eeca
3 changed files with 22 additions and 4 deletions
|
@ -82,7 +82,13 @@ defmodule LivebookWeb.LayoutHelpers do
|
|||
<div class="space-y-3">
|
||||
<div class="flex items-center mb-5">
|
||||
<%= live_redirect to: Routes.home_path(@socket, :page), class: "flex items-center border-l-4 border-gray-900 group" do %>
|
||||
<img src={Routes.static_path(@socket, "/images/logo.png")} class="mx-2" height="40" width="40" alt="logo livebook" />
|
||||
<img
|
||||
src={Routes.static_path(@socket, "/images/logo.png")}
|
||||
class="mx-2"
|
||||
height="40"
|
||||
width="40"
|
||||
alt="logo livebook"
|
||||
/>
|
||||
<span class="text-gray-300 text-2xl font-logo ml-[-1px] group-hover:text-white pt-1">
|
||||
Livebook
|
||||
</span>
|
||||
|
|
|
@ -41,7 +41,11 @@ defmodule LivebookWeb.LearnLive do
|
|||
id="welcome-to-livebook"
|
||||
class="p-8 bg-gray-900 rounded-2xl flex flex-col sm:flex-row space-y-8 sm:space-y-0 space-x-0 sm:space-x-8 items-center"
|
||||
>
|
||||
<img src={Routes.static_path(@socket, @lead_notebook_info.details.cover_url)} width="100" alt="livebook" />
|
||||
<img
|
||||
src={Routes.static_path(@socket, @lead_notebook_info.details.cover_url)}
|
||||
width="100"
|
||||
alt="livebook"
|
||||
/>
|
||||
<div>
|
||||
<h3 class="text-xl text-gray-50 font-semibold">
|
||||
<%= @lead_notebook_info.title %>
|
||||
|
|
|
@ -9,8 +9,16 @@
|
|||
<link rel="alternate icon" type="image/png" href={Routes.static_path(@conn, "/favicon.png")} />
|
||||
<%= live_title_tag(assigns[:page_title] || "Livebook") %>
|
||||
<link phx-track-static rel="stylesheet" href={Routes.static_path(@conn, "/css/app.css")} />
|
||||
<script>window.LIVEBOOK_BASE_URL_PATH = "<%= Livebook.Config.base_url_path() %>";</script>
|
||||
<script phx-track-static defer type="text/javascript" src={Routes.static_path(@conn, "/js/app.js")}></script>
|
||||
<script>
|
||||
window.LIVEBOOK_BASE_URL_PATH = "<%= Livebook.Config.base_url_path() %>";
|
||||
</script>
|
||||
<script
|
||||
phx-track-static
|
||||
defer
|
||||
type="text/javascript"
|
||||
src={Routes.static_path(@conn, "/js/app.js")}
|
||||
>
|
||||
</script>
|
||||
</head>
|
||||
<body class="bg-white">
|
||||
<%= @inner_content %>
|
||||
|
|
Loading…
Add table
Reference in a new issue