From 321810eecac85cae566d967b58ea4227e88b751d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Tue, 29 Nov 2022 23:35:35 +0100 Subject: [PATCH] Format --- lib/livebook_web/live/layout_helpers.ex | 8 +++++++- lib/livebook_web/live/learn_live.ex | 6 +++++- lib/livebook_web/templates/layout/root.html.heex | 12 ++++++++++-- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/lib/livebook_web/live/layout_helpers.ex b/lib/livebook_web/live/layout_helpers.ex index feab54aeb..bd31de2a8 100644 --- a/lib/livebook_web/live/layout_helpers.ex +++ b/lib/livebook_web/live/layout_helpers.ex @@ -82,7 +82,13 @@ defmodule LivebookWeb.LayoutHelpers do
<%= live_redirect to: Routes.home_path(@socket, :page), class: "flex items-center border-l-4 border-gray-900 group" do %> - logo livebook + logo livebook diff --git a/lib/livebook_web/live/learn_live.ex b/lib/livebook_web/live/learn_live.ex index a602fdfc3..00360b6bf 100644 --- a/lib/livebook_web/live/learn_live.ex +++ b/lib/livebook_web/live/learn_live.ex @@ -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" > - livebook + livebook

<%= @lead_notebook_info.title %> diff --git a/lib/livebook_web/templates/layout/root.html.heex b/lib/livebook_web/templates/layout/root.html.heex index 1552f932f..d83f07519 100644 --- a/lib/livebook_web/templates/layout/root.html.heex +++ b/lib/livebook_web/templates/layout/root.html.heex @@ -9,8 +9,16 @@ <%= live_title_tag(assigns[:page_title] || "Livebook") %> - - + + <%= @inner_content %>