Created
December 22, 2020 21:18
-
-
Save NandoKstroNet/e238cbeb6fa6f30d0ed9489b6df25157 to your computer and use it in GitHub Desktop.
Componente Cartão de Crédito com Livewire, feito para o curso Livewire na Prática da http://codeexperts.com.br
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="max-w-7xl mx-auto py-15 px-4"> | |
@include('includes.message') | |
<div class="flex flex-wrap -mx-3 mb-6"> | |
<h2 class="w-full px-3 mb-6 border-b-2 border-cool-gray-800 pb-4"> | |
Realizar Pagamento Assinatura | |
</h2> | |
</div> | |
<form action="" name="creditCard" class="w-full max-w-7xl mx-auto"> | |
<div class="flex flex-wrap -mx-3 mb-6"> | |
<p class="w-full px-3 mb-6"> | |
<label class="block uppercase tracking-wide text-gray-700 text-xs font-bold mb-2">Número Cartão</label> | |
<input type="text" name="card_number" class="block appearance-none w-full bg-gray-200 border border-gray-200 text-gray-700 py-3 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-gray-500"> | |
</p> | |
<p class="w-full px-3 mb-6"> | |
<label class="block uppercase tracking-wide text-gray-700 text-xs font-bold mb2">Nome Cartão</label> | |
<input type="text" name="card_name" class="block appearance-none w-full bg-gray-200 border border-gray-200 text-gray-700 py-3 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-gray-500"> | |
</p> | |
</div> | |
<div class="flex -mx-3"> | |
<p class="w-full px-3 mb-6"> | |
<label class="block uppercase tracking-wide text-gray-700 text-xs font-bold mb2">Mês Vencimento</label> | |
<input type="text" name="card_month" class="block appearance-none w-full bg-gray-200 border border-gray-200 text-gray-700 py-3 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-gray-500"> | |
</p> | |
<p class="w-full px-3 mb-6"> | |
<label class="block uppercase tracking-wide text-gray-700 text-xs font-bold mb2">Ano Vencimento</label> | |
<input type="text" name="card_year" class="block appearance-none w-full bg-gray-200 border border-gray-200 text-gray-700 py-3 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-gray-500"> | |
</p> | |
</div> | |
<div class="flex flex-wrap -mx-3 mb-6"> | |
<p class="w-full px-3 mb-6"> | |
<label class="block uppercase tracking-wide text-gray-700 text-xs font-bold mb2">Código de Segurança</label> | |
<input type="text" name="card_cvv" class="block appearance-none w-full bg-gray-200 border border-gray-200 text-gray-700 py-3 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-gray-500"> | |
</p> | |
<p class="w-full py-4 px-3 mb-6"> | |
<button type="submit" class="flex-shrink-0 bg-teal-500 hover:bg-teal-700 border-teal-500 hover:border-teal-700 text-sm border-4 text-white py-1 px-2 rounded">Realizar Assinatura</button> | |
</p> | |
</div> | |
</form> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment