Decompose into partials
This commit is contained in:
17
app/views/home/_registry.html.erb
Normal file
17
app/views/home/_registry.html.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
<div id="registry" class="w-screen text-slate-900 lg:my-8 bg-[<%= color %>] lg:bg-[#fdfefe]">
|
||||
<div class="container mx-auto bg-[<%= color %>] lg:rounded-2xl pt-4 lg:mt-4 lg:pb-2 lg:shadow-2xl lg:mb-4">
|
||||
<div class="w-fit mx-auto lg:flex lg:flex-row lg:justify-center lg:items-center">
|
||||
<span class="text-5xl pl-4 lg:pt-4 rogue-script lg:text-7xl">Registry & Gifts</span>
|
||||
</div>
|
||||
<div class="w-fit mx-auto px-8 pt-4 lg:w-2/3">
|
||||
<p class="text-lg text-justify text-slate-900 px-6 lg:px-0">
|
||||
Your presence is the best gift, but if you’d like to help us start our next chapter,
|
||||
we’ve put together a registry with some things we love. Feel free to browse or
|
||||
choose something meaningful to you!
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex flex-col pt-4 lg:flex-row lg:w-1/3 lg:mx-auto lg:my-12 text-center items-center justify-center">
|
||||
<a class="text-xl rounded-lg bg-emerald-600 px-4 py-4 mb-4 lg:mr-4 w-1/3 text-slate-100 hover:bg-emerald-500" href="/registry">Registry</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user