added sidebar

This commit is contained in:
unknown committed 2020-10-25 00:19:20 +08:00
1 parent 7313a1fd1c
commit c2fdc9a104
1 file changed
+7 -5
+7 -5
View File
@@ -538,7 +538,8 @@
<main> <main>
<span class="z-30 w-full h-full absolute opacity-75 bg-indigo-800 hidden" <span class="z-30 w-full h-full absolute opacity-75 bg-indigo-800 hidden"
id="example-collapse-overlay"></span> id="example-collapse-overlay"></span>
<section class="z-40 max-w-lg absolute right-0"> <section class="sticky z-50 top-0">
<div class="max-w-lg absolute right-0 ">
<div class="pb-3 rounded-sm hover:shadow-xl tracking-wide bg-gray-200"> <div class="pb-3 rounded-sm hover:shadow-xl tracking-wide bg-gray-200">
<div class="relative"> <div class="relative">
<a href="#"> <a href="#">
@@ -607,14 +608,14 @@
</div> </div>
<div class="mt-8"> <div class="mt-8">
<div class="w-full"> <div class="w-full">
<input class="w-full px-3 py-2 rounded-md" type="text" placeholder="Full Name"> <input class="w-full px-3 py-2 rounded-md border focus:outline-none focus:border-gray-700" type="text" placeholder="Full Name">
</div> </div>
<div class="flex mt-2"> <div class="flex mt-2">
<input class="mr-2 w-full px-3 py-2 rounded-md" type="text" placeholder="Contact #"> <input class="mr-2 w-full px-3 py-2 rounded-md border focus:outline-none focus:border-gray-700" type="text" placeholder="Contact #">
<input class="w-full px-3 py-2 rounded-md" type="text" placeholder="Email Address"> <input class="w-full px-3 py-2 rounded-md border focus:outline-none focus:border-gray-700" type="text" placeholder="Email Address">
</div> </div>
<div class="w-full mt-2"> <div class="w-full mt-2">
<textarea class="w-full px-3 py-1 text-gray-500 rounded-md" rows="4" type="text">Optional Message</textarea> <textarea class="w-full px-3 py-1 text-gray-500 rounded-md border focus:outline-none focus:border-gray-700" rows="4" type="text">Optional Message</textarea>
</div> </div>
<div class="w-full mt-12 mb-3"> <div class="w-full mt-12 mb-3">
<button class="py-2 w-full text-lg font-bold bg-green-300 rounded-none">SEND INQUIRY</button> <button class="py-2 w-full text-lg font-bold bg-green-300 rounded-none">SEND INQUIRY</button>
@@ -624,6 +625,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</section> </section>
<section class="bg-gray-100 shadow-md"> <section class="bg-gray-100 shadow-md">
<div class="container mx-auto pt-2 pb-2 px-4 md:pt-6 md:pb-3 sm:px-16 md:px-10 lg:px-12 xl:pt-5 xl:pb-5 xl:pl-24 xl:pr-20"> <div class="container mx-auto pt-2 pb-2 px-4 md:pt-6 md:pb-3 sm:px-16 md:px-10 lg:px-12 xl:pt-5 xl:pb-5 xl:pl-24 xl:pr-20">