Download index.html from Genorld/genops: direct link, hf CLI and curl.
- Browser
- Download file 41.1 kB
-
https://huggingface.co/spaces/Genorld/genops/resolve/main/index.html
- Command line
-
hf download hf://spaces/Genorld/genops/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Genorld/genops/resolve/main/index.html
41.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Genops Official | Next Generation Operations</title> | |
| <!-- Custom Favicon for Genops Official --> | |
| <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='gradient' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%233B82F6'/%3E%3Cstop offset='50%25' stop-color='%238B5CF6'/%3E%3Cstop offset='100%25' stop-color='%2306B6D4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='50' cy='50' r='45' fill='url(%23gradient)'/%3E%3C/svg%3E" /> | |
| <!-- Tailwind CSS CDN for utility classes --> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <style> | |
| /* Styling for the fixed background video */ | |
| .hero video { | |
| position: fixed; /* Make the video fixed relative to the viewport */ | |
| top: 0; | |
| left: 0; | |
| width: 100vw; /* Cover the entire viewport width */ | |
| height: 100vh; /* Cover the entire viewport height */ | |
| object-fit: cover; | |
| z-index: -1; /* Place it behind other content */ | |
| } | |
| /* Ensure the body takes full height for scrolling effect */ | |
| body { | |
| min-height: 100vh; | |
| } | |
| .hero h1 { | |
| text-shadow: 0 0 20px #0072ff; | |
| } | |
| /* Styles for the modal backdrop */ | |
| .modal-backdrop { | |
| background-color: rgba(0, 0, 0, 0.7); | |
| backdrop-filter: blur(5px); | |
| transition: opacity 0.3s ease-out; /* Smooth fade for backdrop */ | |
| } | |
| .modal-backdrop.hidden { | |
| opacity: 0; | |
| pointer-events: none; /* Allows clicks through when hidden */ | |
| } | |
| /* Fading animation for slides */ | |
| .fade { | |
| animation-name: fade; | |
| animation-duration: 1.5s; | |
| } | |
| @keyframes fade { | |
| from {opacity: .4} | |
| to {opacity: 1} | |
| } | |
| /* Initial state for scroll reveal elements */ | |
| .reveal { | |
| opacity: 0; | |
| transform: translateY(50px); | |
| transition: opacity 1s ease-out, transform 1s ease-out; | |
| } | |
| /* Active state for scroll reveal elements */ | |
| .reveal-active { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| /* Initial state for header fade-in */ | |
| header { | |
| opacity: 0; | |
| transition: opacity 1s ease-in-out; | |
| } | |
| /* Active state for header fade-in */ | |
| header.header-active { | |
| opacity: 1; | |
| } | |
| /* Keyframes for the bounce-in animation (for Contact Modal) */ | |
| @keyframes bounce-in { | |
| 0% { | |
| opacity: 0; | |
| transform: translateY(-200px); | |
| } | |
| 60% { | |
| opacity: 1; | |
| transform: translateY(20px); | |
| } | |
| 80% { | |
| transform: translateY(-10px); | |
| } | |
| 100% { | |
| transform: translateY(0); | |
| } | |
| } | |
| /* Class to apply the bounce-in animation */ | |
| .animate-bounce-in { | |
| animation: bounce-in 0.8s ease-out forwards; | |
| } | |
| /* Keyframes for the slide-out animation (for Contact Modal) */ | |
| @keyframes slide-out { | |
| 0% { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| 100% { | |
| opacity: 0; | |
| transform: translateY(200px); /* Slide down and out */ | |
| } | |
| } | |
| /* Class to apply the slide-out animation */ | |
| .animate-slide-out { | |
| animation: slide-out 0.5s ease-in forwards; | |
| } | |
| /* Back to Top Button styles */ | |
| #backToTopBtn { | |
| display: none; /* Hidden by default */ | |
| position: fixed; /* Fixed position */ | |
| bottom: 20px; /* Place at the bottom */ | |
| right: 20px; /* Place at the right */ | |
| z-index: 1000; /* High z-index to be on top */ | |
| background-color: #00c6ff; /* Button background */ | |
| color: white; /* Text color */ | |
| border: none; | |
| border-radius: 50%; /* Circular button */ | |
| width: 50px; | |
| height: 50px; | |
| font-size: 24px; | |
| cursor: pointer; | |
| opacity: 0; | |
| transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; | |
| transform: translateY(20px); | |
| box-shadow: 0 4px 10px rgba(0, 198, 255, 0.4); | |
| } | |
| #backToTopBtn.show { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| /* Spinner for AI Advisor */ | |
| .spinner { | |
| border: 4px solid rgba(255, 255, 255, 0.3); | |
| border-top: 4px solid #00c6ff; | |
| border-radius: 50%; | |
| width: 30px; | |
| height: 30px; | |
| animation: spin 1s linear infinite; | |
| margin: 0 auto; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| /* Custom animations for AI Advisor modal to slide up/down from bottom */ | |
| @keyframes slide-in-from-bottom-to-topnav { | |
| from { | |
| top: 100vh; /* Start from completely off-screen below */ | |
| opacity: 0; | |
| } | |
| to { | |
| top: 80px; /* End position, below the header */ | |
| opacity: 1; | |
| } | |
| } | |
| @keyframes slide-out-to-bottom { | |
| from { | |
| top: 80px; | |
| opacity: 1; | |
| } | |
| to { | |
| top: 100vh; /* Slide out to bottom of screen */ | |
| opacity: 0; | |
| } | |
| } | |
| .animate-slide-in-from-bottom-to-topnav { | |
| animation: slide-in-from-bottom-to-topnav 0.5s ease-out forwards; | |
| } | |
| .animate-slide-out-to-bottom { | |
| animation: slide-out-to-bottom 0.5s ease-in forwards; | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans bg-[#0a0f1c] text-[#eaeaea] leading-relaxed"> | |
| <!-- Header --> | |
| <header class="flex justify-between items-center py-5 px-12 bg-gray-900 bg-opacity-70 fixed w-full top-0 z-50 rounded-b-lg"> | |
| <div class="flex items-center space-x-2"> | |
| <!-- Icon element (Header Logo) --> | |
| <div class="relative"> | |
| <svg width="32" height="32" viewBox="0 0 48 48" class="relative z-10"> | |
| <defs> | |
| <linearGradient id="logoGradientHeader" x1="0%" y1="0%" x2="100%" y2="100%"> | |
| <stop offset="0%" stopColor="#3B82F6" /> | |
| <stop offset="50%" stopColor="#8B5CF6" /> | |
| <stop offset="100%" stopColor="#06B6D4" /> | |
| </linearGradient> | |
| <linearGradient id="accentGradientHeader" x1="0%" y1="0%" x2="100%" y2="100%"> | |
| <stop offset="0%" stopColor="#06B6D4" /> | |
| <stop offset="100%" stopColor="#3B82F6" /> | |
| </linearGradient> | |
| </defs> | |
| <path | |
| d="M12 8 L36 8 L40 16 L36 24 L24 24 L20 16 L24 8 Z" | |
| fill="url(#logoGradientHeader)" | |
| class="drop-shadow-lg" | |
| /> | |
| <circle cx="16" cy="32" r="6" fill="url(#accentGradientHeader)" class="opacity-80" /> | |
| <rect x="28" y="28" width="12" height="8" rx="2" fill="url(#accentGradientHeader)" class="opacity-60" /> | |
| <path | |
| d="M8 40 L40 40 M8 36 L16 36 M32 36 L40 36" | |
| stroke="url(#logoGradientHeader)" | |
| strokeWidth="2" | |
| strokeLinecap="round" | |
| /> | |
| </svg> | |
| <div class="absolute inset-0 bg-gradient-to-r from-blue-500 via-purple-500 to-cyan-500 rounded-lg blur-sm opacity-30 animate-pulse"></div> | |
| </div> | |
| <!-- Text logo (Header Logo) --> | |
| <div class="flex flex-col"> | |
| <h1 class="text-3xl font-bold bg-gradient-to-r from-blue-400 via-purple-400 to-cyan-400 bg-clip-text text-transparent leading-none"> | |
| Genops Official | |
| </h1> | |
| <div class="h-0.5 bg-gradient-to-r from-blue-500 via-purple-500 to-cyan-500 mt-1 rounded-full"></div> | |
| </div> | |
| </div> | |
| <nav> | |
| <a href="#mission" class="ml-5 text-[#eaeaea] hover:text-[#00c6ff] transition-colors duration-300 rounded-md nav-link">Mission</a> | |
| <a href="#about" class="ml-5 text-[#eaeaea] hover:text-[#00c6ff] transition-colors duration-300 rounded-md nav-link">About</a> | |
| <a href="#services" class="ml-5 text-[#eaeaea] hover:text-[#00c6ff] transition-colors duration-300 rounded-md nav-link">Services</a> | |
| <!-- Contact link to open the modal --> | |
| <a href="#" id="openContactModal" class="ml-5 text-[#eaeaea] hover:text-[#00c6ff] transition-colors duration-300 rounded-md">Contact</a> | |
| </nav> | |
| </header> | |
| <!-- Hero Section --> | |
| <section class="relative h-screen overflow-hidden"> | |
| <!-- The video is now fixed in the background --> | |
| <video autoplay loop muted playsinline class="w-full h-full object-cover"> | |
| <source src="{{ url_for('static', filename='genops-silent.mp4') }}" type="video/mp4"> | |
| </video> | |
| <!-- This div creates the dimming overlay directly on the hero section --> | |
| <div class="absolute inset-0 bg-black bg-opacity-50 z-0"></div> | |
| <!-- Background Logo for Hero Section with Parallax Effect --> | |
| <div id="heroBgLogo" class="absolute inset-0 flex items-center justify-center z-10 opacity-10" style="transform: translateY(0px);"> | |
| <div class="relative scale-[3.5] transform"> | |
| <svg width="48" height="48" viewBox="0 0 48 48" class="relative z-10"> | |
| <defs> | |
| <linearGradient id="logoGradientHero" x1="0%" y1="0%" x2="100%" y2="100%"> | |
| <stop offset="0%" stopColor="#3B82F6" /> | |
| <stop offset="50%" stopColor="#8B5CF6" /> | |
| <stop offset="100%" stopColor="#06B6D4" /> | |
| </linearGradient> | |
| <linearGradient id="accentGradientHero" x1="0%" y1="0%" x2="100%" y2="100%"> | |
| <stop offset="0%" stopColor="#06B6D4" /> | |
| <stop offset="100%" stopColor="#3B82F6" /> | |
| </linearGradient> | |
| </defs> | |
| <path | |
| d="M12 8 L36 8 L40 16 L36 24 L24 24 L20 16 L24 8 Z" | |
| fill="url(#logoGradientHero)" | |
| class="drop-shadow-lg" | |
| /> | |
| <circle cx="16" cy="32" r="6" fill="url(#accentGradientHero)" class="opacity-80" /> | |
| <rect x="28" y="28" width="12" height="8" rx="2" fill="url(#accentGradientHero)" class="opacity-60" /> | |
| <path | |
| d="M8 40 L40 40 M8 36 L16 36 M32 36 L40 36" | |
| stroke="url(#logoGradientHero)" | |
| strokeWidth="2" | |
| strokeLinecap="round" | |
| /> | |
| </svg> | |
| <div class="absolute inset-0 bg-gradient-to-r from-blue-500 via-purple-500 to-cyan-500 rounded-lg blur-xl opacity-30 animate-pulse"></div> | |
| </div> | |
| <div class="absolute text-8xl font-bold bg-gradient-to-r from-blue-400 via-purple-400 to-cyan-400 bg-clip-text text-transparent opacity-50 z-0"> | |
| Genops Official | |
| </div> | |
| </div> | |
| <!-- End Background Logo for Hero Section --> | |
| <!-- Main Hero Text (now on top) --> | |
| <div class="absolute inset-0 flex flex-col justify-center items-center text-center z-20"> | |
| <h1 id="heroTitle" class="text-5xl mb-4 text-[#00c6ff]"></h1> | |
| <p id="heroSubtitle" class="text-xl text-[#eaeaea]"></p> | |
| </div> | |
| </section> | |
| <!-- Mission Section --> | |
| <section id="mission" class="py-24 w-full text-center rounded-lg shadow-lg bg-gray-900 mt-8 mb-8 reveal"> | |
| <div class="max-w-4xl mx-auto px-4"> | |
| <h2 class="text-4xl mb-5 text-[#00c6ff]">Our Mission</h2> | |
| <p class="text-lg text-[#ccc]"> | |
| At <strong>Genops Official</strong>, our mission is to power the future with | |
| <em>next-generation operations</em> that merge innovation, smart | |
| solutions, and cutting-edge strategies. We strive to simplify complex | |
| processes, harness technology for efficiency, and deliver futuristic | |
| systems that empower businesses and individuals to achieve more. We are | |
| committed to **driving transformative impact** for our clients, ensuring | |
| they not only adapt to change but **lead it**. Our goal is to forge lasting | |
| partnerships built on trust, innovation, and shared success, propelling | |
| our clients into a future of unparalleled growth and operational excellence. | |
| </p> | |
| <!-- Testimonials Section - Slideshow (Moved into Mission Section) --> | |
| <div id="testimonials" class="mt-16 pt-8 border-t border-gray-700"> | |
| <h3 class="text-3xl font-bold mb-8 text-[#00c6ff]">What Our Clients Say</h3> | |
| <div class="relative w-full max-w-2xl mx-auto overflow-hidden rounded-lg bg-gray-700 p-8 shadow-md"> | |
| <!-- Full-width slides with number and text --> | |
| <div class="mySlides fade"> | |
| <div class="flex flex-col items-center justify-center"> | |
| <img src="https://placehold.co/100x100/444444/FFFFFF?text=Client1" alt="Client 1" class="w-24 h-24 rounded-full object-cover mb-4"> | |
| <p class="text-lg italic text-[#ccc] mb-4">"Genops Official completely transformed our workflow. Their smart solutions boosted our efficiency beyond expectations!"</p> | |
| <p class="font-semibold text-[#eaeaea]">- Jane Doe, Tech Solutions Inc.</p> | |
| </div> | |
| </div> | |
| <div class="mySlides fade"> | |
| <div class="flex flex-col items-center justify-center"> | |
| <img src="https://placehold.co/100x100/444444/FFFFFF?text=Client2" alt="Client 2" class="w-24 h-24 rounded-full object-cover mb-4"> | |
| <p class="text-lg italic text-[#ccc] mb-4">"The team at Genops Official delivered a futuristic system that perfectly aligns with our long-term goals. Highly recommend!"</p> | |
| <p class="font-semibold text-[#eaeaea]">- John Smith, Global Innovations</p> | |
| </div> | |
| </div> | |
| <div class="mySlides fade"> | |
| <div class="flex flex-col items-center justify-center"> | |
| <img src="https://placehold.co/100x100/444444/FFFFFF?text=Client3" alt="Client 3" class="w-24 h-32 rounded-full object-cover mb-4"> | |
| <p class="text-lg italic text-[#ccc] mb-4">"Professional, reliable, and truly impactful. Genops Official is an invaluable partner for any business looking to innovate."</p> | |
| <p class="font-semibold text-[#eaeaea]">- Emily White, Future Systems Co.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- About Us Section --> | |
| <section id="about" class="py-24 w-full text-center rounded-lg shadow-lg bg-gray-900 mt-8 mb-8 reveal"> | |
| <div class="max-w-4xl mx-auto px-4"> | |
| <h2 class="text-4xl mb-5 text-[#00c6ff]">About Us</h2> | |
| <p class="text-lg text-[#ccc] mb-4"> | |
| Founded on the principles of **innovation** and **efficiency**, Genops Official is at the forefront of transforming operational landscapes. We believe in harnessing the power of advanced technology to create streamlined, intelligent, and adaptable systems for businesses across various sectors. | |
| </p> | |
| <p class="text-lg text-[#ccc]"> | |
| Our team is composed of forward-thinkers and industry experts dedicated to pushing boundaries. We don't just provide solutions; we engineer experiences that drive growth, enhance productivity, and prepare our clients for the challenges of tomorrow. Join us in building a smarter, more connected operational future. | |
| </p> | |
| <div class="mt-12 pt-8 border-t border-gray-700"> | |
| <h3 class="text-3xl font-bold mb-8 text-[#00c6ff]">Meet Our CEO</h3> | |
| <div class="flex flex-col items-center justify-center mb-12"> | |
| <!-- CEO Information --> | |
| <div class="w-64 h-80 bg-gray-600 flex items-center justify-center overflow-hidden mb-4"> | |
| <img src="https://placehold.co/256x320/333333/FFFFFF?text=CEO+Image" alt="Genorld Ryan - CEO" class="object-cover w-full h-full"> | |
| </div> | |
| <p class="text-xl font-semibold text-[#eaeaea]">Genorld Ryan</p> | |
| <p class="text-md text-[#ccc] mt-1">CEO & Founder</p> | |
| <p class="text-sm text-gray-400 mt-2"> | |
| As the visionary founder and CEO of Genops Official, Genorld Ryan leads our mission to revolutionize operations with cutting-edge strategies. With a passion for innovation and a deep understanding of future technologies, Genorld drives the company's commitment to delivering smart, impactful solutions that empower businesses worldwide. | |
| </p> | |
| </div> | |
| </div> | |
| <h3 class="text-3xl font-bold mb-8 text-[#00c6ff] mt-12 pt-8 border-t border-gray-700">Meet Our Co-Founders</h3> | |
| <div class="flex flex-col items-center justify-center sm:flex-row sm:space-x-8"> | |
| <!-- Co-Founder 1: Joshan Dapaz --> | |
| <div class="flex flex-col items-center justify-center text-center sm:text-left max-w-sm mb-8 sm:mb-0"> | |
| <!-- Placeholder for Joshan Dapaz Image --> | |
| <div class="w-32 h-32 bg-gray-600 rounded-full flex items-center justify-center overflow-hidden mb-4"> | |
| <img src="https://placehold.co/128x128/333333/FFFFFF?text=Joshan+Image" alt="Joshan Dapaz - Co-Founder" class="object-cover w-full h-full"> | |
| </div> | |
| <p class="text-xl font-semibold text-[#eaeaea]">Joshan Dapaz</p> | |
| <p class="text-md text-[#ccc] mt-1">Co-Founder & CTO</p> | |
| <p class="text-sm text-gray-400 mt-2"> | |
| Joshan Dapaz, as Co-Founder and CTO, spearheads the technological vision at Genops Official. With expertise in developing robust and scalable systems, Joshan ensures that our innovative solutions are built on a foundation of technical excellence and forward-thinking design. | |
| </p> | |
| </div> | |
| <!-- Co-Founder 2: Jec Vander --> | |
| <div class="flex flex-col items-center justify-center text-center sm:text-left max-w-sm"> | |
| <!-- Placeholder for Jec Vander Image --> | |
| <div class="w-32 h-32 bg-gray-600 rounded-full flex items-center justify-center overflow-hidden mb-4"> | |
| <img src="https://placehold.co/128x128/333333/FFFFFF?text=Jec+Image" alt="Jec Vander - Co-Founder" class="object-cover w-full h-full"> | |
| </div> | |
| <p class="text-xl font-semibold text-[#eaeaea]">Jec Vander</p> | |
| <p class="text-md text-[#ccc] mt-1">Co-Founder & COO</p> | |
| <p class="text-sm text-gray-400 mt-2"> | |
| Jec Vander, Co-Founder and COO, is instrumental in optimizing Genops Official's operational strategies. With a focus on seamless execution and scalable processes, Jec ensures that our internal workings and client deliveries are efficient and of the highest quality. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Services Section --> | |
| <section id="services" class="py-24 w-full text-center rounded-lg shadow-lg bg-gray-900 mt-8 mb-8 reveal"> | |
| <div class="max-w-4xl mx-auto px-4"> | |
| <h2 class="text-4xl mb-5 text-[#00c6ff]">Our Services</h2> | |
| <ul class="flex flex-col sm:flex-row flex-wrap justify-center gap-4"> | |
| <li class="bg-gray-700 p-6 rounded-lg shadow-md text-lg text-[#ccc] hover:bg-blue-700 hover:scale-105 transition-all duration-300 ease-in-out cursor-pointer flex-1 min-w-[280px] max-w-[calc(33%-1rem)] sm:max-w-none">Dynamic, adaptive solutions for fast-changing industries</li> | |
| <li class="bg-gray-700 p-6 rounded-lg shadow-md text-lg text-[#ccc] hover:bg-blue-700 hover:scale-105 transition-all duration-300 ease-in-out cursor-pointer flex-1 min-w-[280px] max-w-[calc(33%-1rem)] sm:max-w-none">Futuristic systems inspired by tomorrow’s technology</li> | |
| <li class="bg-gray-700 p-6 rounded-lg shadow-md text-lg text-[#ccc] hover:bg-blue-700 hover:scale-105 transition-all duration-300 ease-in-out cursor-pointer flex-1 min-w-[280px] max-w-[calc(33%-1rem)] sm:max-w-none">Professional, reliable, and impactful operations</li> | |
| </ul> | |
| </div> | |
| </section> | |
| <!-- AI-Powered Service Advisor Section - Now hidden and used as modal content --> | |
| <section id="ai-advisor" class="hidden"></section> | |
| <!-- Contact Section (Hidden by default, replaced by modal) --> | |
| <section id="contact" class="hidden"></section> | |
| <!-- Footer --> | |
| <footer class="text-center py-5 bg-gray-900 rounded-t-lg"> | |
| <div class="flex justify-center space-x-6 mb-4"> | |
| <!-- Instagram Icon --> | |
| <a href="https://instagram.com/genopsofficial" target="_blank" rel="noopener noreferrer" class="text-[#eaeaea] hover:text-[#e1306c] transition-colors duration-300"> | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-instagram"><rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" y1="6.5" x2="17.51" y2="6.5"></line></svg> | |
| </a> | |
| <!-- YouTube Icon --> | |
| <a href="https://youtube.com/genopsofficial" target="_blank" rel="noopener noreferrer" class="text-[#eaeaea] hover:text-[#ff0000] transition-colors duration-300"> | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-youtube"><path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-1.94C18.88 4 12 4 12 4s-6.88 0-8.6.48a2.78 2.78 0 0 0-1.94 1.94C2 8.12 2 12 2 12s0 3.88.48 5.6a2.78 2.78 0 0 0 1.94 1.94c1.72.48 8.6.48 8.6.48s6.88 0 8.6-.48a2.78 2.78 0 0 0 1.94-1.94c.48-1.72.48-5.6.48-5.6s0-3.88-.48-5.6z"></path><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> | |
| </a> | |
| </div> | |
| <p>© 2025 Genops Official — All Rights Reserved</p> | |
| </footer> | |
| <!-- Back to Top Button --> | |
| <button id="backToTopBtn" title="Go to top">↑</button> | |
| <!-- Fixed AI Advisor Button --> | |
| <button id="openAIAdvisorFixedBtn" title="Open AI Advisor" class="fixed bottom-20 left-6 z-[999] bg-gradient-to-r from-purple-600 to-indigo-700 text-white p-4 rounded-full shadow-lg hover:from-purple-700 hover:to-indigo-800 transition-all duration-300 transform hover:scale-110"> | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-zap"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon></svg> | |
| </button> | |
| <!-- Contact Modal --> | |
| <div id="contactModal" class="fixed inset-0 flex items-center justify-center z-[1001] modal-backdrop hidden"> | |
| <div id="contactModalContent" class="bg-gray-900 p-8 rounded-lg shadow-2xl w-full max-w-lg mx-auto relative border border-blue-500 max-h-[90vh] overflow-y-auto"> | |
| <button id="closeContactModal" class="absolute top-4 right-4 text-gray-400 hover:text-gray-200 text-2xl font-bold"> | |
| × | |
| </button> | |
| <h2 class="text-3xl font-bold mb-6 text-[#00c6ff] text-center">Contact Us</h2> | |
| <!-- Message Report Area --> | |
| <div id="contactMessage" class="hidden bg-green-500 text-white p-3 rounded-md mb-4 text-center"> | |
| Thank you! Your email client should now be open for you to send the message. | |
| </div> | |
| <!-- End Message Report Area --> | |
| <form id="contactForm" action="mailto:genorldryan69@gmail.com" method="post" enctype="text/plain" class="space-y-6"> | |
| <div> | |
| <label for="name" class="block text-lg font-medium text-gray-300 mb-2">Name</label> | |
| <input | |
| type="text" | |
| id="name" | |
| name="Name" | |
| placeholder="Your Name" | |
| class="w-full px-4 py-2 rounded-md bg-gray-700 border border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 text-gray-200 placeholder-gray-400" | |
| /> | |
| </div> | |
| <div> | |
| <label for="email" class="block text-lg font-medium text-gray-300 mb-2">Email</label> | |
| <input | |
| type="email" | |
| id="email" | |
| name="Email" | |
| placeholder="your@example.com" | |
| class="w-full px-4 py-2 rounded-md bg-gray-700 border border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 text-gray-200 placeholder-gray-400" | |
| /> | |
| </div> | |
| <div> | |
| <label for="message" class="block text-lg font-medium text-gray-300 mb-2">Message</label> | |
| <textarea | |
| id="message" | |
| name="Message" | |
| rows="5" | |
| placeholder="Your Message" | |
| class="w-full px-4 py-2 rounded-md bg-gray-700 border border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 text-gray-200 placeholder-gray-400 resize-y" | |
| ></textarea> | |
| </div> | |
| <button | |
| type="submit" | |
| class="w-full py-3 px-6 bg-gradient-to-r from-blue-500 to-indigo-600 text-white font-semibold rounded-md hover:from-blue-600 hover:to-indigo-700 transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 focus:ring-offset-gray-800" | |
| > | |
| Send Message | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| <!-- AI Advisor Modal Structure --> | |
| <div id="aiAdvisorModal" class="fixed inset-0 modal-backdrop hidden z-[1001]"> | |
| <div id="aiAdvisorModalContent" class="absolute top-20 inset-x-0 bg-gray-900 p-8 rounded-t-lg shadow-2xl max-w-2xl mx-auto border border-blue-500 max-h-[calc(100vh-80px)] overflow-y-auto"> | |
| <button id="closeAIAdvisorModal" class="absolute top-4 right-4 text-gray-400 hover:text-gray-200 text-2xl font-bold"> | |
| × | |
| </button> | |
| <h2 class="text-3xl font-bold mb-6 text-[#00c6ff] text-center">✨ AI-Powered Service Advisor ✨</h2> | |
| <p class="text-lg text-[#ccc] mb-8"> | |
| Tell us about your business challenges or goals, and our AI will suggest how Genops Official's services can provide smart solutions! | |
| </p> | |
| <div class="flex flex-col items-center justify-center space-y-6"> | |
| <textarea | |
| id="businessNeedsInput" | |
| rows="6" | |
| placeholder="e.g., 'We need to streamline our supply chain operations and reduce operational costs.' or 'Our goal is to implement AI-driven analytics for better decision-making.'" | |
| class="w-full px-4 py-3 rounded-md bg-gray-700 border border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 text-gray-200 placeholder-gray-400 resize-y" | |
| ></textarea> | |
| <button | |
| id="getServiceSuggestionsBtn" | |
| class="py-3 px-8 bg-gradient-to-r from-blue-500 to-indigo-600 text-white font-semibold rounded-md hover:from-blue-600 hover:to-indigo-700 transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 focus:ring-offset-gray-800" | |
| > | |
| Get AI Suggestions | |
| </button> | |
| <div id="loadingSpinner" class="spinner hidden"></div> | |
| <div id="serviceSuggestionsOutput" class="w-full mt-8 p-6 bg-gray-700 rounded-lg text-left text-[#eaeaea] border border-blue-500 hidden"> | |
| <p class="text-lg italic text-gray-400">Your AI-powered service suggestions will appear here.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| const openContactModalBtn = document.getElementById('openContactModal'); | |
| const closeContactModalBtn = document.getElementById('closeContactModal'); | |
| const contactModal = document.getElementById('contactModal'); | |
| const contactModalContent = document.getElementById('contactModalContent'); | |
| const contactForm = document.getElementById('contactForm'); | |
| const contactMessage = document.getElementById('contactMessage'); | |
| const header = document.querySelector('header'); | |
| const revealSections = document.querySelectorAll('.reveal'); | |
| const navLinks = document.querySelectorAll('.nav-link'); | |
| const backToTopBtn = document.getElementById('backToTopBtn'); | |
| const heroBgLogo = document.getElementById('heroBgLogo'); | |
| // AI Advisor Modal elements | |
| const openAIAdvisorFixedBtn = document.getElementById('openAIAdvisorFixedBtn'); | |
| const closeAIAdvisorModalBtn = document.getElementById('closeAIAdvisorModal'); | |
| const aiAdvisorModal = document.getElementById('aiAdvisorModal'); | |
| const aiAdvisorModalContent = document.getElementById('aiAdvisorModalContent'); | |
| // Gemini API elements (inside AI Advisor modal content) | |
| const businessNeedsInput = aiAdvisorModalContent.querySelector('#businessNeedsInput'); | |
| const getServiceSuggestionsBtn = aiAdvisorModalContent.querySelector('#getServiceSuggestionsBtn'); | |
| const loadingSpinner = aiAdvisorModalContent.querySelector('#loadingSpinner'); | |
| const serviceSuggestionsOutput = aiAdvisorModalContent.querySelector('#serviceSuggestionsOutput'); | |
| // --- On-Load Effects --- | |
| // 1. Header Fade-in | |
| document.addEventListener('DOMContentLoaded', () => { | |
| header.classList.add('header-active'); | |
| const heroTitleElement = document.getElementById('heroTitle'); | |
| const heroSubtitleElement = document.getElementById('heroSubtitle'); | |
| // Store original text content | |
| const originalHeroTitleText = "Next Generation Operations"; | |
| const originalHeroSubtitleText = "Innovation • Smart Solutions • Cutting-edge Strategies"; | |
| // Clear text content initially for typing effect | |
| if (heroTitleElement) heroTitleElement.innerHTML = ''; | |
| if (heroSubtitleElement) heroSubtitleElement.innerHTML = ''; | |
| // Start typing animation | |
| if (heroTitleElement) { | |
| typeWriter(heroTitleElement, originalHeroTitleText, 80, () => { | |
| // Callback after title is typed, start subtitle | |
| if (heroSubtitleElement) { | |
| typeWriter(heroSubtitleElement, originalHeroSubtitleText, 60); | |
| } | |
| }); | |
| } | |
| }); | |
| // Typewriter function | |
| function typeWriter(element, text, delay = 50, callback) { | |
| let i = 0; | |
| element.style.whiteSpace = 'nowrap'; // Prevent text from wrapping prematurely | |
| element.style.overflow = 'hidden'; // Hide overflow during typing | |
| function type() { | |
| if (i < text.length) { | |
| element.innerHTML += text.charAt(i); | |
| i++; | |
| setTimeout(type, delay); | |
| } else { | |
| element.style.whiteSpace = 'normal'; // Allow text to wrap after typing | |
| element.style.overflow = 'visible'; // Allow overflow after typing | |
| if (callback) { | |
| callback(); | |
| } | |
| } | |
| } | |
| type(); | |
| } | |
| // 2. Section Scroll-Reveal | |
| const revealObserver = new IntersectionObserver((entries, observer) => { | |
| entries.forEach(entry => { | |
| if (entry.isIntersecting) { | |
| entry.target.classList.add('reveal-active'); | |
| observer.unobserve(entry.target); // Stop observing once revealed | |
| } | |
| }); | |
| }, { | |
| threshold: 0.15 | |
| }); | |
| revealSections.forEach(section => { | |
| revealObserver.observe(section); | |
| }); | |
| // --- Smooth Scroll for Navigation Links --- | |
| navLinks.forEach(link => { | |
| link.addEventListener('click', function(event) { | |
| event.preventDefault(); | |
| const targetId = this.getAttribute('href'); | |
| document.querySelector(targetId).scrollIntoView({ | |
| behavior: 'smooth' | |
| }); | |
| }); | |
| }); | |
| // --- Back to Top Button Logic --- | |
| window.addEventListener('scroll', () => { | |
| if (document.body.scrollTop > 300 || document.documentElement.scrollTop > 300) { | |
| backToTopBtn.classList.add('show'); | |
| } else { | |
| backToTopBtn.classList.remove('show'); | |
| } | |
| }); | |
| backToTopBtn.addEventListener('click', () => { | |
| window.scrollTo({ | |
| top: 0, | |
| behavior: 'smooth' | |
| }); | |
| }); | |
| // --- Parallax Scrolling for Hero Background Logo --- | |
| window.addEventListener('scroll', () => { | |
| const scrollPosition = window.scrollY; | |
| // Adjust the division factor to control parallax speed. Smaller number means faster parallax. | |
| heroBgLogo.style.transform = `translateY(${scrollPosition * 0.3}px)`; | |
| }); | |
| // --- Contact Modal Logic --- | |
| // Function to open the contact modal | |
| openContactModalBtn.addEventListener('click', (event) => { | |
| event.preventDefault(); | |
| contactModal.classList.remove('hidden'); | |
| contactModalContent.classList.remove('animate-slide-out'); | |
| setTimeout(() => { | |
| contactModalContent.classList.add('animate-bounce-in'); | |
| }, 50); | |
| contactMessage.classList.add('hidden'); | |
| contactForm.classList.remove('hidden'); | |
| }); | |
| // Function to close the contact modal with animation | |
| const closeContactModal = () => { | |
| contactModalContent.classList.remove('animate-bounce-in'); | |
| contactModalContent.classList.add('animate-slide-out'); | |
| contactModalContent.addEventListener('animationend', () => { | |
| contactModal.classList.add('hidden'); | |
| }, { once: true }); | |
| }; | |
| closeContactModalBtn.addEventListener('click', closeContactModal); | |
| // Close contact modal if clicking outside the content | |
| contactModal.addEventListener('click', (event) => { | |
| if (event.target === contactModal) { | |
| closeContactModal(); | |
| } | |
| }); | |
| // --- AI Advisor Modal Logic --- | |
| // Function to open the AI Advisor modal | |
| openAIAdvisorFixedBtn.addEventListener('click', (event) => { | |
| event.preventDefault(); | |
| aiAdvisorModal.classList.remove('hidden'); // Show the backdrop | |
| aiAdvisorModalContent.classList.remove('animate-slide-out-to-bottom'); // Ensure slide-out is removed | |
| setTimeout(() => { | |
| aiAdvisorModalContent.classList.add('animate-slide-in-from-bottom-to-topnav'); | |
| }, 50); | |
| businessNeedsInput.value = ''; | |
| serviceSuggestionsOutput.classList.add('hidden'); | |
| serviceSuggestionsOutput.innerHTML = '<p class="text-lg italic text-gray-400">Your AI-powered service suggestions will appear here.</p>'; | |
| loadingSpinner.classList.add('hidden'); | |
| getServiceSuggestionsBtn.disabled = false; | |
| }); | |
| // Function to close the AI Advisor modal with animation | |
| const closeAIAdvisorModal = () => { | |
| aiAdvisorModalContent.classList.remove('animate-slide-in-from-bottom-to-topnav'); | |
| aiAdvisorModalContent.classList.add('animate-slide-out-to-bottom'); | |
| aiAdvisorModalContent.addEventListener('animationend', () => { | |
| aiAdvisorModal.classList.add('hidden'); | |
| }, { once: true }); | |
| }; | |
| closeAIAdvisorModalBtn.addEventListener('click', closeAIAdvisorModal); | |
| // Close AI Advisor modal if clicking outside the content | |
| aiAdvisorModal.addEventListener('click', (event) => { | |
| if (event.target === aiAdvisorModal) { | |
| closeAIAdvisorModal(); | |
| } | |
| }); | |
| // --- Universal Escape Key Listener (for both modals) --- | |
| document.addEventListener('keydown', (event) => { | |
| if (event.key === 'Escape') { | |
| if (!contactModal.classList.contains('hidden')) { | |
| closeContactModal(); | |
| } else if (!aiAdvisorModal.classList.contains('hidden')) { | |
| closeAIAdvisorModal(); | |
| } | |
| } | |
| }); | |
| // --- Contact Form Submission Logic --- | |
| contactForm.addEventListener('submit', (event) => { | |
| contactForm.classList.add('hidden'); | |
| contactMessage.classList.remove('hidden'); | |
| document.getElementById('name').value = ''; | |
| document.getElementById('email').value = ''; | |
| document.getElementById('message').value = ''; | |
| setTimeout(() => { | |
| closeContactModal(); | |
| }, 5000); | |
| }); | |
| // --- Gemini API Integration: AI-Powered Service Advisor (Triggered by button in modal) --- | |
| getServiceSuggestionsBtn.addEventListener('click', async () => { | |
| const userNeeds = businessNeedsInput.value.trim(); | |
| if (!userNeeds) { | |
| serviceSuggestionsOutput.classList.remove('hidden'); | |
| serviceSuggestionsOutput.innerHTML = '<p class="text-red-400">Please describe your business needs to get suggestions.</p>'; | |
| return; | |
| } | |
| loadingSpinner.classList.remove('hidden'); | |
| getServiceSuggestionsBtn.disabled = true; | |
| serviceSuggestionsOutput.classList.add('hidden'); | |
| serviceSuggestionsOutput.innerHTML = ''; // Clear previous output | |
| let chatHistory = []; | |
| const prompt = `Based on the following business challenges or goals, suggest how Genops Official's "Next Generation Operations" services can provide smart, cutting-edge solutions. Structure your response with a brief introduction, then list 2-3 specific service suggestions with a clear heading for each, followed by a concise explanation (2-3 sentences per suggestion) of how it addresses the user's input and why it's a "next-generation" solution. End with a concluding remark encouraging further contact. | |
| User Business Needs: "${userNeeds}" | |
| Genops Official's Core Services: | |
| - Dynamic, adaptive solutions for fast-changing industries | |
| - Futuristic systems inspired by tomorrow’s technology | |
| - Professional, reliable, and impactful operations`; | |
| chatHistory.push({ role: "user", parts: [{ text: prompt }] }); | |
| const payload = { contents: chatHistory }; | |
| const apiKey = ""; // If you want to use models other than gemini-2.5-flash-preview-05-20 or imagen-3.0-generate-002, provide an API key here. Otherwise, leave this as-is. | |
| const apiUrl = `https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-preview-05-20:generateContent?key=${apiKey}`; | |
| let retries = 0; | |
| const maxRetries = 3; | |
| let delay = 1000; // 1 second | |
| while (retries < maxRetries) { | |
| try { | |
| const response = await fetch(apiUrl, { | |
| method: 'POST', | |
| headers: { 'Content-Type': 'application/json' }, | |
| body: JSON.stringify(payload) | |
| }); | |
| if (!response.ok) { | |
| if (response.status === 429) { // Too Many Requests | |
| retries++; | |
| delay *= 2; // Exponential backoff | |
| await new Promise(res => setTimeout(res, delay)); | |
| continue; // Retry | |
| } | |
| throw new Error(`HTTP error! status: ${response.status}`); | |
| } | |
| const result = await response.json(); | |
| if (result.candidates && result.candidates.length > 0 && | |
| result.candidates[0].content && result.candidates[0].content.parts && | |
| result.candidates[0].content.parts.length > 0) { | |
| const text = result.candidates[0].content.parts[0].text; | |
| serviceSuggestionsOutput.innerHTML = `<p class="whitespace-pre-wrap">${text}</p>`; | |
| } else { | |
| serviceSuggestionsOutput.innerHTML = '<p class="text-red-400">Could not retrieve suggestions. Please try again.</p>'; | |
| } | |
| serviceSuggestionsOutput.classList.remove('hidden'); | |
| break; // Exit loop on success | |
| } catch (error) { | |
| console.error('Error fetching AI suggestions:', error); | |
| serviceSuggestionsOutput.innerHTML = `<p class="text-red-400">Failed to get suggestions: ${error.message}. Please try again later.</p>`; | |
| serviceSuggestionsOutput.classList.remove('hidden'); | |
| retries++; | |
| delay *= 2; // Exponential backoff | |
| await new Promise(res => setTimeout(res, delay)); | |
| } finally { | |
| loadingSpinner.classList.add('hidden'); | |
| getServiceSuggestionsBtn.disabled = false; | |
| } | |
| } | |
| if (retries === maxRetries) { | |
| serviceSuggestionsOutput.innerHTML = '<p class="text-red-400">Failed to get suggestions after multiple retries. Please try again later.</p>'; | |
| } | |
| }); | |
| // Slideshow JavaScript | |
| let slideIndex = 0; | |
| let slides = document.getElementsByClassName("mySlides"); | |
| // Initialize the slideshow | |
| if (slides.length > 0) { | |
| showSlides(); | |
| } | |
| function showSlides() { | |
| let i; | |
| for (i = 0; i < slides.length; i++) { | |
| slides[i].style.display = "none"; | |
| } | |
| slideIndex++; | |
| if (slideIndex > slides.length) {slideIndex = 1} | |
| slides[slideIndex-1].style.display = "block"; | |
| setTimeout(showSlides, 7000); | |
| } | |
| </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=Genorld/genops" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> | |