헤더 모바일용 메뉴 버튼 추가, 스케줄러 edit view 스타일 수정
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
<header class="flex header" data-controller="timer">
|
||||
<div class="flex flex-row h-full">
|
||||
<%= image_tag "svg/svg_logo.svg", class: "w-fit h-auto mr-4" %>
|
||||
<header class="flex header justify-between items-center">
|
||||
<div class="flex flex-row h-full items-center">
|
||||
<%= image_tag "svg/svg_logo.svg", class: "w-auto h-8 mr-4" %>
|
||||
<%= link_to root_path do %>
|
||||
<div class="flex h-full items-center tracking-[0.5rem]">FARMITRY</div>
|
||||
<% end %>
|
||||
</div>
|
||||
<div data-timer-target="output"></div>
|
||||
|
||||
<div data-timer-target="output" class="hidden md:block"></div>
|
||||
|
||||
<button data-action="click->sidebar#toggle" class="block md:hidden p-2 cursor-pointer">
|
||||
<i class="fa-solid fa-bars text-2xl"></i>
|
||||
</button>
|
||||
</header>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<nav class="side-bar overflow-y-auto">
|
||||
<div data-sidebar-target="overlay" data-action="click->sidebar#close" class="fixed inset-0 bg-black/50 z-40 hidden md:hidden"></div>
|
||||
<nav class="side-bar overflow-y-auto transition-transform md:translate-x-0 -translate-x-full fixed md:relative top-0 left-0 h-full bg-base-background z-50" data-sidebar-target="menu">
|
||||
<div class="menu-group">
|
||||
<div class="menu-group-icon">
|
||||
<i class="fa-solid fa-house text-base-text/30 text-4xl"></i>
|
||||
|
||||
Reference in New Issue
Block a user