신규 추가 작업 중

This commit is contained in:
2025-05-29 08:46:12 +09:00
parent a117d417f4
commit 2d174d4fd0
34 changed files with 892 additions and 175 deletions

View File

@@ -21,16 +21,17 @@
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
<%= javascript_include_tag "application", "data-turbo-track": "reload", type: "module" %>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
</head>
<body class="background-pattern min-h-screen min-w-full overflow-x-auto h-full whitespace-nowrap">
<body class="min-h-screen min-w-full overflow-x-auto h-full whitespace-nowrap">
<%= turbo_frame_tag :modals %>
<main class="flex flex-col h-full" data-controller="sidebar">
<%= render "partials/header" %>
<div class="flex flex-row flex-1 w-full">
<%= render "partials/sidebar" %>
<div class="flex-1 h-full pb-0 px-0 lg:pb-4 lg:px-4">
<div class="flex-1 h-full content">
<main class="flex flex-row h-full min-h-screen" data-controller="sidebar">
<%= render "partials/sidebar" %>
<div class="flex flex-col flex-1 w-full h-[100vh]">
<%= render "partials/header" %>
<div class="flex-1 h-full pb-0 px-0 lg:pb-4 lg:px-4 lg:overflow-y-auto">
<div class="flex-1 h-full min-h-full">
<% if flash[:notice] %>
<div class="rounded-tl-md rounded-tr-md px-4 py-2 bg-accept text-white">
<%= raw flash[:notice] %>
@@ -43,6 +44,7 @@
<%= yield %>
</div>
</div>
<div class="h-10 text-md text-center opacity-60">© 2024 FARMITRY All Rights Reserved.</div>
</div>
</main>
</body>