No notes defined.

  • Handle: @tw-ui-with-paragraph-on-dark
  • Preview:
  • Filesystem Path: components/10-other-examples/tailwind-ui-components/newsletter-signup/with-paragraph-on-dark.hbs
<div class="max-w-8xl mx-auto px-4 lg:px-6 absolute top-0 mt-8 left-0 right-0 mb-6">
    <div class="py-12 pl-6 pr-3 rounded-lg bg-gray-900 shadow-lg">
        <div class="flex items-center justify-between flex-wrap">
            <div class="flex flex-col md:flex-row w-full flex-1 flex md:items-center md:justify-center sm:w-0">
                <div class="flex flex-col md:flex-row text-white">

                    <div class="flex flex-col md:mr-4 max-w-lg">
                        <p class="mr-2 font-semibold text-2xl">
                            Sign up for our newsletter
                        </p>
                        <p class="text-gray-300">
                            Lorem ipsum dolor the amet chances adipisicing of. Qui, anything Repellat, comming at from reiciendis mars cum are optio a dolorum million nulla to, amet one exercitationem he saepe said.
                        </p>
                    </div>

                    <div>

                        <div class="flex flex-col lg:flex-row mt-4 items-center justify-center">

                            <input class="appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" id="email" type="text" placeholder="Enter Your Email">

                            <button class="w-full lg:ml-4 px-12 py-2 inline-text bg-blue-500 rounded mt-2 lg:mt-0 text-white">Notify Me</button>

                        </div>

                        <p class="text-sm mt-2 text-gray-300">We care about the protection fo your data. Read our privacy policy</p>

                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<div class="max-w-8xl mx-auto px-4 lg:px-6 absolute top-0 mt-8 left-0 right-0 mb-6">
  <div class="py-12 pl-6 pr-3 rounded-lg bg-gray-900 shadow-lg">
    <div class="flex items-center justify-between flex-wrap">
      <div class="flex flex-col md:flex-row w-full flex-1 flex md:items-center md:justify-center sm:w-0">
        <div class="flex flex-col md:flex-row text-white">

          <div class="flex flex-col md:mr-4 max-w-lg">
            <p class="mr-2 font-semibold text-2xl">
              {{ text1 }}
            </p>
            <p class="text-gray-300">
              {{ text2 }}
            </p>
          </div>

          <div>

            <div class="flex flex-col lg:flex-row mt-4 items-center justify-center">

              <input
                class="appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
                id="email" type="text" placeholder="Enter Your Email">

              <button class="w-full lg:ml-4 px-12 py-2 inline-text bg-blue-500 rounded mt-2 lg:mt-0 text-white">{{ text3 }}</button>

            </div>

            <p class="text-sm mt-2 text-gray-300">{{ text4 }}</p>

          </div>

        </div>
      </div>
    </div>
  </div>
</div>
{
  "text1": "Sign up for our newsletter",
  "text2": "Lorem ipsum dolor the amet chances adipisicing of. Qui, anything Repellat, comming at from reiciendis mars cum are optio a dolorum million nulla to, amet one exercitationem he saepe said.",
  "text3": "Notify Me",
  "text4": "We care about the protection fo your data. Read our privacy policy"
}