Spaces:
Running
Running
Download index.html from odesigner/odesigner2023: direct link, hf CLI and curl.
- Browser
- Download file 31.6 kB
-
https://huggingface.co/spaces/odesigner/odesigner2023/resolve/main/index.html
- Command line
-
hf download hf://spaces/odesigner/odesigner2023/index.html
-
curl -L -o index.html https://huggingface.co/spaces/odesigner/odesigner2023/resolve/main/index.html
31.6 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Angelina - Conteúdo Exclusivo</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> | |
| /* Custom CSS */ | |
| .age-verification { | |
| background: rgba(0, 0, 0, 0.8); | |
| z-index: 9999; | |
| } | |
| .blog-card:hover .blog-title { | |
| color: #ec4899; | |
| } | |
| .pack-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); | |
| } | |
| .nav-link:hover { | |
| color: #ec4899; | |
| } | |
| .hero-section { | |
| background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1519699047748-de8e457a634e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80'); | |
| background-size: cover; | |
| background-position: center; | |
| } | |
| .stripe-button { | |
| background: #635bff; | |
| } | |
| .stripe-button:hover { | |
| background: #4a42d4; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-900 text-white"> | |
| <!-- Age Verification Modal --> | |
| <div id="ageVerification" class="age-verification fixed inset-0 flex items-center justify-center hidden"> | |
| <div class="bg-gray-800 p-8 rounded-lg max-w-md w-full mx-4"> | |
| <h2 class="text-2xl font-bold mb-4 text-center">Verificação de Idade</h2> | |
| <p class="mb-6 text-center">Este site contém conteúdo adulto. Você deve ter 18 anos ou mais para acessar.</p> | |
| <div class="flex flex-col space-y-4"> | |
| <button id="confirmAge" class="bg-pink-600 hover:bg-pink-700 text-white py-2 px-4 rounded font-bold">Sim, eu tenho 18 anos ou mais</button> | |
| <button id="denyAge" class="bg-gray-600 hover:bg-gray-700 text-white py-2 px-4 rounded">Não, eu sou menor de idade</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Registration Modal --> | |
| <div id="registrationModal" class="age-verification fixed inset-0 flex items-center justify-center hidden"> | |
| <div class="bg-gray-800 p-8 rounded-lg max-w-md w-full mx-4"> | |
| <h2 class="text-2xl font-bold mb-4 text-center">Cadastro Necessário</h2> | |
| <form id="registrationForm" class="space-y-4"> | |
| <div> | |
| <label for="name" class="block mb-1">Nome</label> | |
| <input type="text" id="name" class="w-full bg-gray-700 rounded px-3 py-2" required> | |
| </div> | |
| <div> | |
| <label for="email" class="block mb-1">Email</label> | |
| <input type="email" id="email" class="w-full bg-gray-700 rounded px-3 py-2" required> | |
| </div> | |
| <div> | |
| <label for="password" class="block mb-1">Senha</label> | |
| <input type="password" id="password" class="w-full bg-gray-700 rounded px-3 py-2" required> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="ageCheck" class="mr-2" required> | |
| <label for="ageCheck">Confirmo que tenho 18 anos ou mais</label> | |
| </div> | |
| <button type="submit" class="w-full bg-pink-600 hover:bg-pink-700 text-white py-2 px-4 rounded font-bold">Cadastrar</button> | |
| </form> | |
| </div> | |
| </div> | |
| <!-- Payment Modal --> | |
| <div id="paymentModal" class="age-verification fixed inset-0 flex items-center justify-center hidden"> | |
| <div class="bg-gray-800 p-8 rounded-lg max-w-md w-full mx-4"> | |
| <h2 class="text-2xl font-bold mb-4 text-center">Assinatura VIP</h2> | |
| <div class="mb-6 bg-gray-700 p-4 rounded"> | |
| <h3 class="font-bold text-lg mb-2">Plano VIP Mensal</h3> | |
| <p class="mb-2">Acesso exclusivo ao conteúdo premium da Angelina</p> | |
| <p class="text-2xl font-bold">R$ 29,90/mês</p> | |
| </div> | |
| <div id="paymentForm" class="space-y-4"> | |
| <div> | |
| <label class="block mb-1">Nome no Cartão</label> | |
| <input type="text" class="w-full bg-gray-700 rounded px-3 py-2" placeholder="Nome como no cartão"> | |
| </div> | |
| <div> | |
| <label class="block mb-1">Número do Cartão</label> | |
| <input type="text" class="w-full bg-gray-700 rounded px-3 py-2" placeholder="4242 4242 4242 4242"> | |
| </div> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <div> | |
| <label class="block mb-1">Data de Expiração</label> | |
| <input type="text" class="w-full bg-gray-700 rounded px-3 py-2" placeholder="MM/AA"> | |
| </div> | |
| <div> | |
| <label class="block mb-1">CVC</label> | |
| <input type="text" class="w-full bg-gray-700 rounded px-3 py-2" placeholder="123"> | |
| </div> | |
| </div> | |
| <button id="processPayment" class="w-full stripe-button text-white py-2 px-4 rounded font-bold">Pagar com Stripe</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Success Modal --> | |
| <div id="successModal" class="age-verification fixed inset-0 flex items-center justify-center hidden"> | |
| <div class="bg-gray-800 p-8 rounded-lg max-w-md w-full mx-4 text-center"> | |
| <div class="text-green-500 text-5xl mb-4"> | |
| <i class="fas fa-check-circle"></i> | |
| </div> | |
| <h2 class="text-2xl font-bold mb-4">Sucesso!</h2> | |
| <p class="mb-6" id="successMessage">Seu cadastro foi realizado com sucesso.</p> | |
| <button id="closeSuccessModal" class="bg-pink-600 hover:bg-pink-700 text-white py-2 px-4 rounded font-bold">Continuar</button> | |
| </div> | |
| </div> | |
| <!-- Header --> | |
| <header class="bg-gray-800 shadow-lg sticky top-0 z-50"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-angel text-pink-500 text-2xl"></i> | |
| <span class="text-xl font-bold">Angelina</span> | |
| </div> | |
| <nav class="hidden md:flex space-x-6"> | |
| <a href="#home" class="nav-link">Home</a> | |
| <a href="#blog" class="nav-link">Blog</a> | |
| <a href="#channels" class="nav-link">Canais</a> | |
| <a href="#packs" class="nav-link">Packs</a> | |
| </nav> | |
| <button id="mobileMenuButton" class="md:hidden text-2xl"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| </div> | |
| <!-- Mobile Menu --> | |
| <div id="mobileMenu" class="md:hidden hidden bg-gray-800 pb-4 px-4"> | |
| <div class="flex flex-col space-y-3"> | |
| <a href="#home" class="nav-link">Home</a> | |
| <a href="#blog" class="nav-link">Blog</a> | |
| <a href="#channels" class="nav-link">Canais</a> | |
| <a href="#packs" class="nav-link">Packs</a> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Hero Section --> | |
| <section id="home" class="hero-section min-h-screen flex items-center"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-6">Bem-vindo ao Mundo da Angelina</h1> | |
| <p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto">Descubra conteúdo exclusivo e experiências íntimas criadas especialmente para você.</p> | |
| <div class="flex flex-col md:flex-row justify-center space-y-4 md:space-y-0 md:space-x-6"> | |
| <a href="#channels" class="bg-pink-600 hover:bg-pink-700 text-white py-3 px-8 rounded-full font-bold text-lg">Explorar Canais</a> | |
| <a href="#packs" class="bg-gray-700 hover:bg-gray-600 text-white py-3 px-8 rounded-full font-bold text-lg">Ver Packs</a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Blog Section --> | |
| <section id="blog" class="py-16 bg-gray-800"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold mb-12 text-center">Blog da Angelina</h2> | |
| <!-- Blog Categories --> | |
| <div class="flex flex-wrap justify-center mb-10 gap-2"> | |
| <button class="blog-category px-4 py-2 rounded-full bg-pink-600 text-white" data-category="all">Todos</button> | |
| <button class="blog-category px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600" data-category="dicas">Dicas</button> | |
| <button class="blog-category px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600" data-category="experiencias">Experiências</button> | |
| <button class="blog-category px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600" data-category="novidades">Novidades</button> | |
| <button class="blog-category px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600" data-category="privado">Privado</button> | |
| </div> | |
| <!-- Blog Posts --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8" id="blogPostsContainer"> | |
| <!-- Posts will be loaded here by JavaScript --> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Channels Section --> | |
| <section id="channels" class="py-16 bg-gray-900"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold mb-12 text-center">Canais Exclusivos</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8 max-w-4xl mx-auto"> | |
| <!-- VIP Channel --> | |
| <div class="bg-gray-800 rounded-lg overflow-hidden shadow-xl"> | |
| <div class="bg-pink-600 p-4"> | |
| <h3 class="text-xl font-bold text-center">Canal VIP</h3> | |
| </div> | |
| <div class="p-6"> | |
| <div class="text-center mb-6"> | |
| <i class="fas fa-crown text-4xl text-yellow-400 mb-4"></i> | |
| <p class="text-lg mb-4">Acesso exclusivo ao conteúdo mais íntimo e premium da Angelina.</p> | |
| <p class="text-2xl font-bold mb-4">R$ 29,90/mês</p> | |
| </div> | |
| <ul class="space-y-3 mb-6"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-green-500 mr-2"></i> | |
| <span>Conteúdo exclusivo diário</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-green-500 mr-2"></i> | |
| <span>Vídeos completos</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-green-500 mr-2"></i> | |
| <span>Interação direta com a Angelina</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-green-500 mr-2"></i> | |
| <span>Conteúdo personalizado</span> | |
| </li> | |
| </ul> | |
| <button class="vip-channel-btn w-full bg-pink-600 hover:bg-pink-700 text-white py-3 rounded font-bold">Assinar Agora</button> | |
| </div> | |
| </div> | |
| <!-- Free Channel --> | |
| <div class="bg-gray-800 rounded-lg overflow-hidden shadow-xl"> | |
| <div class="bg-purple-600 p-4"> | |
| <h3 class="text-xl font-bold text-center">Canal Free</h3> | |
| </div> | |
| <div class="p-6"> | |
| <div class="text-center mb-6"> | |
| <i class="fas fa-heart text-4xl text-purple-400 mb-4"></i> | |
| <p class="text-lg mb-4">Conteúdo gratuito para conhecer o trabalho da Angelina.</p> | |
| <p class="text-2xl font-bold mb-4">Grátis</p> | |
| </div> | |
| <ul class="space-y-3 mb-6"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-green-500 mr-2"></i> | |
| <span>Fotos e vídeos teaser</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-green-500 mr-2"></i> | |
| <span>Atualizações semanais</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-green-500 mr-2"></i> | |
| <span>Novidades e promoções</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-green-500 mr-2"></i> | |
| <span>Preview do conteúdo VIP</span> | |
| </li> | |
| </ul> | |
| <button class="free-channel-btn w-full bg-purple-600 hover:bg-purple-700 text-white py-3 rounded font-bold">Acessar Canal</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Packs Section --> | |
| <section id="packs" class="py-16 bg-gray-800"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold mb-12 text-center">Packs Exclusivos</h2> | |
| <!-- Pack Categories --> | |
| <div class="flex flex-wrap justify-center mb-10 gap-2"> | |
| <button class="pack-category px-4 py-2 rounded-full bg-pink-600 text-white" data-category="all">Todos</button> | |
| <button class="pack-category px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600" data-category="fotos">Fotos</button> | |
| <button class="pack-category px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600" data-category="videos">Vídeos</button> | |
| <button class="pack-category px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600" data-category="combo">Combo</button> | |
| <button class="pack-category px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600" data-category="personalizado">Personalizado</button> | |
| </div> | |
| <!-- Packs Grid --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8" id="packsContainer"> | |
| <!-- Packs will be loaded here by JavaScript --> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 py-8"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <div class="mb-4 md:mb-0"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-angel text-pink-500 text-2xl"></i> | |
| <span class="text-xl font-bold">Angelina</span> | |
| </div> | |
| <p class="text-gray-400 mt-2">Conteúdo adulto exclusivo</p> | |
| </div> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="text-gray-400 hover:text-pink-500 text-xl"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-pink-500 text-xl"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-pink-500 text-xl"> | |
| <i class="fab fa-telegram"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400"> | |
| <p>© 2023 Angelina. Todos os direitos reservados.</p> | |
| <p class="mt-2 text-sm">Este site contém conteúdo adulto. Acesso restrito a maiores de 18 anos.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Mock data for blog posts | |
| const blogPosts = [ | |
| { | |
| id: 1, | |
| title: "Minha Jornada como Criadora de Conteúdo", | |
| excerpt: "Como tudo começou e os desafios que enfrentei para me tornar quem sou hoje...", | |
| category: "experiencias", | |
| date: "15/06/2023", | |
| image: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| }, | |
| { | |
| id: 2, | |
| title: "Dicas para Fotografias Sensuais", | |
| excerpt: "Aprenda a tirar fotos incríveis que valorizam seu corpo e sua sensualidade...", | |
| category: "dicas", | |
| date: "10/06/2023", | |
| image: "https://images.unsplash.com/photo-1524504388940-b1c1722653e1?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| }, | |
| { | |
| id: 3, | |
| title: "Novidades no Canal VIP", | |
| excerpt: "Confira as novidades que preparei especialmente para meus assinantes VIP...", | |
| category: "novidades", | |
| date: "05/06/2023", | |
| image: "https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| }, | |
| { | |
| id: 4, | |
| title: "A Importância dos Limites", | |
| excerpt: "Como estabelecer limites saudáveis na criação de conteúdo adulto...", | |
| category: "privado", | |
| date: "01/06/2023", | |
| image: "https://images.unsplash.com/photo-1531123897727-8f129e1688ce?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| }, | |
| { | |
| id: 5, | |
| title: "Fotografia com Luz Natural", | |
| excerpt: "Técnicas para aproveitar ao máximo a luz natural em suas fotos sensuais...", | |
| category: "dicas", | |
| date: "28/05/2023", | |
| image: "https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| }, | |
| { | |
| id: 6, | |
| title: "Meus Bastidores", | |
| excerpt: "Um pouco do que acontece nos bastidores das minhas produções...", | |
| category: "experiencias", | |
| date: "20/05/2023", | |
| image: "https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| } | |
| ]; | |
| // Mock data for packs | |
| const packs = [ | |
| { | |
| id: 1, | |
| title: "Coleção Verão", | |
| description: "50 fotos exclusivas em trajes de banho e lingeries sensuais", | |
| price: 49.90, | |
| category: "fotos", | |
| images: [ | |
| "https://images.unsplash.com/photo-1519699047748-de8e457a634e?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60", | |
| "https://images.unsplash.com/photo-1524504388940-b1c1722653e1?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| ] | |
| }, | |
| { | |
| id: 2, | |
| title: "Vídeo Íntimo", | |
| description: "Vídeo exclusivo de 15 minutos com conteúdo sensual e provocante", | |
| price: 79.90, | |
| category: "videos", | |
| images: [ | |
| "https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| ] | |
| }, | |
| { | |
| id: 3, | |
| title: "Combo Premium", | |
| description: "100 fotos + 3 vídeos exclusivos com conteúdo variado", | |
| price: 129.90, | |
| category: "combo", | |
| images: [ | |
| "https://images.unsplash.com/photo-1531123897727-8f129e1688ce?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60", | |
| "https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| ] | |
| }, | |
| { | |
| id: 4, | |
| title: "Ensaio Noturno", | |
| description: "30 fotos sensuais com iluminação noturna e lingerie de renda", | |
| price: 59.90, | |
| category: "fotos", | |
| images: [ | |
| "https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| ] | |
| }, | |
| { | |
| id: 5, | |
| title: "Vídeo Personalizado", | |
| description: "Vídeo feito especialmente para você, com o tema que desejar", | |
| price: 149.90, | |
| category: "personalizado", | |
| images: [ | |
| "https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| ] | |
| }, | |
| { | |
| id: 6, | |
| title: "Coleção Inverno", | |
| description: "60 fotos sensuais com roupas de inverno e lingeries quentes", | |
| price: 69.90, | |
| category: "fotos", | |
| images: [ | |
| "https://images.unsplash.com/photo-1531123897727-8f129e1688ce?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60", | |
| "https://images.unsplash.com/photo-1524504388940-b1c1722653e1?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=60" | |
| ] | |
| } | |
| ]; | |
| // DOM Elements | |
| const ageVerificationModal = document.getElementById('ageVerification'); | |
| const confirmAgeBtn = document.getElementById('confirmAge'); | |
| const denyAgeBtn = document.getElementById('denyAge'); | |
| const registrationModal = document.getElementById('registrationModal'); | |
| const registrationForm = document.getElementById('registrationForm'); | |
| const paymentModal = document.getElementById('paymentModal'); | |
| const processPaymentBtn = document.getElementById('processPayment'); | |
| const successModal = document.getElementById('successModal'); | |
| const successMessage = document.getElementById('successMessage'); | |
| const closeSuccessModal = document.getElementById('closeSuccessModal'); | |
| const vipChannelBtn = document.querySelector('.vip-channel-btn'); | |
| const freeChannelBtn = document.querySelector('.free-channel-btn'); | |
| const blogPostsContainer = document.getElementById('blogPostsContainer'); | |
| const blogCategories = document.querySelectorAll('.blog-category'); | |
| const packsContainer = document.getElementById('packsContainer'); | |
| const packCategories = document.querySelectorAll('.pack-category'); | |
| const mobileMenuButton = document.getElementById('mobileMenuButton'); | |
| const mobileMenu = document.getElementById('mobileMenu'); | |
| // Show age verification modal on page load | |
| document.addEventListener('DOMContentLoaded', () => { | |
| // Check if age was already verified (in a real app, this would be a cookie/localStorage check) | |
| const ageVerified = localStorage.getItem('ageVerified'); | |
| if (!ageVerified) { | |
| ageVerificationModal.classList.remove('hidden'); | |
| } | |
| // Load blog posts | |
| renderBlogPosts(blogPosts); | |
| // Load packs | |
| renderPacks(packs); | |
| }); | |
| // Age Verification | |
| confirmAgeBtn.addEventListener('click', () => { | |
| localStorage.setItem('ageVerified', 'true'); | |
| ageVerificationModal.classList.add('hidden'); | |
| }); | |
| denyAgeBtn.addEventListener('click', () => { | |
| window.location.href = 'https://www.google.com'; | |
| }); | |
| // VIP Channel Button | |
| vipChannelBtn.addEventListener('click', () => { | |
| registrationModal.classList.remove('hidden'); | |
| currentAction = 'vip'; | |
| }); | |
| // Free Channel Button | |
| freeChannelBtn.addEventListener('click', () => { | |
| registrationModal.classList.remove('hidden'); | |
| currentAction = 'free'; | |
| }); | |
| // Registration Form | |
| let currentAction = ''; // 'vip' or 'free' | |
| registrationForm.addEventListener('submit', (e) => { | |
| e.preventDefault(); | |
| // In a real app, this would send data to your backend | |
| const name = document.getElementById('name').value; | |
| const email = document.getElementById('email').value; | |
| registrationModal.classList.add('hidden'); | |
| if (currentAction === 'vip') { | |
| paymentModal.classList.remove('hidden'); | |
| } else { | |
| successMessage.textContent = `Cadastro realizado com sucesso! Você agora tem acesso ao Canal Free.`; | |
| successModal.classList.remove('hidden'); | |
| } | |
| }); | |
| // Process Payment | |
| processPaymentBtn.addEventListener('click', () => { | |
| // In a real app, this would integrate with Stripe API | |
| paymentModal.classList.add('hidden'); | |
| successMessage.textContent = `Pagamento realizado com sucesso! Bem-vindo ao Canal VIP.`; | |
| successModal.classList.remove('hidden'); | |
| }); | |
| // Close Success Modal | |
| closeSuccessModal.addEventListener('click', () => { | |
| successModal.classList.add('hidden'); | |
| }); | |
| // Blog Category Filter | |
| blogCategories.forEach(category => { | |
| category.addEventListener('click', () => { | |
| // Update active category | |
| blogCategories.forEach(c => c.classList.remove('bg-pink-600', 'text-white')); | |
| blogCategories.forEach(c => c.classList.add('bg-gray-700', 'hover:bg-gray-600')); | |
| category.classList.remove('bg-gray-700', 'hover:bg-gray-600'); | |
| category.classList.add('bg-pink-600', 'text-white'); | |
| // Filter posts | |
| const categoryName = category.dataset.category; | |
| if (categoryName === 'all') { | |
| renderBlogPosts(blogPosts); | |
| } else { | |
| const filteredPosts = blogPosts.filter(post => post.category === categoryName); | |
| renderBlogPosts(filteredPosts); | |
| } | |
| }); | |
| }); | |
| // Pack Category Filter | |
| packCategories.forEach(category => { | |
| category.addEventListener('click', () => { | |
| // Update active category | |
| packCategories.forEach(c => c.classList.remove('bg-pink-600', 'text-white')); | |
| packCategories.forEach(c => c.classList.add('bg-gray-700', 'hover:bg-gray-600')); | |
| category.classList.remove('bg-gray-700', 'hover:bg-gray-600'); | |
| category.classList.add('bg-pink-600', 'text-white'); | |
| // Filter packs | |
| const categoryName = category.dataset.category; | |
| if (categoryName === 'all') { | |
| renderPacks(packs); | |
| } else { | |
| const filteredPacks = packs.filter(pack => pack.category === categoryName); | |
| renderPacks(filteredPacks); | |
| } | |
| }); | |
| }); | |
| // Mobile Menu Toggle | |
| mobileMenuButton.addEventListener('click', () => { | |
| mobileMenu.classList.toggle('hidden'); | |
| }); | |
| // Render Blog Posts | |
| function renderBlogPosts(posts) { | |
| blogPostsContainer.innerHTML = ''; | |
| posts.forEach(post => { | |
| const postElement = document.createElement('div'); | |
| postElement.className = 'blog-card bg-gray-700 rounded-lg overflow-hidden shadow-lg transition duration-300 hover:shadow-xl'; | |
| postElement.innerHTML = ` | |
| <img src="${post.image}" alt="${post.title}" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <span class="inline-block px-3 py-1 bg-gray-600 rounded-full text-sm mb-2">${post.category.charAt(0).toUpperCase() + post.category.slice(1)}</span> | |
| <h3 class="blog-title text-xl font-bold mb-2 transition duration-300">${post.title}</h3> | |
| <p class="text-gray-300 mb-4">${post.excerpt}</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-400">${post.date}</span> | |
| <button class="text-pink-500 hover:text-pink-400 font-medium">Ler mais</button> | |
| </div> | |
| </div> | |
| `; | |
| blogPostsContainer.appendChild(postElement); | |
| }); | |
| } | |
| // Render Packs | |
| function renderPacks(packs) { | |
| packsContainer.innerHTML = ''; | |
| packs.forEach(pack => { | |
| const packElement = document.createElement('div'); | |
| packElement.className = 'pack-card bg-gray-700 rounded-lg overflow-hidden shadow-lg transition duration-300'; | |
| packElement.innerHTML = ` | |
| <div class="relative"> | |
| <img src="${pack.images[0]}" alt="${pack.title}" class="w-full h-64 object-cover"> | |
| <div class="absolute top-0 left-0 bg-pink-600 text-white px-3 py-1 text-sm font-bold">${pack.category.charAt(0).toUpperCase() + pack.category.slice(1)}</div> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">${pack.title}</h3> | |
| <p class="text-gray-300 mb-4">${pack.description}</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-2xl font-bold">R$ ${pack.price.toFixed(2)}</span> | |
| <button class="bg-pink-600 hover:bg-pink-700 text-white py-2 px-4 rounded font-medium">Comprar</button> | |
| </div> | |
| </div> | |
| `; | |
| packsContainer.appendChild(packElement); | |
| }); | |
| } | |
| </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=odesigner/odesigner2023" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |