Download index.html from Kavner/undefined: direct link, hf CLI and curl.
- Browser
- Download file 56 kB
-
https://huggingface.co/spaces/Kavner/undefined/resolve/main/index.html
- Command line
-
hf download hf://spaces/Kavner/undefined/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Kavner/undefined/resolve/main/index.html
56 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Dra. Ana Clara | Harmonização Facial</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> | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(-10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .animate-fadeIn { | |
| animation: fadeIn 0.3s ease-out forwards; | |
| } | |
| #main-nav { | |
| background: transparent; | |
| transition: all 0.3s ease; | |
| } | |
| #main-nav.scrolled { | |
| background-color: white; | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); | |
| } | |
| #mobile-menu { | |
| max-height: 0; | |
| transition: max-height 0.3s ease-out; | |
| overflow: hidden; | |
| } | |
| #mobile-menu.open { | |
| max-height: 500px; | |
| transition: max-height 0.3s ease-in; | |
| } | |
| .carousel-item { | |
| transition: opacity 1s ease-in-out; | |
| } | |
| .carousel-item:not(.active) { | |
| opacity: 0; | |
| display: none; | |
| } | |
| .testimonial-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| } | |
| .service-card:hover .service-icon { | |
| transform: scale(1.1); | |
| } | |
| .map-container { | |
| overflow: hidden; | |
| padding-bottom: 56.25%; | |
| position: relative; | |
| height: 0; | |
| } | |
| .map-container iframe { | |
| left: 0; | |
| top: 0; | |
| height: 100%; | |
| width: 100%; | |
| position: absolute; | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans bg-gray-50"> | |
| <!-- Navigation --> | |
| <nav id="main-nav" class="fixed w-full z-50 transition-all duration-300"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4"> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex-shrink-0"> | |
| <span class="text-gray-900 text-2xl font-bold">Dra. Ana Clara</span> | |
| </div> | |
| <div class="hidden md:flex md:space-x-6"> | |
| <a href="#home" class="text-gray-700 hover:text-pink-600 px-3 py-2 font-medium transition-colors duration-300">Home</a> | |
| <a href="#about" class="text-gray-700 hover:text-pink-600 px-3 py-2 font-medium transition-colors duration-300">Quem Somos</a> | |
| <a href="#services" class="text-gray-700 hover:text-pink-600 px-3 py-2 font-medium transition-colors duration-300">Serviços</a> | |
| <a href="#testimonials" class="text-gray-700 hover:text-pink-600 px-3 py-2 font-medium transition-colors duration-300">Depoimentos</a> | |
| <a href="#gallery" class="text-gray-700 hover:text-pink-600 px-3 py-2 font-medium transition-colors duration-300">Clínica</a> | |
| <a href="#contact" class="text-gray-700 hover:text-pink-600 px-3 py-2 font-medium transition-colors duration-300">Contato</a> | |
| </div> | |
| <div class="flex md:hidden"> | |
| <button id="menu-btn" class="text-gray-900 hover:text-pink-600 focus:outline-none"> | |
| <i class="fas fa-bars text-2xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Mobile menu --> | |
| <div id="mobile-menu" class="hidden md:hidden bg-white shadow-lg py-2 absolute top-full left-0 right-0 w-full z-50 overflow-hidden"> | |
| <div class="px-4"> | |
| <a href="#home" class="block text-gray-900 hover:text-pink-600 py-3 px-4 font-medium rounded hover:bg-pink-50 transition-colors duration-300">Home</a> | |
| <a href="#about" class="block text-gray-900 hover:text-pink-600 py-3 px-4 font-medium rounded hover:bg-pink-50 transition-colors duration-300">Quem Somos</a> | |
| <a href="#services" class="block text-gray-900 hover:text-pink-600 py-3 px-4 font-medium rounded hover:bg-pink-50 transition-colors duration-300">Serviços</a> | |
| <a href="#testimonials" class="block text-gray-900 hover:text-pink-600 py-3 px-4 font-medium rounded hover:bg-pink-50 transition-colors duration-300">Depoimentos</a> | |
| <a href="#gallery" class="block text-gray-900 hover:text-pink-600 py-3 px-4 font-medium rounded hover:bg-pink-50 transition-colors duration-300">Clínica</a> | |
| <a href="#contact" class="block text-gray-900 hover:text-pink-600 py-3 px-4 font-medium rounded hover:bg-pink-50 transition-colors duration-300">Contato</a> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Modern Hero Section --> | |
| <section id="home" class="pt-16"> | |
| <div class="relative overflow-hidden"> | |
| <div aria-hidden class="z-[2] absolute inset-0 pointer-events-none isolate opacity-50 contain-strict hidden lg:block"> | |
| <div class="w-[35rem] h-[80rem] -translate-y-[350px] absolute left-0 top-0 -rotate-45 rounded-full bg-[radial-gradient(68.54%_68.72%_at_55.02%_31.46%,hsla(0,0%,85%,.08)_0,hsla(0,0%,55%,.02)_50%,hsla(0,0%,45%,0)_80%)]"></div> | |
| <div class="h-[80rem] absolute left-0 top-0 w-56 -rotate-45 rounded-full bg-[radial-gradient(50%_50%_at_50%_50%,hsla(0,0%,85%,.06)_0,hsla(0,0%,45%,.02)_80%,transparent_100%)] [translate:5%_-50%]"></div> | |
| <div class="h-[80rem] -translate-y-[350px] absolute left-0 top-0 w-56 -rotate-45 bg-[radial-gradient(50%_50%_at_50%_50%,hsla(0,0%,85%,.04)_0,hsla(0,0%,45%,.02)_80%,transparent_100%)]"></div> | |
| </div> | |
| <section> | |
| <div class="relative pt-24 md:pt-36"> | |
| <div class="absolute inset-0 -z-10 size-full [background:radial-gradient(125%_125%_at_50%_100%,transparent_0%,var(--background)_75%)]"></div> | |
| <div class="mx-auto max-w-7xl px-6"> | |
| <div class="text-center sm:mx-auto lg:mr-auto lg:mt-0"> | |
| <div class="animate-fadeIn"> | |
| <a href="#services" class="hover:bg-gray-100 group mx-auto flex w-fit items-center gap-4 rounded-full border border-pink-200 p-1 pl-4 shadow-md shadow-black/5 transition-all duration-300"> | |
| <span class="text-gray-700 text-sm">Novas Técnicas de Harmonização Facial</span> | |
| <span class="block h-4 w-0.5 border-l bg-pink-300"></span> | |
| <div class="bg-pink-100 group-hover:bg-pink-200 size-6 overflow-hidden rounded-full duration-500"> | |
| <div class="flex w-12 -translate-x-1/2 duration-500 ease-in-out group-hover:translate-x-0"> | |
| <span class="flex size-6"> | |
| <i class="fas fa-arrow-right m-auto text-xs text-pink-600"></i> | |
| </span> | |
| <span class="flex size-6"> | |
| <i class="fas fa-arrow-right m-auto text-xs text-pink-600"></i> | |
| </span> | |
| </div> | |
| </div> | |
| </a> | |
| <h1 class="mt-8 max-w-4xl mx-auto text-balance text-4xl md:text-5xl lg:text-6xl font-bold text-gray-900 lg:mt-16"> | |
| Beleza Natural, Resultados Extraordinários | |
| </h1> | |
| <p class="mx-auto mt-8 max-w-2xl text-balance text-lg text-gray-600"> | |
| Descubra a arte da harmonização facial com técnicas modernas que realçam sua beleza única de forma natural e personalizada. | |
| </p> | |
| </div> | |
| <div class="mt-12 flex flex-col items-center justify-center gap-4 md:flex-row"> | |
| <div class="bg-pink-100 rounded-xl border border-pink-200 p-0.5"> | |
| <a href="#contact" class="bg-pink-600 hover:bg-pink-700 text-white font-bold py-3 px-6 rounded-lg text-base inline-block transition duration-300"> | |
| <span>Agendar Consulta</span> | |
| </a> | |
| </div> | |
| <a href="#services" class="border border-gray-300 hover:border-pink-300 text-gray-700 hover:text-pink-600 font-bold py-3 px-6 rounded-lg text-base inline-block transition duration-300"> | |
| <span>Conhecer Serviços</span> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="relative -mr-56 mt-8 overflow-hidden px-2 sm:mr-0 sm:mt-12 md:mt-20"> | |
| <div aria-hidden class="bg-gradient-to-b to-white absolute inset-0 z-10 from-transparent from-35%"></div> | |
| <div class="bg-white relative mx-auto max-w-6xl overflow-hidden rounded-2xl border border-gray-200 p-4 shadow-lg"> | |
| <img class="aspect-16/9 relative rounded-2xl" | |
| src="https://images.unsplash.com/photo-1559839734-2b71ea197ec2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80" | |
| alt="Clínica de harmonização facial" | |
| width="2700" | |
| height="1519" | |
| /> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="bg-white pb-16 pt-16 md:pb-32"> | |
| <div class="group relative m-auto max-w-5xl px-6"> | |
| <div class="group-hover:blur-sm mx-auto mt-12 grid max-w-2xl grid-cols-4 gap-x-12 gap-y-8 transition-all duration-500 group-hover:opacity-50 sm:gap-x-16 sm:gap-y-14"> | |
| <div class="flex"> | |
| <img class="mx-auto h-8 w-fit" | |
| src="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80" | |
| alt="Cliente 1" | |
| height="32" | |
| width="auto" | |
| /> | |
| </div> | |
| <div class="flex"> | |
| <img class="mx-auto h-8 w-fit" | |
| src="https://images.unsplash.com/photo-1544005313-94ddf0286df2?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80" | |
| alt="Cliente 2" | |
| height="32" | |
| width="auto" | |
| /> | |
| </div> | |
| <div class="flex"> | |
| <img class="mx-auto h-8 w-fit" | |
| src="https://images.unsplash.com/photo-1552058544-f2b08422138a?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80" | |
| alt="Cliente 3" | |
| height="32" | |
| width="auto" | |
| /> | |
| </div> | |
| <div class="flex"> | |
| <img class="mx-auto h-8 w-fit" | |
| src="https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80" | |
| alt="Cliente 4" | |
| height="32" | |
| width="auto" | |
| /> | |
| </div> | |
| <div class="flex"> | |
| <img class="mx-auto h-8 w-fit" | |
| src="https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80" | |
| alt="Cliente 5" | |
| height="32" | |
| width="auto" | |
| /> | |
| </div> | |
| <div class="flex"> | |
| <img class="mx-auto h-8 w-fit" | |
| src="https://images.unsplash.com/photo-1488426862026-3ee34a7d66df?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80" | |
| alt="Cliente 6" | |
| height="32" | |
| width="auto" | |
| /> | |
| </div> | |
| <div class="flex"> | |
| <img class="mx-auto h-8 w-fit" | |
| src="https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80" | |
| alt="Cliente 7" | |
| height="32" | |
| width="auto" | |
| /> | |
| </div> | |
| <div class="flex"> | |
| <img class="mx-auto h-8 w-fit" | |
| src="https://images.unsplash.com/photo-1544725176-7c40e5a71c5e?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80" | |
| alt="Cliente 8" | |
| height="32" | |
| width="auto" | |
| /> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| </div> | |
| </section> | |
| <!-- About Section --> | |
| <section id="about" class="py-20 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="lg:flex lg:items-center lg:justify-between"> | |
| <div class="lg:w-1/2 mb-12 lg:mb-0 lg:pr-12"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-6">Dra. Ana Clara</h2> | |
| <p class="text-lg text-gray-600 mb-6"> | |
| Médica especializada em Harmonização Facial com mais de 10 anos de experiência. Formada pela Universidade de São Paulo (USP) com especialização em Dermatologia e pós-graduação em Medicina Estética. | |
| </p> | |
| <p class="text-lg text-gray-600 mb-6"> | |
| Minha missão é proporcionar resultados naturais que respeitem a individualidade de cada paciente, utilizando técnicas modernas e seguras para realçar a beleza única de cada rosto. | |
| </p> | |
| <p class="text-lg text-gray-600 mb-8"> | |
| Acreditamos que a verdadeira beleza vem da harmonia entre os traços faciais, e nosso trabalho é ajudar você a alcançar essa harmonia de forma natural e duradoura. | |
| </p> | |
| <div class="flex flex-wrap gap-4"> | |
| <div class="flex items-center bg-pink-50 px-4 py-2 rounded-full"> | |
| <i class="fas fa-check-circle text-pink-600 mr-2"></i> | |
| <span class="text-gray-700">Certificada internacionalmente</span> | |
| </div> | |
| <div class="flex items-center bg-pink-50 px-4 py-2 rounded-full"> | |
| <i class="fas fa-check-circle text-pink-600 mr-2"></i> | |
| <span class="text-gray-700">Materiais de qualidade</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="lg:w-1/2 relative"> | |
| <img src="https://images.unsplash.com/photo-1559839734-2b71ea197ec2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" | |
| alt="Dra. Ana Clara" class="w-full rounded-lg shadow-xl"> | |
| <div class="absolute -bottom-6 -left-6 bg-pink-600 text-white p-4 rounded-lg shadow-lg hidden lg:block"> | |
| <div class="text-4xl font-bold">10+</div> | |
| <div class="text-sm">Anos de experiência</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Services Section --> | |
| <section id="services" class="py-20 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Nossos Serviços</h2> | |
| <p class="text-xl text-gray-600 max-w-3xl mx-auto"> | |
| Procedimentos personalizados para harmonizar e realçar sua beleza natural | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Service 1 --> | |
| <div class="service-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300"> | |
| <div class="p-6"> | |
| <div class="service-icon w-16 h-16 bg-pink-100 rounded-full flex items-center justify-center mb-4 mx-auto transition duration-300"> | |
| <i class="fas fa-syringe text-pink-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-900 mb-3 text-center">Preenchimento Facial</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Correção de sulcos, aumento de volume em regiões específicas e harmonização de contornos faciais com ácido hialurônico de última geração. | |
| </p> | |
| <ul class="text-gray-600 mb-4 space-y-2"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Resultados imediatos</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Procedimento seguro</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Duração de 12-18 meses</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Service 2 --> | |
| <div class="service-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300"> | |
| <div class="p-6"> | |
| <div class="service-icon w-16 h-16 bg-pink-100 rounded-full flex items-center justify-center mb-4 mx-auto transition duration-300"> | |
| <i class="fas fa-hand-holding-medical text-pink-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-900 mb-3 text-center">Toxina Botulínica</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Tratamento para suavizar linhas de expressão e prevenir a formação de novas rugas, proporcionando um aspecto mais jovem e descansado. | |
| </p> | |
| <ul class="text-gray-600 mb-4 space-y-2"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Efeito em 3-7 dias</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Duração de 4-6 meses</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Precisão milimétrica</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Service 3 --> | |
| <div class="service-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300"> | |
| <div class="p-6"> | |
| <div class="service-icon w-16 h-16 bg-pink-100 rounded-full flex items-center justify-center mb-4 mx-auto transition duration-300"> | |
| <i class="fas fa-spa text-pink-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-900 mb-3 text-center">Bioestimuladores</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Estimulação natural da produção de colágeno para melhoria da qualidade da pele, aumento da firmeza e redução da flacidez. | |
| </p> | |
| <ul class="text-gray-600 mb-4 space-y-2"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Efeito progressivo</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Resultados duradouros</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Melhora global da pele</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Service 4 --> | |
| <div class="service-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300"> | |
| <div class="p-6"> | |
| <div class="service-icon w-16 h-16 bg-pink-100 rounded-full flex items-center justify-center mb-4 mx-auto transition duration-300"> | |
| <i class="fas fa-lips text-pink-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-900 mb-3 text-center">Harmonização Labial</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Modelagem dos lábios para corrigir assimetrias, aumentar volume de forma natural e definir o contorno labial. | |
| </p> | |
| <ul class="text-gray-600 mb-4 space-y-2"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Resultado natural</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Técnica indolor</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Recuperação rápida</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Service 5 --> | |
| <div class="service-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300"> | |
| <div class="p-6"> | |
| <div class="service-icon w-16 h-16 bg-pink-100 rounded-full flex items-center justify-center mb-4 mx-auto transition duration-300"> | |
| <i class="fas fa-eye text-pink-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-900 mb-3 text-center">Harmonização de Olheiras</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Tratamento para olheiras profundas ou pigmentadas, com preenchimento ou técnicas de despigmentação conforme cada caso. | |
| </p> | |
| <ul class="text-gray-600 mb-4 space-y-2"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Aspecto mais descansado</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Técnicas personalizadas</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Resultado natural</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Service 6 --> | |
| <div class="service-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300"> | |
| <div class="p-6"> | |
| <div class="service-icon w-16 h-16 bg-pink-100 rounded-full flex items-center justify-center mb-4 mx-auto transition duration-300"> | |
| <i class="fas fa-user-md text-pink-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-900 mb-3 text-center">Consulta de Avaliação</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Análise facial detalhada para planejamento personalizado de harmonização, considerando suas características e objetivos. | |
| </p> | |
| <ul class="text-gray-600 mb-4 space-y-2"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Planejamento individual</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Simulação de resultados</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check text-pink-600 mr-2"></i> | |
| <span>Orientação completa</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Testimonials Section --> | |
| <section id="testimonials" class="py-20 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">O que dizem nossos pacientes</h2> | |
| <p class="text-xl text-gray-600 max-w-3xl mx-auto"> | |
| Depoimentos reais de pessoas que confiaram em nosso trabalho | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Testimonial 1 --> | |
| <div class="testimonial-card bg-gray-50 rounded-lg p-6 shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex items-center mb-4"> | |
| <img src="https://randomuser.me/api/portraits/women/43.jpg" alt="Juliana Santos" class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold text-gray-900">Juliana Santos</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic mb-4"> | |
| "Fiz preenchimento labial com a Dra. Ana e amei o resultado! Ficou super natural, exatamente como eu queria. Ela é extremamente cuidadosa e atenciosa, explicou todo o processo detalhadamente." | |
| </p> | |
| <p class="text-sm text-gray-500">2 semanas atrás</p> | |
| </div> | |
| <!-- Testimonial 2 --> | |
| <div class="testimonial-card bg-gray-50 rounded-lg p-6 shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex items-center mb-4"> | |
| <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Ricardo Oliveira" class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold text-gray-900">Ricardo Oliveira</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic mb-4"> | |
| "Depois de anos com complexo pelo queixo pequeno, fiz harmonização facial com a Dra. Ana Clara. O resultado foi incrível! Melhorou minha autoestima e ficou tão natural que ninguém percebe que fiz procedimento." | |
| </p> | |
| <p class="text-sm text-gray-500">1 mês atrás</p> | |
| </div> | |
| <!-- Testimonial 3 --> | |
| <div class="testimonial-card bg-gray-50 rounded-lg p-6 shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex items-center mb-4"> | |
| <img src="https://randomuser.me/api/portraits/women/65.jpg" alt="Fernanda Costa" class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold text-gray-900">Fernanda Costa</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star-half-alt"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic mb-4"> | |
| "A toxina botulínica aplicada pela Dra. Ana foi a melhor que já fiz. Ela tem uma técnica perfeita que deixou minha testa sem rugas mas mantendo a expressão natural. Super recomendo!" | |
| </p> | |
| <p class="text-sm text-gray-500">3 meses atrás</p> | |
| </div> | |
| <!-- Testimonial 4 --> | |
| <div class="testimonial-card bg-gray-50 rounded-lg p-6 shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex items-center mb-4"> | |
| <img src="https://randomuser.me/api/portraits/women/22.jpg" alt="Patrícia Martins" class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold text-gray-900">Patrícia Martins</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic mb-4"> | |
| "Tratei minhas olheiras profundas com a Dra. Ana e o resultado superou minhas expectativas. Além da técnica impecável, ela é uma profissional extremamente humana e cuidadosa. A clínica é um ambiente super aconchegante também." | |
| </p> | |
| <p class="text-sm text-gray-500">2 meses atrás</p> | |
| </div> | |
| <!-- Testimonial 5 --> | |
| <div class="testimonial-card bg-gray-50 rounded-lg p-6 shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex items-center mb-4"> | |
| <img src="https://randomuser.me/api/portraits/women/87.jpg" alt="Camila Rodrigues" class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold text-gray-900">Camila Rodrigues</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic mb-4"> | |
| "Fiz bioestimulador de colágeno com a Dra. Ana e estou amando os resultados. Minha pele ficou mais firme, luminosa e com aspecto mais jovem. Ela explica tudo com muita clareza e tem um cuidado incrível com cada detalhe." | |
| </p> | |
| <p class="text-sm text-gray-500">5 meses atrás</p> | |
| </div> | |
| <!-- Testimonial 6 --> | |
| <div class="testimonial-card bg-gray-50 rounded-lg p-6 shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex items-center mb-4"> | |
| <img src="https://randomuser.me/api/portraits/men/65.jpg" alt="Gustavo Henrique" class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold text-gray-900">Gustavo Henrique</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="far fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic mb-4"> | |
| "Fiz preenchimento no queixo para melhorar o perfil e o resultado ficou excelente. A Dra. Ana tem um olhar clínico apurado e conseguiu um equilíbrio perfeito. O único ponto é que gostaria de mais horários disponíveis." | |
| </p> | |
| <p class="text-sm text-gray-500">3 semanas atrás</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Gallery Section --> | |
| <section id="gallery" class="py-20 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Nossa Clínica</h2> | |
| <p class="text-xl text-gray-600 max-w-3xl mx-auto"> | |
| Um ambiente acolhedor e equipado para seu conforto e segurança | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <div class="rounded-lg overflow-hidden shadow-lg"> | |
| <img src="https://images.unsplash.com/photo-1551601651-119c37f0edbc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" | |
| alt="Recepção da clínica" class="w-full h-64 object-cover hover:scale-105 transition duration-500"> | |
| </div> | |
| <div class="rounded-lg overflow-hidden shadow-lg"> | |
| <img src="https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" | |
| alt="Sala de procedimentos" class="w-full h-64 object-cover hover:scale-105 transition duration-500"> | |
| </div> | |
| <div class="rounded-lg overflow-hidden shadow-lg"> | |
| <img src="https://images.unsplash.com/photo-1581056771107-24ca5f033842?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" | |
| alt="Equipamentos modernos" class="w-full h-64 object-cover hover:scale-105 transition duration-500"> | |
| </div> | |
| <div class="rounded-lg overflow-hidden shadow-lg"> | |
| <img src="https://images.unsplash.com/photo-1595476712399-6269dacc1c6e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" | |
| alt="Área de espera" class="w-full h-64 object-cover hover:scale-105 transition duration-500"> | |
| </div> | |
| <div class="rounded-lg overflow-hidden shadow-lg"> | |
| <img src="https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" | |
| alt="Consultório" class="w-full h-64 object-cover hover:scale-105 transition duration-500"> | |
| </div> | |
| <div class="rounded-lg overflow-hidden shadow-lg"> | |
| <img src="https://images.unsplash.com/photo-1579684453423-f84349ef60b0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" | |
| alt="Equipe médica" class="w-full h-64 object-cover hover:scale-105 transition duration-500"> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Contact & Location Section --> | |
| <section id="contact" class="py-20 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="lg:flex lg:items-center lg:justify-between"> | |
| <div class="lg:w-1/2 mb-12 lg:mb-0 lg:pr-12"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-6">Entre em Contato</h2> | |
| <p class="text-lg text-gray-600 mb-8"> | |
| Agende sua avaliação personalizada e descubra como podemos ajudar você a alcançar a harmonia facial que deseja. | |
| </p> | |
| <div class="space-y-6"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 bg-pink-100 p-3 rounded-full"> | |
| <i class="fas fa-map-marker-alt text-pink-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h4 class="text-lg font-medium text-gray-900">Endereço</h4> | |
| <p class="text-gray-600">Av. Paulista, 1000 - Sala 123<br>São Paulo - SP</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 bg-pink-100 p-3 rounded-full"> | |
| <i class="fas fa-phone-alt text-pink-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h4 class="text-lg font-medium text-gray-900">Telefone</h4> | |
| <p class="text-gray-600">(11) 99999-9999</p> | |
| <p class="text-gray-600">(11) 88888-8888</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 bg-pink-100 p-3 rounded-full"> | |
| <i class="fas fa-envelope text-pink-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h4 class="text-lg font-medium text-gray-900">Email</h4> | |
| <p class="text-gray-600">contato@dranaclara.com.br</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 bg-pink-100 p-3 rounded-full"> | |
| <i class="fas fa-clock text-pink-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h4 class="text-lg font-medium text-gray-900">Horário de Funcionamento</h4> | |
| <p class="text-gray-600">Segunda a Sexta: 9h às 18h</p> | |
| <p class="text-gray-600">Sábado: 9h às 13h</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-8"> | |
| <h4 class="text-lg font-medium text-gray-900 mb-4">Redes Sociais</h4> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="bg-pink-100 hover:bg-pink-200 text-pink-600 p-3 rounded-full transition duration-300"> | |
| <i class="fab fa-instagram text-xl"></i> | |
| </a> | |
| <a href="#" class="bg-pink-100 hover:bg-pink-200 text-pink-600 p-3 rounded-full transition duration-300"> | |
| <i class="fab fa-facebook-f text-xl"></i> | |
| </a> | |
| <a href="https://wa.me/5511999999999" target="_blank" class="bg-pink-100 hover:bg-pink-200 text-pink-600 p-3 rounded-full transition duration-300"> | |
| <i class="fab fa-whatsapp text-xl"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="lg:w-1/2"> | |
| <div class="bg-white p-8 rounded-lg shadow-lg"> | |
| <h3 class="text-2xl font-bold text-gray-900 mb-6">Agende sua Consulta</h3> | |
| <form> | |
| <div class="mb-4"> | |
| <label for="name" class="block text-gray-700 font-medium mb-2">Nome Completo</label> | |
| <input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-pink-600"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="email" class="block text-gray-700 font-medium mb-2">Email</label> | |
| <input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-pink-600"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="phone" class="block text-gray-700 font-medium mb-2">Telefone</label> | |
| <input type="tel" id="phone" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-pink-600"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="service" class="block text-gray-700 font-medium mb-2">Serviço de Interesse</label> | |
| <select id="service" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-pink-600"> | |
| <option value="">Selecione um serviço</option> | |
| <option value="preenchimento">Preenchimento Facial</option> | |
| <option value="toxina">Toxina Botulínica</option> | |
| <option value="bioestimulador">Bioestimuladores</option> | |
| <option value="labial">Harmonização Labial</option> | |
| <option value="olheiras">Harmonização de Olheiras</option> | |
| <option value="consulta">Consulta de Avaliação</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="message" class="block text-gray-700 font-medium mb-2">Mensagem</label> | |
| <textarea id="message" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-pink-600"></textarea> | |
| </div> | |
| <button type="submit" class="w-full bg-pink-600 hover:bg-pink-700 text-white font-bold py-3 px-4 rounded-lg transition duration-300"> | |
| Enviar Mensagem | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Map Section --> | |
| <div class="mt-20"> | |
| <h3 class="text-2xl font-bold text-gray-900 mb-6 text-center">Nossa Localização</h3> | |
| <div class="map-container rounded-lg shadow-xl"> | |
| <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3657.28748214888!2d-46.663726724687!3d-23.55810827878993!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x94ce59cd0c29f6e9%3A0x8b5f6b6e1a0a0a0a!2sAv.%20Paulista%2C%201000%20-%20Bela%20Vista%2C%20S%C3%A3o%20Paulo%20-%20SP%2C%2001310-100!5e0!3m2!1spt-BR!2sbr!4v1689876543210!5m2!1spt-BR!2sbr" | |
| width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white py-12"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-xl font-bold mb-4">Dra. Ana Clara</h3> | |
| <p class="text-gray-400"> | |
| Especialista em Harmonização Facial com mais de 10 anos de experiência, proporcionando resultados naturais e personalizados. | |
| </p> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Links Rápidos</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#home" class="text-gray-400 hover:text-white transition duration-300">Home</a></li> | |
| <li><a href="#about" class="text-gray-400 hover:text-white transition duration-300">Quem Somos</a></li> | |
| <li><a href="#services" class="text-gray-400 hover:text-white transition duration-300">Serviços</a></li> | |
| <li><a href="#testimonials" class="text-gray-400 hover:text-white transition duration-300">Depoimentos</a></li> | |
| <li><a href="#contact" class="text-gray-400 hover:text-white transition duration-300">Contato</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Serviços</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Preenchimento Facial</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Toxina Botulínica</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Bioestimuladores</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Harmonização Labial</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Harmonização de Olheiras</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Contato</h4> | |
| <address class="not-italic text-gray-400"> | |
| <p class="mb-2">Av. Paulista, 1000 - Sala 123</p> | |
| <p class="mb-2">São Paulo - SP</p> | |
| <p class="mb-2">(11) 99999-9999</p> | |
| <p class="mb-4">contato@dranaclara.com.br</p> | |
| </address> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i class="fab fa-instagram text-xl"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i class="fab fa-facebook-f text-xl"></i> | |
| </a> | |
| <a href="https://wa.me/5511999999999" target="_blank" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i class="fab fa-whatsapp text-xl"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-400"> | |
| <p>© 2023 Dra. Ana Clara - Harmonização Facial. Todos os direitos reservados.</p> | |
| <p class="mt-2">Desenvolvido com <i class="fas fa-heart text-pink-600"></i> para sua beleza e bem-estar</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Back to Top Button --> | |
| <button id="back-to-top" class="fixed bottom-8 right-8 bg-pink-600 text-white p-3 rounded-full shadow-lg opacity-0 invisible transition-all duration-300"> | |
| <i class="fas fa-arrow-up"></i> | |
| </button> | |
| <script> | |
| // Navigation scroll effect | |
| const nav = document.getElementById('main-nav'); | |
| window.addEventListener('scroll', () => { | |
| if (window.scrollY > 50) { | |
| nav.classList.add('scrolled'); | |
| } else { | |
| nav.classList.remove('scrolled'); | |
| } | |
| }); | |
| // Initialize nav state | |
| if (window.scrollY > 50) { | |
| nav.classList.add('scrolled'); | |
| } | |
| // Mobile menu toggle | |
| const menuBtn = document.getElementById('menu-btn'); | |
| const mobileMenu = document.getElementById('mobile-menu'); | |
| menuBtn.addEventListener('click', () => { | |
| mobileMenu.classList.toggle('hidden'); | |
| mobileMenu.classList.toggle('open'); | |
| }); | |
| // Carousel functionality | |
| let currentSlide = 0; | |
| const slides = document.querySelectorAll('.carousel-item'); | |
| const indicators = document.querySelectorAll('.carousel-indicator'); | |
| const totalSlides = slides.length; | |
| function showSlide(index) { | |
| slides.forEach(slide => slide.classList.remove('active')); | |
| indicators.forEach(indicator => indicator.classList.remove('bg-white', 'bg-opacity-75')); | |
| slides[index].classList.add('active'); | |
| indicators[index].classList.add('bg-white', 'bg-opacity-75'); | |
| currentSlide = index; | |
| } | |
| document.getElementById('next-btn').addEventListener('click', () => { | |
| currentSlide = (currentSlide + 1) % totalSlides; | |
| showSlide(currentSlide); | |
| }); | |
| document.getElementById('prev-btn').addEventListener('click', () => { | |
| currentSlide = (currentSlide - 1 + totalSlides) % totalSlides; | |
| showSlide(currentSlide); | |
| }); | |
| indicators.forEach(indicator => { | |
| indicator.addEventListener('click', () => { | |
| showSlide(parseInt(indicator.getAttribute('data-index'))); | |
| }); | |
| }); | |
| // Auto-rotate carousel | |
| let slideInterval = setInterval(() => { | |
| currentSlide = (currentSlide + 1) % totalSlides; | |
| showSlide(currentSlide); | |
| }, 5000); | |
| // Pause carousel on hover | |
| const carousel = document.querySelector('.relative.h-screen'); | |
| carousel.addEventListener('mouseenter', () => { | |
| clearInterval(slideInterval); | |
| }); | |
| carousel.addEventListener('mouseleave', () => { | |
| slideInterval = setInterval(() => { | |
| currentSlide = (currentSlide + 1) % totalSlides; | |
| showSlide(currentSlide); | |
| }, 5000); | |
| }); | |
| // Back to top button | |
| const backToTopBtn = document.getElementById('back-to-top'); | |
| window.addEventListener('scroll', () => { | |
| if (window.pageYOffset > 300) { | |
| backToTopBtn.classList.remove('opacity-0', 'invisible'); | |
| backToTopBtn.classList.add('opacity-100', 'visible'); | |
| } else { | |
| backToTopBtn.classList.remove('opacity-100', 'visible'); | |
| backToTopBtn.classList.add('opacity-0', 'invisible'); | |
| } | |
| }); | |
| backToTopBtn.addEventListener('click', () => { | |
| window.scrollTo({ top: 0, behavior: 'smooth' }); | |
| }); | |
| // Smooth scrolling for navigation links | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function(e) { | |
| e.preventDefault(); | |
| const targetId = this.getAttribute('href'); | |
| const targetElement = document.querySelector(targetId); | |
| const navbarHeight = document.getElementById('main-nav').offsetHeight; | |
| if (targetElement) { | |
| window.scrollTo({ | |
| top: targetElement.offsetTop - navbarHeight, | |
| behavior: 'smooth' | |
| }); | |
| // Close mobile menu if open | |
| if (mobileMenu.classList.contains('open')) { | |
| mobileMenu.classList.remove('open'); | |
| mobileMenu.classList.add('hidden'); | |
| } | |
| } | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |