a7-card / register.html
A7Card's picture
Prompt para IA DeepSite
19f0555 verified
Raw History Blame Contribute Delete
13.3 kB
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cadastro - DeepSite</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.register-bg {
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.card-shadow {
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.account-type.active {
border-color: #6366f1;
background-color: #f0f1ff;
}
</style>
</head>
<body class="register-bg min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-2xl w-full bg-white p-10 rounded-xl card-shadow">
<div>
<div class="flex justify-center">
<i data-feather="cpu" class="h-12 w-12 text-indigo-600"></i>
</div>
<h2 class="mt-6 text-center text-3xl font-extrabold text-gray-900">
Crie sua conta
</h2>
<p class="mt-2 text-center text-sm text-gray-600">
Já tem uma conta? <a href="login.html" class="font-medium text-indigo-600 hover:text-indigo-500">Faça login</a>
</p>
</div>
<div class="mt-8">
<div class="mb-6">
<h3 class="text-lg font-medium text-gray-900">Tipo de conta</h3>
<div class="mt-4 grid grid-cols-1 gap-y-6 sm:grid-cols-3 sm:gap-x-4">
<!-- Client Account -->
<label class="relative border rounded-lg shadow-sm p-4 flex cursor-pointer account-type">
<input type="radio" name="account-type" class="sr-only" aria-labelledby="account-type-0-label" aria-describedby="account-type-0-description-0 account-type-0-description-1">
<span class="flex-1 flex">
<span class="flex flex-col">
<span id="account-type-0-label" class="block text-sm font-medium text-gray-900">Cliente</span>
<span id="account-type-0-description-0" class="mt-1 flex items-center text-sm text-gray-500">
<i data-feather="user" class="h-4 w-4 mr-1"></i> Uso pessoal ou empresarial
</span>
<span id="account-type-0-description-1" class="mt-6 text-sm font-medium text-gray-900">A partir de R$99/mês</span>
</span>
</span>
<i data-feather="check-circle" class="h-5 w-5 text-indigo-600 absolute top-4 right-4 hidden"></i>
</label>
<!-- Reseller Account -->
<label class="relative border rounded-lg shadow-sm p-4 flex cursor-pointer account-type">
<input type="radio" name="account-type" class="sr-only" aria-labelledby="account-type-1-label" aria-describedby="account-type-1-description-0 account-type-1-description-1">
<span class="flex-1 flex">
<span class="flex flex-col">
<span id="account-type-1-label" class="block text-sm font-medium text-gray-900">Revendedor</span>
<span id="account-type-1-description-0" class="mt-1 flex items-center text-sm text-gray-500">
<i data-feather="users" class="h-4 w-4 mr-1"></i> Crie sua rede de clientes
</span>
<span id="account-type-1-description-1" class="mt-6 text-sm font-medium text-gray-900">A partir de R$499/mês</span>
</span>
</span>
<i data-feather="check-circle" class="h-5 w-5 text-indigo-600 absolute top-4 right-4 hidden"></i>
</label>
<!-- Enterprise Account -->
<label class="relative border rounded-lg shadow-sm p-4 flex cursor-pointer account-type">
<input type="radio" name="account-type" class="sr-only" aria-labelledby="account-type-2-label" aria-describedby="account-type-2-description-0 account-type-2-description-1">
<span class="flex-1 flex">
<span class="flex flex-col">
<span id="account-type-2-label" class="block text-sm font-medium text-gray-900">Empresarial</span>
<span id="account-type-2-description-0" class="mt-1 flex items-center text-sm text-gray-500">
<i data-feather="briefcase" class="h-4 w-4 mr-1"></i> Solução corporativa
</span>
<span id="account-type-2-description-1" class="mt-6 text-sm font-medium text-gray-900">Personalizado</span>
</span>
</span>
<i data-feather="check-circle" class="h-5 w-5 text-indigo-600 absolute top-4 right-4 hidden"></i>
</label>
</div>
</div>
<form class="space-y-6" action="#" method="POST">
<div class="grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6">
<div class="sm:col-span-3">
<label for="first-name" class="block text-sm font-medium text-gray-700">Nome</label>
<div class="mt-1 relative rounded-md shadow-sm">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="user" class="h-5 w-5 text-gray-400"></i>
</div>
<input type="text" name="first-name" id="first-name" autocomplete="given-name" class="block w-full pl-10 pr-3 py-3 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="Seu nome">
</div>
</div>
<div class="sm:col-span-3">
<label for="last-name" class="block text-sm font-medium text-gray-700">Sobrenome</label>
<div class="mt-1 relative rounded-md shadow-sm">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="user" class="h-5 w-5 text-gray-400"></i>
</div>
<input type="text" name="last-name" id="last-name" autocomplete="family-name" class="block w-full pl-10 pr-3 py-3 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="Seu sobrenome">
</div>
</div>
<div class="sm:col-span-4">
<label for="email" class="block text-sm font-medium text-gray-700">Email</label>
<div class="mt-1 relative rounded-md shadow-sm">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="mail" class="h-5 w-5 text-gray-400"></i>
</div>
<input id="email" name="email" type="email" autocomplete="email" class="block w-full pl-10 pr-3 py-3 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="seu@email.com">
</div>
</div>
<div class="sm:col-span-2">
<label for="phone" class="block text-sm font-medium text-gray-700">Telefone</label>
<div class="mt-1 relative rounded-md shadow-sm">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="phone" class="h-5 w-5 text-gray-400"></i>
</div>
<input type="text" name="phone" id="phone" autocomplete="tel" class="block w-full pl-10 pr-3 py-3 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="(99) 99999-9999">
</div>
</div>
<div class="sm:col-span-3">
<label for="password" class="block text-sm font-medium text-gray-700">Senha</label>
<div class="mt-1 relative rounded-md shadow-sm">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="lock" class="h-5 w-5 text-gray-400"></i>
</div>
<input id="password" name="password" type="password" autocomplete="new-password" class="block w-full pl-10 pr-3 py-3 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="••••••••">
</div>
</div>
<div class="sm:col-span-3">
<label for="confirm-password" class="block text-sm font-medium text-gray-700">Confirme a senha</label>
<div class="mt-1 relative rounded-md shadow-sm">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="lock" class="h-5 w-5 text-gray-400"></i>
</div>
<input id="confirm-password" name="confirm-password" type="password" autocomplete="new-password" class="block w-full pl-10 pr-3 py-3 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="••••••••">
</div>
</div>
<div class="sm:col-span-6">
<label for="company" class="block text-sm font-medium text-gray-700">Empresa (opcional)</label>
<div class="mt-1 relative rounded-md shadow-sm">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="briefcase" class="h-5 w-5 text-gray-400"></i>
</div>
<input type="text" name="company" id="company" autocomplete="organization" class="block w-full pl-10 pr-3 py-3 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="Nome da sua empresa">
</div>
</div>
</div>
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="terms" name="terms" type="checkbox" class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded">
</div>
<div class="ml-3 text-sm">
<label for="terms" class="font-medium text-gray-700">Eu concordo com os</label>
<span class="text-gray-500"> <a href="#" class="text-indigo-600 hover:text-indigo-500">Termos de Serviço</a> e <a href="#" class="text-indigo-600 hover:text-indigo-500">Política de Privacidade</a></span>
</div>
</div>
<div>
<button type="submit" class="w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Criar conta
</button>
</div>
</form>
</div>
</div>
<script>
feather.replace();
// Account type selection
document.querySelectorAll('.account-type').forEach(item => {
item.addEventListener('click', event => {
// Remove all active classes
document.querySelectorAll('.account-type').forEach(el => {
el.classList.remove('active');
el.querySelector('i').classList.add('hidden');
});
// Add active class to clicked item
item.classList.add('active');
item.querySelector('i').classList.remove('hidden');
})
});
</script>
</body>
</html>