No notes defined.

  • Handle: @tw-ui-with-paragraph-on-brand-card
  • Preview:
  • Filesystem Path: components/10-other-examples/tailwind-ui-components/newsletter-signup/with-paragraph-on-brand-card.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-300 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 items-center">

                    <div class="flex flex-col md:mr-4">
                        <p class="mr-2 font-semibold text-2xl">
                            Want product news and updates?
                        </p>
                        <p class="">
                            Sign up for our newsletter to stay up to date.
                        </p>
                    </div>

                    <div>

                        <div class="flex flex-col md: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 md:ml-4 px-12 py-2 inline-text bg-blue-500 rounded mt-2 md:mt-0 text-white">Notify Me</button>

                        </div>

                        <p class="text-sm mt-2">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-300 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 items-center">

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

          <div>

            <div class="flex flex-col md: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 md:ml-4 px-12 py-2 inline-text bg-blue-500 rounded mt-2 md:mt-0 text-white">{{ text3 }}</button>

            </div>

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

          </div>

        </div>
      </div>
    </div>
  </div>
</div>
{
  "text1": "Want product news and updates?",
  "text2": "Sign up for our newsletter to stay up to date.",
  "text3": "Notify Me",
  "text4": "We care about the protection fo your data. Read our privacy policy"
}