app/views/layouts/lookbook/page.html.erb in lookbook-1.0.8 vs app/views/layouts/lookbook/page.html.erb in lookbook-1.1.0

- old
+ new

@@ -10,32 +10,32 @@ <div class="absolute top-0 right-0 pt-1 pr-0 pl-1 pb-1 rounded-bl-md"> <div class="bg-lookbook-page-bg opacity-90 absolute inset-0 w-full h-full z-0"></div> <div class="relative z-10 flex items-center"> <% if @previous_page %> - <%= render_component :button, + <%= lookbook_render :button, size: :lg, icon: :chevron_left, tooltip: "Previous page", href: lookbook_page_path(@previous_page.lookup_path), class: "pr-0.5 bg-transparent" %> <% else %> - <%= render_component :button, + <%= lookbook_render :button, size: :lg, icon: :chevron_left, disabled: true, class: "opacity-50 !cursor-default pr-0.5 bg-transparent" %> <% end %> <% if @next_page %> - <%= render_component :button, + <%= lookbook_render :button, size: :lg, icon: :chevron_right, tooltip: "Next page", href: lookbook_page_path(@next_page.lookup_path), class: "pl-0.5 bg-transparent" %> <% else %> - <%= render_component :button, + <%= lookbook_render :button, size: :lg, icon: :chevron_right, disabled: true, class: "opacity-50 !cursor-default pl-0.5 bg-transparent" %> <% end %> \ No newline at end of file