Add compact layout for content, port sign-in screens
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<header class="py-10">
|
||||
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<h1 class="text-3xl font-bold text-white"><%= page_title %></h1>
|
||||
<h1 class="text-3xl font-bold text-white">
|
||||
<%= page_title %>
|
||||
</h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
7
app/views/components/_header_compact.html.erb
Normal file
7
app/views/components/_header_compact.html.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<header class="py-10">
|
||||
<div class="max-w-xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<h1 class="text-3xl font-bold text-white text-center">
|
||||
<%= page_title %>
|
||||
</h1>
|
||||
</div>
|
||||
</header>
|
||||
5
app/views/components/_main_compact.html.erb
Normal file
5
app/views/components/_main_compact.html.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<main class="w-full max-w-xl mx-auto pb-12 px-4 sm:px-6 lg:px-8">
|
||||
<div class="bg-white rounded-lg shadow px-6 py-12 sm:px-12">
|
||||
<%= yield %>
|
||||
</div>
|
||||
</main>
|
||||
Reference in New Issue
Block a user