app/components/lookbook/header/component.html.erb in lookbook-2.0.0.beta.3 vs app/components/lookbook/header/component.html.erb in lookbook-2.0.0.beta.4

- old
+ new

@@ -1,15 +1,18 @@ <%= render_component_tag :header do %> <%= lookbook_render :toolbar, class: "!bg-lookbook-header-bg !text-lookbook-header-text !border-lookbook-header-border" do |toolbar| %> <% toolbar.with_section padded: true do %> - <% if branding.present? %> - <a - <% if landing_path %>href="<%= landing_path %>"<% end %> - class="text-sm truncate uppercase font-black tracking-wider text-lookbook-branding-text"> - <%= branding %> - </a> - <% end %> + <div class="flex items-center space-x-3"> + <%= lookbook_render :logo, size: 4 %> + <% if branding.present? %> + <a + <% if landing_path %>href="<%= landing_path %>"<% end %> + class="text-sm truncate uppercase font-black tracking-wider text-lookbook-branding-text"> + <%= branding %> + </a> + <% end %> + </div> <% end %> <% toolbar.with_section padded: false, align: :right, class: "flex items-center -mt-px" do %> <div x-show="loading" x-cloak> <svg class="animate-spin h-3.5 w-3.5 text-lookbook-header-text opacity-60" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"> @@ -20,10 +23,10 @@ <%= lookbook_render :button_group do |group| %> <% if @debug_menu %> <% group.with_button id: "debug-menu-button", icon: :help_circle, - class: "opacity-50 hover:opacity-100 transition !text-lookbook-header-text", "x-show": "!loading" do |button| %> + class: "!text-lookbook-header-text", "x-show": "!loading" do |button| %> <% menu = lookbook_render :debug_menu, version: Lookbook::VERSION, docs_url: "https://lookbook.build/guide", repo_url: "https://github.com/ViewComponent/lookbook" do %> <%= debug_data %> \ No newline at end of file