projeto-app / index.html
admingeorge's picture
Add 3 files
73cf10f verified
Raw History Blame Contribute Delete
30.1 kB
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Área de Membros</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.tab-content {
display: none;
}
.tab-content.active {
display: block;
animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.avatar-upload {
position: relative;
width: 120px;
margin: 0 auto;
}
.avatar-upload .avatar-preview {
width: 120px;
height: 120px;
border-radius: 50%;
background-size: cover;
background-position: center;
border: 3px solid #e2e8f0;
}
.avatar-upload input {
display: none;
}
.avatar-upload label {
position: absolute;
bottom: 0;
right: 0;
width: 36px;
height: 36px;
background: #4f46e5;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.status-badge {
font-size: 0.75rem;
padding: 0.25rem 0.5rem;
border-radius: 9999px;
font-weight: 600;
}
.status-active {
background-color: #D1FAE5;
color: #065F46;
}
.status-pending {
background-color: #FEF3C7;
color: #92400E;
}
.status-available {
background-color: #DBEAFE;
color: #1E40AF;
}
</style>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="container mx-auto px-4 py-8 max-w-6xl">
<!-- Header -->
<header class="flex justify-between items-center mb-8">
<div>
<h1 class="text-3xl font-bold text-gray-800">Minha Conta</h1>
<p class="text-gray-600">Bem-vindo de volta, João!</p>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<i class="fas fa-bell text-gray-600 text-xl cursor-pointer"></i>
<span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span>
</div>
<div class="w-10 h-10 rounded-full bg-indigo-500 flex items-center justify-center text-white font-bold">
J
</div>
</div>
</header>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="md:flex">
<!-- Sidebar -->
<div class="md:w-1/4 bg-gray-50 p-6 border-r border-gray-200">
<div class="avatar-upload mb-6">
<div class="avatar-preview" style="background-image: url('https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1180&q=80');"></div>
<input type="file" id="avatar" accept="image/*">
<label for="avatar">
<i class="fas fa-camera"></i>
</label>
</div>
<h3 class="font-semibold text-lg text-gray-800 mb-2">João Silva</h3>
<p class="text-gray-600 text-sm mb-6">joao@email.com</p>
<div class="space-y-1">
<button onclick="openTab(event, 'services')" class="tab-button w-full flex items-center space-x-3 px-4 py-3 rounded-lg text-left bg-indigo-100 text-indigo-700">
<i class="fas fa-concierge-bell w-5"></i>
<span>Serviços</span>
</button>
<button onclick="openTab(event, 'payments')" class="tab-button w-full flex items-center space-x-3 px-4 py-3 rounded-lg text-left text-gray-700 hover:bg-gray-100">
<i class="fas fa-credit-card w-5"></i>
<span>Pagamentos</span>
</button>
<button onclick="openTab(event, 'courses')" class="tab-button w-full flex items-center space-x-3 px-4 py-3 rounded-lg text-left text-gray-700 hover:bg-gray-100">
<i class="fas fa-graduation-cap w-5"></i>
<span>Cursos</span>
</button>
<button onclick="openTab(event, 'profile')" class="tab-button w-full flex items-center space-x-3 px-4 py-3 rounded-lg text-left text-gray-700 hover:bg-gray-100">
<i class="fas fa-user-cog w-5"></i>
<span>Meus Dados</span>
</button>
</div>
<div class="mt-8 pt-4 border-t border-gray-200">
<button class="w-full flex items-center space-x-3 px-4 py-3 rounded-lg text-left text-gray-700 hover:bg-gray-100">
<i class="fas fa-sign-out-alt w-5"></i>
<span>Sair</span>
</button>
</div>
</div>
<!-- Main Content -->
<div class="md:w-3/4 p-8">
<!-- Services Tab -->
<div id="services" class="tab-content active">
<h2 class="text-2xl font-bold text-gray-800 mb-6">Meus Serviços</h2>
<div class="grid md:grid-cols-2 gap-6">
<div class="bg-indigo-50 rounded-xl p-6 border border-indigo-100">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="font-semibold text-indigo-800">Status da Conta</h3>
<p class="text-sm text-indigo-600">Atualizado em 15/10/2023</p>
</div>
<span class="status-badge status-active">Ativo</span>
</div>
<p class="text-gray-700 mb-4">Sua conta está ativa com todos os benefícios disponíveis.</p>
<button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium">Ver detalhes</button>
</div>
<div class="bg-gray-50 rounded-xl p-6 border border-gray-200">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="font-semibold text-gray-800">Credenciais</h3>
<p class="text-sm text-gray-600">3 credenciais disponíveis</p>
</div>
<span class="status-badge status-available">Disponível</span>
</div>
<p class="text-gray-700 mb-4">Acesso completo às suas credenciais de segurança.</p>
<button class="text-gray-600 hover:text-gray-800 text-sm font-medium">Gerenciar</button>
</div>
<div class="bg-yellow-50 rounded-xl p-6 border border-yellow-100">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="font-semibold text-yellow-800">Pendências</h3>
<p class="text-sm text-yellow-600">Verificação necessária</p>
</div>
<span class="status-badge status-pending">Pendente</span>
</div>
<p class="text-gray-700 mb-4">Complete sua verificação para acessar todos os recursos.</p>
<button class="text-yellow-600 hover:text-yellow-800 text-sm font-medium">Resolver agora</button>
</div>
</div>
<div class="mt-8">
<h3 class="font-semibold text-lg text-gray-800 mb-4">Serviços Disponíveis</h3>
<div class="grid md:grid-cols-3 gap-4">
<div class="border rounded-lg p-4 hover:border-indigo-300 hover:bg-indigo-50 transition cursor-pointer">
<div class="bg-indigo-100 w-10 h-10 rounded-lg flex items-center justify-center mb-3">
<i class="fas fa-user-tie text-indigo-600"></i>
</div>
<h4 class="font-medium text-gray-800">Falar com um Diretor</h4>
<p class="text-sm text-gray-600 mt-1">Atendimento personalizado</p>
</div>
<div class="border rounded-lg p-4 hover:border-indigo-300 hover:bg-indigo-50 transition cursor-pointer">
<div class="bg-indigo-100 w-10 h-10 rounded-lg flex items-center justify-center mb-3">
<i class="fas fa-coins text-indigo-600"></i>
</div>
<h4 class="font-medium text-gray-800">Área Financeira</h4>
<p class="text-sm text-gray-600 mt-1">Gestão de investimentos</p>
</div>
<div class="border rounded-lg p-4 hover:border-indigo-300 hover:bg-indigo-50 transition cursor-pointer">
<div class="bg-indigo-100 w-10 h-10 rounded-lg flex items-center justify-center mb-3">
<i class="fas fa-calendar-alt text-indigo-600"></i>
</div>
<h4 class="font-medium text-gray-800">Central de Agendas</h4>
<p class="text-sm text-gray-600 mt-1">Organização de compromissos</p>
</div>
</div>
</div>
</div>
<!-- Payments Tab -->
<div id="payments" class="tab-content">
<h2 class="text-2xl font-bold text-gray-800 mb-6">Pagamentos</h2>
<div class="bg-white border border-gray-200 rounded-xl overflow-hidden mb-8">
<div class="p-6 border-b border-gray-200">
<h3 class="font-semibold text-lg text-gray-800 mb-2">Método de Pagamento</h3>
<div class="flex items-center justify-between">
<div class="flex items-center space-x-3">
<div class="w-10 h-6 bg-gray-200 rounded-sm"></div>
<span class="font-medium">•••• •••• •••• 4242</span>
<span class="text-sm text-gray-500">Válido até 05/25</span>
</div>
<button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium">Alterar</button>
</div>
</div>
<div class="p-6">
<h3 class="font-semibold text-lg text-gray-800 mb-4">Histórico de Pagamentos</h3>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Data</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Descrição</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Valor</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15/09/2023</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Manutenção de Status</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">R$ 97,00</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Pago</span>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15/08/2023</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Manutenção de Status</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">R$ 97,00</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Pago</span>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15/07/2023</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Credenciais Adicionais</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">R$ 15,00</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Pago</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Courses Tab -->
<div id="courses" class="tab-content">
<h2 class="text-2xl font-bold text-gray-800 mb-6">Meus Cursos</h2>
<div class="grid md:grid-cols-2 gap-6">
<div class="border rounded-xl overflow-hidden hover:shadow-md transition">
<div class="h-40 bg-gradient-to-r from-indigo-500 to-purple-600"></div>
<div class="p-5">
<div class="flex justify-between items-start mb-2">
<h3 class="font-bold text-lg text-gray-800">Design UX/UI Avançado</h3>
<span class="bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded-full">Em andamento</span>
</div>
<p class="text-gray-600 mb-4">Aprenda técnicas avançadas de design de interfaces e experiência do usuário.</p>
<div class="flex items-center justify-between">
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-indigo-600 h-2 rounded-full" style="width: 65%"></div>
</div>
<span class="text-sm text-gray-600 ml-3">65%</span>
</div>
<button class="mt-4 w-full bg-indigo-600 hover:bg-indigo-700 text-white py-2 px-4 rounded-lg transition">Continuar</button>
</div>
</div>
<div class="border rounded-xl overflow-hidden hover:shadow-md transition">
<div class="h-40 bg-gradient-to-r from-blue-500 to-teal-400"></div>
<div class="p-5">
<div class="flex justify-between items-start mb-2">
<h3 class="font-bold text-lg text-gray-800">JavaScript Moderno</h3>
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Concluído</span>
</div>
<p class="text-gray-600 mb-4">Domine JavaScript ES6+ e frameworks modernos para desenvolvimento web.</p>
<div class="flex items-center justify-between">
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-green-500 h-2 rounded-full, style="width: 100%"></div>
</div>
<span class="text-sm text-gray-600 ml-3">100%</span>
</div>
<button class="mt-4 w-full bg-gray-100 hover:bg-gray-200 text-gray-800 py-2 px-4 rounded-lg transition">Ver certificado</button>
</div>
</div>
<div class="border rounded-xl overflow-hidden hover:shadow-md transition">
<div class="h-40 bg-gradient-to-r from-purple-500 to-pink-500"></div>
<div class="p-5">
<div class="flex justify-between items-start mb-2">
<h3 class="font-bold text-lg text-gray-800">Marketing Digital</h3>
<span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded-full">Não iniciado</span>
</div>
<p class="text-gray-600 mb-4">Estratégias completas para alavancar seus negócios online.</p>
<div class="flex items-center justify-between">
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-yellow-400 h-2 rounded-full" style="width: 0%"></div>
</div>
<span class="text-sm text-gray-600 ml-3">0%</span>
</div>
<button class="mt-4 w-full bg-indigo-600 hover:bg-indigo-700 text-white py-2 px-4 rounded-lg transition">Começar agora</button>
</div>
</div>
<div class="border rounded-xl overflow-hidden hover:shadow-md transition">
<div class="h-40 bg-gradient-to-r from-green-500 to-blue-400"></div>
<div class="p-5">
<div class="flex justify-between items-start mb-2">
<h3 class="font-bold text-lg text-gray-800">Gestão de Projetos</h3>
<span class="bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded-full">Em andamento</span>
</div>
<p class="text-gray-600 mb-4">Metodologias ágeis e tradicionais para gerenciar projetos com eficiência.</p>
<div class="flex items-center justify-between">
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-indigo-600 h-2 rounded-full" style="width: 30%"></div>
</div>
<span class="text-sm text-gray-600 ml-3">30%</span>
</div>
<button class="mt-4 w-full bg-indigo-600 hover:bg-indigo-700 text-white py-2 px-4 rounded-lg transition">Continuar</button>
</div>
</div>
</div>
</div>
<!-- Profile Tab -->
<div id="profile" class="tab-content">
<h2 class="text-2xl font-bold text-gray-800 mb-6">Meus Dados</h2>
<form class="space-y-6">
<div class="grid md:grid-cols-2 gap-6">
<div>
<label for="firstName" class="block text-sm font-medium text-gray-700 mb-1">Nome</label>
<input type="text" id="firstName" value="João" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
</div>
<div>
<label for="lastName" class="block text-sm font-medium text-gray-700 mb-1">Sobrenome</label>
<input type="text" id="lastName" value="Silva" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
</div>
</div>
<div>
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">E-mail</label>
<input type="email" id="email" value="joao@email.com" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
</div>
<div class="grid md:grid-cols-2 gap-6">
<div>
<label for="phone" class="block text-sm font-medium text-gray-700 mb-1">Telefone</label>
<input type="tel" id="phone" value="(11) 98765-4321" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
</div>
<div>
<label for="birthdate" class="block text-sm font-medium text-gray-700 mb-1">Data de Nascimento</label>
<input type="date" id="birthdate" value="1990-05-15" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
</div>
</div>
<div>
<label for="address" class="block text-sm font-medium text-gray-700 mb-1">Endereço</label>
<input type="text" id="address" value="Rua das Flores, 123" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
</div>
<div class="grid md:grid-cols-3 gap-6">
<div>
<label for="city" class="block text-sm font-medium text-gray-700 mb-1">Cidade</label>
<input type="text" id="city" value="São Paulo" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
</div>
<div>
<label for="state" class="block text-sm font-medium text-gray-700 mb-1">Estado</label>
<select id="state" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
<option>SP</option>
<option>RJ</option>
<option>MG</option>
<option>RS</option>
</select>
</div>
<div>
<label for="zip" class="block text-sm font-medium text-gray-700 mb-1">CEP</label>
<input type="text" id="zip" value="01234-567" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
</div>
</div>
<div class="pt-4 border-t border-gray-200 flex justify-end">
<button type="button" class="px-4 py-2 border border-gray-300 rounded-lg text-gray-700 hover:bg-gray-50 mr-3">Cancelar</button>
<button type="submit" class="px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">Salvar Alterações</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<script>
function openTab(evt, tabName) {
// Hide all tab contents
const tabContents = document.getElementsByClassName("tab-content");
for (let i = 0; i < tabContents.length; i++) {
tabContents[i].classList.remove("active");
}
// Remove active class from all tab buttons
const tabButtons = document.getElementsByClassName("tab-button");
for (let i = 0; i < tabButtons.length; i++) {
tabButtons[i].classList.remove("bg-indigo-100", "text-indigo-700");
tabButtons[i].classList.add("text-gray-700", "hover:bg-gray-100");
}
// Show the current tab and add active class to the button
document.getElementById(tabName).classList.add("active");
evt.currentTarget.classList.remove("text-gray-700", "hover:bg-gray-100");
evt.currentTarget.classList.add("bg-indigo-100", "text-indigo-700");
}
// Avatar upload preview
document.getElementById('avatar').addEventListener('change', function(e) {
const reader = new FileReader();
reader.onload = function(event) {
document.querySelector('.avatar-preview').style.backgroundImage = 'url(' + event.target.result + ')';
};
reader.readAsDataURL(e.target.files[0]);
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=admingeorge/projeto-app" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>