Introduce ViewComponent
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
https://viewcomponent.org
This commit is contained in:
5
app/components/main_compact_component.html.erb
Normal file
5
app/components/main_compact_component.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">
|
||||
<%= content %>
|
||||
</div>
|
||||
</main>
|
||||
Reference in New Issue
Block a user