refactor: reorganiza projeto em legacy/ apos remocao de login
- Move paginas de auth (signin, signup, nextauth) para legacy/auth/ - Move Landing Page para legacy/landing/ - Move dashboard.jsx.bak para legacy/ - Adiciona README documentando backup e deps necessarias - Nenhuma rota ativa depende de NextAuth; app abre direto no dashboard - Deps (next-auth, prisma-adapter, bcryptjs) mantidas para nao quebrar backup - Build Next.js validado (10 rotas, sem rotas de auth/landing)
This commit is contained in:
@@ -0,0 +1,143 @@
|
||||
// LANDING PAGE — DESATIVADA TEMPORARIAMENTE (2026-07-11)
|
||||
// Motivo: remoção do fluxo de login; app agora abre direto no dashboard.
|
||||
// Arquivo PRESERVADO para reativação futura. Não foi apagado componente,
|
||||
// asset ou estilo. Para reativar: renomear para pages/index.jsx.
|
||||
// Updated: force rebuild for cache invalidation
|
||||
export default function Home() {
|
||||
return (
|
||||
<div className="bg-gray-50 min-h-screen">
|
||||
{/* Header */}
|
||||
<header className="bg-white shadow-sm">
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 flex justify-between items-center">
|
||||
<h1 className="text-2xl font-bold text-gray-900">1000Apps</h1>
|
||||
<div className="space-x-4">
|
||||
<a href="/signin" className="text-gray-600 hover:text-gray-900 font-medium">Entrar</a>
|
||||
<a href="/signup" className="bg-blue-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-blue-700 transition">Cadastrar</a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{/* Hero Section */}
|
||||
<section className="bg-gradient-to-r from-blue-600 to-purple-600 text-white py-20">
|
||||
<div className="max-w-4xl mx-auto px-4 text-center">
|
||||
<h2 className="text-5xl font-bold mb-6">Seu Canivete Suíço Digital</h2>
|
||||
<p className="text-xl mb-8 opacity-90">
|
||||
Mais de 1000 ferramentas úteis, games e produtividade - tudo online, sem instalar nada!
|
||||
</p>
|
||||
<div className="flex justify-center space-x-4">
|
||||
<a href="/signup" className="bg-white text-blue-600 px-8 py-3 rounded-lg font-semibold text-lg hover:bg-gray-100 transition">Começar Grátis</a>
|
||||
<a href="#apps" className="border border-white text-white px-8 py-3 rounded-lg font-semibold text-lg hover:bg-white/10 transition">Explorar Apps</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Categories */}
|
||||
<section id="apps" className="py-16 px-4">
|
||||
<div className="max-w-6xl mx-auto">
|
||||
<h3 className="text-3xl font-bold text-center mb-12 text-gray-800">Categorias</h3>
|
||||
|
||||
<div className="grid md:grid-cols-3 gap-8">
|
||||
<div className="bg-white rounded-xl p-8 card-hover transition transform hover:-translate-y-1">
|
||||
<div className="w-14 h-14 bg-blue-100 rounded-lg flex items-center justify-center mb-4">
|
||||
<svg className="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M9 5l7 7-7 7" />
|
||||
</svg>
|
||||
</div>
|
||||
<h4 className="text-xl font-semibold mb-2">Produtividade</h4>
|
||||
<p className="text-gray-600 mb-4">Ferramentas para otimizar seu tempo e trabalho</p>
|
||||
<span className="text-blue-600 font-medium">Ver apps →</span>
|
||||
</div>
|
||||
|
||||
<div className="bg-white rounded-xl p-8 card-hover transition transform hover:-translate-y-1">
|
||||
<div className="w-14 h-14 bg-green-100 rounded-lg flex items-center justify-center mb-4">
|
||||
<svg className="w-8 h-8 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M11 4a2 2 0 114 0v5a2 2 0 01-2 2H7a2 2 0 00-2-2V6a2 2 0 012-2h2z" />
|
||||
</svg>
|
||||
</div>
|
||||
<h4 className="text-xl font-semibold mb-2">Utilidades</h4>
|
||||
<p className="text-gray-600 mb-4">Ferramentas práticas para o dia a dia</p>
|
||||
<span className="text-green-600 font-medium">Ver apps →</span>
|
||||
</div>
|
||||
|
||||
<div className="bg-white rounded-xl p-8 card-hover transition transform hover:-translate-y-1">
|
||||
<div className="w-14 h-14 bg-purple-100 rounded-lg flex items-center justify-center mb-4">
|
||||
<svg className="w-8 h-8 text-purple-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M14.752 12.795a7.95 7.95 0 001.904-5.452 7.95 7.95 0 00-7.95 7.95A7.95 7.95 0 0012.795 14.752" />
|
||||
</svg>
|
||||
</div>
|
||||
<h4 className="text-xl font-semibold mb-2">Games</h4>
|
||||
<p className="text-gray-600 mb-4">Diversão rápida e envolvente</p>
|
||||
<span className="text-purple-600 font-medium">Ver apps →</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Features */}
|
||||
<section className="bg-gray-100 py-16 px-4">
|
||||
<div className="max-w-6xl mx-auto">
|
||||
<h3 className="text-3xl font-bold text-center mb-12 text-gray-800">Por que 1000Apps?</h3>
|
||||
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
|
||||
<div className="text-center">
|
||||
<div className="w-16 h-16 bg-blue-600 rounded-full flex items-center justify-center mx-auto mb-4">
|
||||
<span className="text-2xl font-bold text-white">01</span>
|
||||
</div>
|
||||
<h5 className="font-semibold mb-2">Nada para Instalar</h5>
|
||||
<p className="text-sm text-gray-600">Tudo rodando direto no navegador</p>
|
||||
</div>
|
||||
|
||||
<div className="text-center">
|
||||
<div className="w-16 h-16 bg-green-600 rounded-full flex items-center justify-center mx-auto mb-4">
|
||||
<span className="text-2xl font-bold text-white">02</span>
|
||||
</div>
|
||||
<h5 className="font-semibold mb-2">Sempre Atualizado</h5>
|
||||
<p className="text-sm text-gray-600">Conteúdo fresco todo dia</p>
|
||||
</div>
|
||||
|
||||
<div className="text-center">
|
||||
<div className="w-16 h-16 bg-purple-600 rounded-full flex items-center justify-center mx-auto mb-4">
|
||||
<span className="text-2xl font-bold text-white">03</span>
|
||||
</div>
|
||||
<h5 className="font-semibold mb-2">Curadoria Inteligente</h5>
|
||||
<p className="text-sm text-gray-600">Só apps úteis e testados</p>
|
||||
</div>
|
||||
|
||||
<div className="text-center">
|
||||
<div className="w-16 h-16 bg-orange-600 rounded-full flex items-center justify-center mx-auto mb-4">
|
||||
<span className="text-2xl font-bold text-white">04</span>
|
||||
</div>
|
||||
<h5 className="font-semibold mb-2">Grátis para Sempre</h5>
|
||||
<p className="text-sm text-gray-600">Acesso completo sem pagar nada</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* CTA Final */}
|
||||
<section className="py-20 px-4">
|
||||
<div className="max-w-3xl mx-auto text-center">
|
||||
<h3 className="text-4xl font-bold mb-4 text-gray-900">Pronto para começar?</h3>
|
||||
<p className="text-lg text-gray-600 mb-8">
|
||||
Junte-se a milhares de usuários que já economizam tempo com 1000Apps
|
||||
</p>
|
||||
<a href="/signup" className="inline-block bg-blue-600 text-white px-10 py-4 rounded-lg font-semibold text-xl hover:bg-blue-700 transition transform hover:scale-105">
|
||||
Criar Conta Grátis
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Footer */}
|
||||
<footer className="bg-gray-900 text-white py-8 px-4">
|
||||
<div className="max-w-6xl mx-auto text-center">
|
||||
<p className="mb-4">© 2026 1000Apps. Todos os direitos reservados.</p>
|
||||
<div className="space-x-6 text-sm">
|
||||
<a href="#" className="hover:text-gray-300">Termos</a>
|
||||
<a href="#" className="hover:text-gray-300">Privacidade</a>
|
||||
<a href="#" className="hover:text-gray-300">Contato</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user