Create a Gallery page for a creative photo and video studio. The gallery should be visually rich, fully responsive, and include smooth animations and category filters. The content includes images and video clips from various types of shoots. The design should reflect a premium, cinematic, and artistic vibe. 🎯 Goals: Showcase portfolio across multiple categories Allow users to easily explore and filter content Make the visual experience immersive and modern 🔍 Key Features: Category Filters (with animation): Use horizontal scroll or toggle tabs Categories: "All", "Weddings", "Portraits", "Products", "Fashion", "Events", "Videos" Smooth filtering transition (fade/slide in/out) Gallery Grid / Masonry Layout: Responsive masonry layout with varied image sizes On-hover effects (zoom in, subtle overlay with title) Use lazy loading for performance Lightbox popup on click (with full image or video playback) Video Support: Embed short video clips with a play button overlay Autoplay on hover (optional), mute by default Separate section or integrated within the same gallery Animated Load-In: Use scroll animations (e.g., fade-up, zoom-in) Add staggered entry for items when page loads Minimal UI Design: Clean white or dark background Ample padding between images Elegant captions (project name, date, client name optional) 🎨 Style Guide: Fonts: Use elegant fonts like Poppins, DM Sans, or Playfair Display Color Palette: Monochrome base with subtle gold or pastel accents Animation Library: Use Framer Motion or GSAP-style scroll/hover effects 📱 Mobile Optimization: Stack categories into a dropdown or horizontal swipe Ensure tap-to-expand for images and videos Extras (Optional): Search bar to look up specific projects or keywords Infinite scroll or "Load More" button Option to share images/videos to social platforms Client logo badges (in a sticky bar or footer) Include a short intro section at the top: “Explore Our Visual Journey: From timeless portraits to vibrant events, dive into our world of moments captured in motion and stillness.” - Initial Deployment
f0eb4c3
verified
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>LensCraft Studios | Professional Photography & Videography in India</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"> | |
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet"> | |
<style> | |
body { | |
font-family: 'Poppins', sans-serif; | |
scroll-behavior: smooth; | |
} | |
.heading-font { | |
font-family: 'Playfair Display', serif; | |
} | |
.hero-video { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
object-fit: cover; | |
z-index: -1; | |
opacity: 0.8; | |
} | |
.service-card:hover .service-icon { | |
transform: translateY(-5px); | |
color: #d4a017; | |
} | |
.portfolio-item { | |
transition: all 0.3s ease; | |
} | |
.portfolio-item:hover { | |
transform: scale(1.03); | |
box-shadow: 0 10px 25px rgba(0,0,0,0.2); | |
} | |
.testimonial-card { | |
transition: all 0.4s ease; | |
} | |
.testimonial-card:hover { | |
transform: translateY(-10px); | |
box-shadow: 0 15px 30px rgba(0,0,0,0.1); | |
} | |
.animate-on-scroll { | |
opacity: 0; | |
transform: translateY(30px); | |
transition: all 0.6s ease; | |
} | |
.animate-on-scroll.visible { | |
opacity: 1; | |
transform: translateY(0); | |
} | |
@keyframes float { | |
0% { transform: translateY(0px); } | |
50% { transform: translateY(-10px); } | |
100% { transform: translateY(0px); } | |
} | |
.floating { | |
animation: float 3s ease-in-out infinite; | |
} | |
</style> | |
</head> | |
<body class="bg-white text-gray-800"> | |
<!-- Navigation --> | |
<nav class="fixed w-full z-50 bg-white bg-opacity-90 backdrop-blur-md shadow-sm"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div class="flex justify-between h-20 items-center"> | |
<div class="flex-shrink-0 flex items-center"> | |
<span class="heading-font text-2xl font-bold text-gray-900">LensCraft<span class="text-amber-600">.</span></span> | |
</div> | |
<div class="hidden md:block"> | |
<div class="ml-10 flex items-center space-x-8"> | |
<a href="#home" class="text-gray-900 hover:text-amber-600 px-3 py-2 text-sm font-medium" data-translate="Home">Home</a> | |
<a href="#services" class="text-gray-900 hover:text-amber-600 px-3 py-2 text-sm font-medium" data-translate="Services">Services</a> | |
<a href="#portfolio" class="text-gray-900 hover:text-amber-600 px-3 py-2 text-sm font-medium" data-translate="Portfolio">Portfolio</a> | |
<a href="#about" class="text-gray-900 hover:text-amber-600 px-3 py-2 text-sm font-medium" data-translate="About">About</a> | |
<a href="#contact" class="text-gray-900 hover:text-amber-600 px-3 py-2 text-sm font-medium" data-translate="Contact">Contact</a> | |
<div class="flex items-center space-x-2"> | |
<button class="language-toggle text-sm font-medium" data-lang="en">EN</button> | |
<span class="text-gray-400">|</span> | |
<button class="language-toggle text-sm hover:text-amber-600 cursor-pointer" data-lang="hi">हिंदी</button> | |
</div> | |
</div> | |
</div> | |
<div class="md:hidden"> | |
<button id="mobileMenuButton" type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-700 hover:text-amber-600 focus:outline-none" aria-controls="mobile-menu" aria-expanded="false"> | |
<span class="sr-only">Open main menu</span> | |
<i class="fas fa-bars text-xl"></i> | |
</button> | |
</div> | |
</div> | |
<!-- Mobile menu --> | |
<div id="mobileMenu" class="md:hidden hidden bg-white shadow-lg rounded-lg mx-4 mt-2 py-2"> | |
<div class="px-2 pt-2 pb-3 space-y-1"> | |
<a href="#home" class="block px-3 py-2 rounded-md text-base font-medium text-gray-900 hover:text-amber-600">Home</a> | |
<a href="#services" class="block px-3 py-2 rounded-md text-base font-medium text-gray-900 hover:text-amber-600">Services</a> | |
<a href="#portfolio" class="block px-3 py-2 rounded-md text-base font-medium text-gray-900 hover:text-amber-600">Portfolio</a> | |
<a href="#about" class="block px-3 py-2 rounded-md text-base font-medium text-gray-900 hover:text-amber-600">About</a> | |
<a href="#contact" class="block px-3 py-2 rounded-md text-base font-medium text-gray-900 hover:text-amber-600">Contact</a> | |
<div class="px-3 py-2"> | |
<div class="flex items-center space-x-2"> | |
<button class="language-toggle text-sm font-medium" data-lang="en">EN</button> | |
<span class="text-gray-400">|</span> | |
<button class="language-toggle text-sm hover:text-amber-600 cursor-pointer" data-lang="hi">हिंदी</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</nav> | |
<!-- Hero Section --> | |
<section id="home" class="relative h-screen flex items-center justify-center overflow-hidden"> | |
<video autoplay muted loop class="hero-video"> | |
<source src="https://assets.mixkit.co/videos/1116/1116-720.mp4" type="video/mp4"> | |
</video> | |
<div class="absolute inset-0 bg-black bg-opacity-40"></div> | |
<div class="relative z-10 text-center px-6 max-w-4xl mx-auto animate-on-scroll"> | |
<h1 class="heading-font text-4xl md:text-6xl font-bold text-white mb-6 leading-tight" data-translate="Capturing Moments. Creating Stories.">Capturing Moments. <span class="text-amber-400">Creating Stories.</span></h1> | |
<p class="text-xl text-white mb-10 opacity-90" data-translate="Professional Photography & Videography Services Across India">Professional Photography & Videography Services Across India</p> | |
<div class="flex flex-col sm:flex-row justify-center gap-4"> | |
<a href="#contact" class="bg-amber-600 hover:bg-amber-700 text-white font-medium py-3 px-8 rounded-full transition duration-300 transform hover:scale-105" data-translate="Book a Shoot">Book a Shoot</a> | |
<a href="#portfolio" class="bg-transparent hover:bg-white hover:bg-opacity-20 text-white font-medium py-3 px-8 rounded-full border border-white transition duration-300 transform hover:scale-105" data-translate="Explore Our Work">Explore Our Work</a> | |
</div> | |
</div> | |
<div class="absolute bottom-10 left-0 right-0 flex justify-center"> | |
<a href="#services" class="text-white animate-bounce"> | |
<i class="fas fa-chevron-down text-2xl"></i> | |
</a> | |
</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 animate-on-scroll"> | |
<span class="text-amber-600 font-medium">WHAT WE OFFER</span> | |
<h2 class="heading-font text-3xl md:text-4xl font-bold mt-2 mb-4">Our Professional Services</h2> | |
<p class="max-w-2xl mx-auto text-gray-600">From intimate portraits to grand events, we capture every moment with artistic precision and technical excellence.</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-xl shadow-md overflow-hidden p-8 transition-all duration-300 hover:shadow-xl animate-on-scroll"> | |
<div class="service-icon text-4xl mb-6 text-amber-600 transition-all duration-300"> | |
<i class="fas fa-portrait"></i> | |
</div> | |
<h3 class="heading-font text-xl font-bold mb-3">Portrait Photography</h3> | |
<p class="text-gray-600 mb-4">Stunning individual and group portraits that capture personality and emotion in every frame.</p> | |
<a href="#" class="text-amber-600 font-medium inline-flex items-center"> | |
Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i> | |
</a> | |
</div> | |
<!-- Service 2 --> | |
<div class="service-card bg-white rounded-xl shadow-md overflow-hidden p-8 transition-all duration-300 hover:shadow-xl animate-on-scroll" style="transition-delay: 0.1s"> | |
<div class="service-icon text-4xl mb-6 text-amber-600 transition-all duration-300"> | |
<i class="fas fa-glass-cheers"></i> | |
</div> | |
<h3 class="heading-font text-xl font-bold mb-3">Event Coverage</h3> | |
<p class="text-gray-600 mb-4">Comprehensive photography and videography for weddings, birthdays, and corporate events.</p> | |
<a href="#" class="text-amber-600 font-medium inline-flex items-center"> | |
Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i> | |
</a> | |
</div> | |
<!-- Service 3 --> | |
<div class="service-card bg-white rounded-xl shadow-md overflow-hidden p-8 transition-all duration-300 hover:shadow-xl animate-on-scroll" style="transition-delay: 0.2s"> | |
<div class="service-icon text-4xl mb-6 text-amber-600 transition-all duration-300"> | |
<i class="fas fa-shopping-bag"></i> | |
</div> | |
<h3 class="heading-font text-xl font-bold mb-3">Commercial & Product Shoots</h3> | |
<p class="text-gray-600 mb-4">High-quality imagery that showcases your products and brand in the best possible light.</p> | |
<a href="#" class="text-amber-600 font-medium inline-flex items-center"> | |
Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i> | |
</a> | |
</div> | |
<!-- Service 4 --> | |
<div class="service-card bg-white rounded-xl shadow-md overflow-hidden p-8 transition-all duration-300 hover:shadow-xl animate-on-scroll" style="transition-delay: 0.3s"> | |
<div class="service-icon text-4xl mb-6 text-amber-600 transition-all duration-300"> | |
<i class="fas fa-drone-alt"></i> | |
</div> | |
<h3 class="heading-font text-xl font-bold mb-3">Drone & Aerial Videography</h3> | |
<p class="text-gray-600 mb-4">Breathtaking aerial perspectives that add cinematic quality to your visual content.</p> | |
<a href="#" class="text-amber-600 font-medium inline-flex items-center"> | |
Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i> | |
</a> | |
</div> | |
<!-- Service 5 --> | |
<div class="service-card bg-white rounded-xl shadow-md overflow-hidden p-8 transition-all duration-300 hover:shadow-xl animate-on-scroll" style="transition-delay: 0.4s"> | |
<div class="service-icon text-4xl mb-6 text-amber-600 transition-all duration-300"> | |
<i class="fas fa-edit"></i> | |
</div> | |
<h3 class="heading-font text-xl font-bold mb-3">Post-Production</h3> | |
<p class="text-gray-600 mb-4">Professional editing, retouching, and VFX services to perfect your images and videos.</p> | |
<a href="#" class="text-amber-600 font-medium inline-flex items-center"> | |
Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i> | |
</a> | |
</div> | |
<!-- Service 6 --> | |
<div class="service-card bg-white rounded-xl shadow-md overflow-hidden p-8 transition-all duration-300 hover:shadow-xl animate-on-scroll" style="transition-delay: 0.5s"> | |
<div class="service-icon text-4xl mb-6 text-amber-600 transition-all duration-300"> | |
<i class="fas fa-video"></i> | |
</div> | |
<h3 class="heading-font text-xl font-bold mb-3">Social Media Content</h3> | |
<p class="text-gray-600 mb-4">Engaging reels, stories, and posts designed to grow your brand's online presence.</p> | |
<a href="#" class="text-amber-600 font-medium inline-flex items-center"> | |
Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i> | |
</a> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Portfolio Section --> | |
<section id="portfolio" 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 animate-on-scroll"> | |
<span class="text-amber-600 font-medium">OUR WORK</span> | |
<h2 class="heading-font text-3xl md:text-4xl font-bold mt-2 mb-4">Featured Projects</h2> | |
<p class="max-w-2xl mx-auto text-gray-600">Explore our diverse portfolio showcasing the breadth of our creative work across different genres.</p> | |
</div> | |
<div class="flex justify-center mb-10 animate-on-scroll"> | |
<div class="inline-flex rounded-md shadow-sm" role="group"> | |
<button type="button" data-filter="all" class="filter-btn px-4 py-2 text-sm font-medium rounded-l-lg border border-gray-200 bg-amber-600 text-white"> | |
All | |
</button> | |
<button type="button" data-filter="wedding" class="filter-btn px-4 py-2 text-sm font-medium border-t border-b border-gray-200 hover:bg-gray-50"> | |
Weddings | |
</button> | |
<button type="button" data-filter="product" class="filter-btn px-4 py-2 text-sm font-medium border-t border-b border-gray-200 hover:bg-gray-50"> | |
Products | |
</button> | |
<button type="button" data-filter="fashion" class="filter-btn px-4 py-2 text-sm font-medium border-t border-b border-gray-200 hover:bg-gray-50"> | |
Fashion | |
</button> | |
<button type="button" data-filter="event" class="filter-btn px-4 py-2 text-sm font-medium rounded-r-lg border border-gray-200 hover:bg-gray-50"> | |
Events | |
</button> | |
</div> | |
</div> | |
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 animate-on-scroll"> | |
<!-- Portfolio Item 1 --> | |
<div class="portfolio-item rounded-xl overflow-hidden relative group" data-filter="wedding"> | |
<img src="https://images.unsplash.com/photo-1529634396807-8e0a0a0c8c1d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" alt="Wedding photography" class="w-full h-80 object-cover"> | |
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-40 transition-all duration-300 flex items-center justify-center"> | |
<div class="text-center transform translate-y-4 opacity-0 group-hover:translate-y-0 group-hover:opacity-100 transition-all duration-300"> | |
<h3 class="text-white font-bold text-xl mb-2">Meera & Rohan's Wedding</h3> | |
<p class="text-white">Udaipur, Rajasthan</p> | |
<button class="mt-4 px-4 py-2 bg-amber-600 text-white rounded-full text-sm font-medium">View Gallery</button> | |
</div> | |
</div> | |
</div> | |
<!-- Portfolio Item 2 --> | |
<div class="portfolio-item rounded-xl overflow-hidden relative group" data-filter="product"> | |
<img src="https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1632&q=80" alt="Product photography" class="w-full h-80 object-cover"> | |
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-40 transition-all duration-300 flex items-center justify-center"> | |
<div class="text-center transform translate-y-4 opacity-0 group-hover:translate-y-0 group-hover:opacity-100 transition-all duration-300"> | |
<h3 class="text-white font-bold text-xl mb-2">Luxury Watch Campaign</h3> | |
<p class="text-white">For Titan Watches</p> | |
<button class="mt-4 px-4 py-2 bg-amber-600 text-white rounded-full text-sm font-medium">View Gallery</button> | |
</div> | |
</div> | |
</div> | |
<!-- Portfolio Item 3 --> | |
<div class="portfolio-item rounded-xl overflow-hidden relative group" data-filter="fashion"> | |
<img src="https://images.unsplash.com/photo-1539109136881-3be0616acf4b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" alt="Fashion photography" class="w-full h-80 object-cover"> | |
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-40 transition-all duration-300 flex items-center justify-center"> | |
<div class="text-center transform translate-y-4 opacity-0 group-hover:translate-y-0 group-hover:opacity-100 transition-all duration-300"> | |
<h3 class="text-white font-bold text-xl mb-2">Summer Fashion Editorial</h3> | |
<p class="text-white">For Vogue India</p> | |
<button class="mt-4 px-4 py-2 bg-amber-600 text-white rounded-full text-sm font-medium">View Gallery</button> | |
</div> | |
</div> | |
</div> | |
<!-- Portfolio Item 4 --> | |
<div class="portfolio-item rounded-xl overflow-hidden relative group" data-filter="event"> | |
<img src="https://images.unsplash.com/photo-1495563381401-ecfbcaaa60f2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Corporate event" class="w-full h-80 object-cover"> | |
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-40 transition-all duration-300 flex items-center justify-center"> | |
<div class="text-center transform translate-y-4 opacity-0 group-hover:translate-y-0 group-hover:opacity-100 transition-all duration-300"> | |
<h3 class="text-white font-bold text-xl mb-2">Tech Conference 2023</h3> | |
<p class="text-white">Bangalore Convention Center</p> | |
<button class="mt-4 px-4 py-2 bg-amber-600 text-white rounded-full text-sm font-medium">View Gallery</button> | |
</div> | |
</div> | |
</div> | |
<!-- Portfolio Item 5 --> | |
<div class="portfolio-item rounded-xl overflow-hidden relative group"> | |
<img src="https://images.unsplash.com/photo-1527525443983-6e60c75fff46?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1705&q=80" alt="Drone photography" class="w-full h-80 object-cover"> | |
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-40 transition-all duration-300 flex items-center justify-center"> | |
<div class="text-center transform translate-y-4 opacity-0 group-hover:translate-y-0 group-hover:opacity-100 transition-all duration-300"> | |
<h3 class="text-white font-bold text-xl mb-2">Goa Beach Resorts</h3> | |
<p class="text-white">Aerial Videography</p> | |
<button class="mt-4 px-4 py-2 bg-amber-600 text-white rounded-full text-sm font-medium">View Gallery</button> | |
</div> | |
</div> | |
</div> | |
<!-- Portfolio Item 6 --> | |
<div class="portfolio-item rounded-xl overflow-hidden relative group"> | |
<img src="https://images.unsplash.com/photo-1529333166437-7750a6dd5a70?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1469&q=80" alt="Portrait photography" class="w-full h-80 object-cover"> | |
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-40 transition-all duration-300 flex items-center justify-center"> | |
<div class="text-center transform translate-y-4 opacity-0 group-hover:translate-y-0 group-hover:opacity-100 transition-all duration-300"> | |
<h3 class="text-white font-bold text-xl mb-2">Actor Portfolio Shoot</h3> | |
<p class="text-white">For Bollywood Star</p> | |
<button class="mt-4 px-4 py-2 bg-amber-600 text-white rounded-full text-sm font-medium">View Gallery</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="text-center mt-12 animate-on-scroll"> | |
<a href="#" class="inline-flex items-center px-6 py-3 border border-gray-300 shadow-sm text-base font-medium rounded-full text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-amber-500"> | |
View Full Portfolio | |
<i class="fas fa-arrow-right ml-2"></i> | |
</a> | |
</div> | |
</div> | |
</section> | |
<!-- Testimonials Section --> | |
<section 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 animate-on-scroll"> | |
<span class="text-amber-600 font-medium">CLIENT LOVE</span> | |
<h2 class="heading-font text-3xl md:text-4xl font-bold mt-2 mb-4">What Our Clients Say</h2> | |
<p class="max-w-2xl mx-auto text-gray-600">Don't just take our word for it - hear from our satisfied clients across India.</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-white p-8 rounded-xl shadow-md animate-on-scroll"> | |
<div class="flex mb-4"> | |
<img src="https://randomuser.me/api/portraits/women/32.jpg" alt="Priya Sharma" class="w-12 h-12 rounded-full object-cover"> | |
<div class="ml-4"> | |
<h4 class="font-bold">Priya Sharma</h4> | |
<p class="text-gray-500 text-sm">Wedding Client, Delhi</p> | |
</div> | |
</div> | |
<div class="mb-4 text-amber-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> | |
<p class="text-gray-600 italic mb-4">"LensCraft captured our wedding day so beautifully! Every photo tells a story and brings back the emotions of that special day. Their team was professional yet so warm, making us feel completely at ease."</p> | |
<div class="text-right"> | |
<i class="fas fa-quote-right text-amber-600 text-xl opacity-30"></i> | |
</div> | |
</div> | |
<!-- Testimonial 2 --> | |
<div class="testimonial-card bg-white p-8 rounded-xl shadow-md animate-on-scroll" style="transition-delay: 0.1s"> | |
<div class="flex mb-4"> | |
<img src="https://randomuser.me/api/portraits/men/45.jpg" alt="Rahul Mehta" class="w-12 h-12 rounded-full object-cover"> | |
<div class="ml-4"> | |
<h4 class="font-bold">Rahul Mehta</h4> | |
<p class="text-gray-500 text-sm">CEO, TechStart India</p> | |
</div> | |
</div> | |
<div class="mb-4 text-amber-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> | |
<p class="text-gray-600 italic mb-4">"We've worked with many photographers, but LensCraft's commercial work stands out. They understood our brand vision perfectly and delivered images that elevated our marketing campaigns significantly."</p> | |
<div class="text-right"> | |
<i class="fas fa-quote-right text-amber-600 text-xl opacity-30"></i> | |
</div> | |
</div> | |
<!-- Testimonial 3 --> | |
<div class="testimonial-card bg-white p-8 rounded-xl shadow-md animate-on-scroll" style="transition-delay: 0.2s"> | |
<div class="flex mb-4"> | |
<img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Ananya Patel" class="w-12 h-12 rounded-full object-cover"> | |
<div class="ml-4"> | |
<h4 class="font-bold">Ananya Patel</h4> | |
<p class="text-gray-500 text-sm">Fashion Designer, Mumbai</p> | |
</div> | |
</div> | |
<div class="mb-4 text-amber-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> | |
<p class="text-gray-600 italic mb-4">"The fashion editorial they shot for my new collection was stunning! Their creative eye and attention to detail helped showcase my designs in ways I hadn't even imagined. Highly recommend!"</p> | |
<div class="text-right"> | |
<i class="fas fa-quote-right text-amber-600 text-xl opacity-30"></i> | |
</div> | |
</div> | |
</div> | |
<div class="mt-12 text-center animate-on-scroll"> | |
<a href="#" class="inline-flex items-center text-amber-600 font-medium"> | |
<i class="fas fa-play-circle mr-2"></i> Watch Video Testimonials | |
</a> | |
</div> | |
</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:grid lg:grid-cols-2 lg:gap-16 items-center"> | |
<div class="mb-12 lg:mb-0 animate-on-scroll"> | |
<span class="text-amber-600 font-medium">OUR STORY</span> | |
<h2 class="heading-font text-3xl md:text-4xl font-bold mt-2 mb-6">Creating Visual Magic Since 2015</h2> | |
<p class="text-gray-600 mb-6">Founded by award-winning photographer Arjun Kapoor, LensCraft Studios has grown from a passionate solo venture to one of India's most sought-after creative studios.</p> | |
<div class="space-y-4 mb-8"> | |
<div class="flex"> | |
<div class="flex-shrink-0 mt-1"> | |
<div class="flex items-center justify-center h-6 w-6 rounded-full bg-amber-100 text-amber-600"> | |
<i class="fas fa-check text-xs"></i> | |
</div> | |
</div> | |
<div class="ml-3"> | |
<p class="text-gray-600">A team of 12 passionate photographers, videographers, and editors</p> | |
</div> | |
</div> | |
<div class="flex"> | |
<div class="flex-shrink-0 mt-1"> | |
<div class="flex items-center justify-center h-6 w-6 rounded-full bg-amber-100 text-amber-600"> | |
<i class="fas fa-check text-xs"></i> | |
</div> | |
</div> | |
<div class="ml-3"> | |
<p class="text-gray-600">Over 500 weddings and 300+ corporate clients served</p> | |
</div> | |
</div> | |
<div class="flex"> | |
<div class="flex-shrink-0 mt-1"> | |
<div class="flex items-center justify-center h-6 w-6 rounded-full bg-amber-100 text-amber-600"> | |
<i class="fas fa-check text-xs"></i> | |
</div> | |
</div> | |
<div class="ml-3"> | |
<p class="text-gray-600">Featured in Vogue, Harper's Bazaar, and Architectural Digest</p> | |
</div> | |
</div> | |
</div> | |
<div class="flex space-x-4"> | |
<a href="#contact" class="bg-amber-600 hover:bg-amber-700 text-white font-medium py-3 px-6 rounded-full transition duration-300">Get in Touch</a> | |
<a href="#" class="bg-transparent hover:bg-gray-100 text-gray-700 font-medium py-3 px-6 rounded-full border border-gray-300 transition duration-300 inline-flex items-center"> | |
<i class="fas fa-play-circle mr-2"></i> Watch BTS | |
</a> | |
</div> | |
</div> | |
<div class="relative animate-on-scroll"> | |
<div class="relative rounded-xl overflow-hidden shadow-xl"> | |
<img src="https://images.unsplash.com/photo-1581094794329-c811329d6a95?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Our team at work" class="w-full h-auto"> | |
</div> | |
<div class="absolute -bottom-6 -left-6 bg-white p-4 rounded-lg shadow-lg hidden md:block"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0"> | |
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Arjun Kapoor" class="h-12 w-12 rounded-full"> | |
</div> | |
<div class="ml-3"> | |
<p class="text-sm font-medium text-gray-900">Arjun Kapoor</p> | |
<p class="text-sm text-amber-600">Founder & Lead Photographer</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="mt-20 grid grid-cols-2 md:grid-cols-4 gap-6 text-center animate-on-scroll"> | |
<div class="bg-gray-50 p-6 rounded-xl"> | |
<div class="text-4xl font-bold text-amber-600 mb-2">8+</div> | |
<div class="text-gray-600">Years Experience</div> | |
</div> | |
<div class="bg-gray-50 p-6 rounded-xl"> | |
<div class="text-4xl font-bold text-amber-600 mb-2">500+</div> | |
<div class="text-gray-600">Happy Clients</div> | |
</div> | |
<div class="bg-gray-50 p-6 rounded-xl"> | |
<div class="text-4xl font-bold text-amber-600 mb-2">12</div> | |
<div class="text-gray-600">Team Members</div> | |
</div> | |
<div class="bg-gray-50 p-6 rounded-xl"> | |
<div class="text-4xl font-bold text-amber-600 mb-2">25+</div> | |
<div class="text-gray-600">Cities Covered</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Contact Section --> | |
<section id="contact" class="py-20 bg-gray-900 text-white"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div class="lg:grid lg:grid-cols-2 lg:gap-16"> | |
<div class="mb-12 lg:mb-0 animate-on-scroll"> | |
<span class="text-amber-400 font-medium">GET IN TOUCH</span> | |
<h2 class="heading-font text-3xl md:text-4xl font-bold mt-2 mb-6">Let's Create Something Amazing</h2> | |
<p class="text-gray-300 mb-8">Ready to discuss your project? Fill out the form or contact us directly. We typically respond within 24 hours.</p> | |
<div class="space-y-6"> | |
<div class="flex items-start"> | |
<div class="flex-shrink-0 mt-1"> | |
<div class="flex items-center justify-center h-10 w-10 rounded-full bg-amber-600 text-white"> | |
<i class="fas fa-map-marker-alt"></i> | |
</div> | |
</div> | |
<div class="ml-4"> | |
<h4 class="font-bold">Our Studio</h4> | |
<p class="text-gray-300">123 Creative Lane, Bandra West<br>Mumbai, Maharashtra 400050</p> | |
</div> | |
</div> | |
<div class="flex items-start"> | |
<div class="flex-shrink-0 mt-1"> | |
<div class="flex items-center justify-center h-10 w-10 rounded-full bg-amber-600 text-white"> | |
<i class="fas fa-envelope"></i> | |
</div> | |
</div> | |
<div class="ml-4"> | |
<h4 class="font-bold">Email Us</h4> | |
<p class="text-gray-300">hello@lenscraftstudios.com<br>bookings@lenscraftstudios.com</p> | |
</div> | |
</div> | |
<div class="flex items-start"> | |
<div class="flex-shrink-0 mt-1"> | |
<div class="flex items-center justify-center h-10 w-10 rounded-full bg-amber-600 text-white"> | |
<i class="fas fa-phone-alt"></i> | |
</div> | |
</div> | |
<div class="ml-4"> | |
<h4 class="font-bold">Call Us</h4> | |
<p class="text-gray-300">+91 98765 43210<br>Mon-Sat, 10am-7pm</p> | |
</div> | |
</div> | |
</div> | |
<div class="mt-8 flex space-x-4"> | |
<a href="#" class="h-10 w-10 rounded-full bg-gray-800 hover:bg-amber-600 flex items-center justify-center transition duration-300"> | |
<i class="fab fa-instagram"></i> | |
</a> | |
<a href="#" class="h-10 w-10 rounded-full bg-gray-800 hover:bg-amber-600 flex items-center justify-center transition duration-300"> | |
<i class="fab fa-youtube"></i> | |
</a> | |
<a href="#" class="h-10 w-10 rounded-full bg-gray-800 hover:bg-amber-600 flex items-center justify-center transition duration-300"> | |
<i class="fab fa-whatsapp"></i> | |
</a> | |
<a href="#" class="h-10 w-10 rounded-full bg-gray-800 hover:bg-amber-600 flex items-center justify-center transition duration-300"> | |
<i class="fab fa-behance"></i> | |
</a> | |
</div> | |
</div> | |
<div class="animate-on-scroll" style="transition-delay: 0.1s"> | |
<form class="bg-white rounded-xl shadow-xl p-8 text-gray-800"> | |
<h3 class="text-xl font-bold mb-6">Send us a message</h3> | |
<div class="mb-4"> | |
<label for="name" class="block text-sm font-medium text-gray-700 mb-1">Your Name</label> | |
<input type="text" id="name" name="name" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-amber-500 focus:border-amber-500" placeholder="Enter your name"> | |
</div> | |
<div class="mb-4"> | |
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email Address</label> | |
<input type="email" id="email" name="email" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-amber-500 focus:border-amber-500" placeholder="Enter your email"> | |
</div> | |
<div class="mb-4"> | |
<label for="phone" class="block text-sm font-medium text-gray-700 mb-1">Phone Number</label> | |
<input type="tel" id="phone" name="phone" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-amber-500 focus:border-amber-500" placeholder="Enter your phone"> | |
</div> | |
<div class="mb-4"> | |
<label for="service" class="block text-sm font-medium text-gray-700 mb-1">Service Interested In</label> | |
<select id="service" name="service" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-amber-500 focus:border-amber-500"> | |
<option value="">Select a service</option> | |
<option value="wedding">Wedding Photography</option> | |
<option value="portrait">Portrait Photography</option> | |
<option value="product">Product Photography</option> | |
<option value="event">Event Coverage</option> | |
<option value="commercial">Commercial Videography</option> | |
<option value="drone">Drone Videography</option> | |
<option value="editing">Photo/Video Editing</option> | |
</select> | |
</div> | |
<div class="mb-6"> | |
<label for="message" class="block text-sm font-medium text-gray-700 mb-1">Your Message</label> | |
<textarea id="message" name="message" rows="4" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-amber-500 focus:border-amber-500" placeholder="Tell us about your project"></textarea> | |
</div> | |
<button type="submit" class="w-full bg-amber-600 hover:bg-amber-700 text-white font-medium py-3 px-6 rounded-full transition duration-300">Send Message</button> | |
</form> | |
<div class="mt-6 text-center text-gray-400 text-sm"> | |
<p>Or book a consultation directly via <a href="#" class="text-amber-400 hover:underline">WhatsApp</a></p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Map Section --> | |
<div class="h-96 bg-gray-100 animate-on-scroll"> | |
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3773.237647279926!2d72.8242144148995!3d18.9403879871579!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3be7b7a115555555%3A0x7fa7740275f81939!2sBandra%20West%2C%20Mumbai%2C%20Maharashtra!5e0!3m2!1sen!2sin!4v1625555555555!5m2!1sen!2sin" width="100%" height="100%" style="border:0;" allowfullscreen="" loading="lazy"></iframe> | |
</div> | |
<!-- Footer --> | |
<footer class="bg-gray-900 text-white pt-16 pb-8"> | |
<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-12 mb-12 animate-on-scroll"> | |
<div> | |
<h3 class="heading-font text-xl font-bold mb-6">LensCraft Studios</h3> | |
<p class="text-gray-400 mb-4">Capturing life's most precious moments with creativity, precision, and passion.</p> | |
<div class="flex space-x-4"> | |
<a href="#" class="text-gray-400 hover:text-amber-400 transition duration-300"> | |
<i class="fab fa-instagram"></i> | |
</a> | |
<a href="#" class="text-gray-400 hover:text-amber-400 transition duration-300"> | |
<i class="fab fa-facebook-f"></i> | |
</a> | |
<a href="#" class="text-gray-400 hover:text-amber-400 transition duration-300"> | |
<i class="fab fa-youtube"></i> | |
</a> | |
<a href="#" class="text-gray-400 hover:text-amber-400 transition duration-300"> | |
<i class="fab fa-pinterest-p"></i> | |
</a> | |
</div> | |
</div> | |
<div> | |
<h4 class="heading-font text-lg font-bold mb-6">Quick Links</h4> | |
<ul class="space-y-3"> | |
<li><a href="#home" class="text-gray-400 hover:text-amber-400 transition duration-300">Home</a></li> | |
<li><a href="#services" class="text-gray-400 hover:text-amber-400 transition duration-300">Services</a></li> | |
<li><a href="#portfolio" class="text-gray-400 hover:text-amber-400 transition duration-300">Portfolio</a></li> | |
<li><a href="#about" class="text-gray-400 hover:text-amber-400 transition duration-300">About Us</a></li> | |
<li><a href="#contact" class="text-gray-400 hover:text-amber-400 transition duration-300">Contact</a></li> | |
</ul> | |
</div> | |
<div> | |
<h4 class="heading-font text-lg font-bold mb-6">Services</h4> | |
<ul class="space-y-3"> | |
<li><a href="#" class="text-gray-400 hover:text-amber-400 transition duration-300">Wedding Photography</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-amber-400 transition duration-300">Commercial Photography</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-amber-400 transition duration-300">Product Photography</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-amber-400 transition duration-300">Drone Videography</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-amber-400 transition duration-300">Photo Editing</a></li> | |
</ul> | |
</div> | |
<div> | |
<h4 class="heading-font text-lg font-bold mb-6">Newsletter</h4> | |
<p class="text-gray-400 mb-4">Subscribe to our newsletter for the latest updates and photography tips.</p> | |
<form class="flex"> | |
<input type="email" placeholder="Your email" class="px-4 py-3 rounded-l-lg bg-gray-800 text-white w-full focus:outline-none focus:ring-2 focus:ring-amber-500"> | |
<button type="submit" class="bg-amber-600 hover:bg-amber-700 px-4 rounded-r-lg"> | |
<i class="fas fa-paper-plane"></i> | |
</button> | |
</form> | |
</div> | |
</div> | |
<div class="pt-8 border-t border-gray-800 flex flex-col md:flex-row justify-between items-center animate-on-scroll"> | |
<p class="text-gray-500 text-sm mb-4 md:mb-0">© 2023 LensCraft Studios. All rights reserved.</p> | |
<div class="flex space-x-6"> | |
<a href="#" class="text-gray-500 hover:text-amber-400 text-sm transition duration-300">Privacy Policy</a> | |
<a href="#" class="text-gray-500 hover:text-amber-400 text-sm transition duration-300">Terms of Service</a> | |
<a href="#" class="text-gray-500 hover:text-amber-400 text-sm transition duration-300">FAQ</a> | |
</div> | |
</div> | |
</div> | |
</footer> | |
<!-- Back to Top Button --> | |
<button id="backToTop" class="fixed bottom-8 right-8 bg-amber-600 text-white w-12 h-12 rounded-full flex items-center justify-center shadow-lg transition-all duration-300 opacity-0 invisible"> | |
<i class="fas fa-arrow-up"></i> | |
</button> | |
<script> | |
// Back to Top Button | |
const backToTopButton = document.getElementById('backToTop'); | |
window.addEventListener('scroll', () => { | |
if (window.pageYOffset > 300) { | |
backToTopButton.classList.remove('opacity-0', 'invisible'); | |
backToTopButton.classList.add('opacity-100', 'visible'); | |
} else { | |
backToTopButton.classList.remove('opacity-100', 'visible'); | |
backToTopButton.classList.add('opacity-0', 'invisible'); | |
} | |
}); | |
backToTopButton.addEventListener('click', () => { | |
window.scrollTo({ | |
top: 0, | |
behavior: 'smooth' | |
}); | |
}); | |
// Scroll Animation | |
const animateElements = document.querySelectorAll('.animate-on-scroll'); | |
const observer = new IntersectionObserver((entries) => { | |
entries.forEach(entry => { | |
if (entry.isIntersecting) { | |
entry.target.classList.add('visible'); | |
} | |
}); | |
}, { | |
threshold: 0.1 | |
}); | |
animateElements.forEach(element => { | |
observer.observe(element); | |
}); | |
// Mobile Menu Toggle | |
const mobileMenuButton = document.getElementById('mobileMenuButton'); | |
const mobileMenu = document.getElementById('mobileMenu'); | |
mobileMenuButton.addEventListener('click', () => { | |
const isExpanded = mobileMenuButton.getAttribute('aria-expanded') === 'true'; | |
mobileMenuButton.setAttribute('aria-expanded', !isExpanded); | |
mobileMenu.classList.toggle('hidden'); | |
// Toggle icon between bars and times | |
const icon = mobileMenuButton.querySelector('i'); | |
if (isExpanded) { | |
icon.classList.remove('fa-times'); | |
icon.classList.add('fa-bars'); | |
} else { | |
icon.classList.remove('fa-bars'); | |
icon.classList.add('fa-times'); | |
} | |
}); | |
// Portfolio Filter Functionality | |
const filterButtons = document.querySelectorAll('.filter-btn'); | |
const portfolioItems = document.querySelectorAll('.portfolio-item'); | |
filterButtons.forEach(button => { | |
button.addEventListener('click', () => { | |
// Update active button styling | |
filterButtons.forEach(btn => { | |
btn.classList.remove('bg-amber-600', 'text-white'); | |
btn.classList.add('hover:bg-gray-50'); | |
}); | |
button.classList.add('bg-amber-600', 'text-white'); | |
button.classList.remove('hover:bg-gray-50'); | |
// Filter items | |
const filterValue = button.getAttribute('data-filter'); | |
portfolioItems.forEach(item => { | |
if (filterValue === 'all' || item.getAttribute('data-filter') === filterValue) { | |
item.style.display = 'block'; | |
} else { | |
item.style.display = 'none'; | |
} | |
}); | |
}); | |
}); | |
// Translation Data | |
const translations = { | |
en: { | |
// Navigation | |
"Home": "Home", | |
"Services": "Services", | |
"Portfolio": "Portfolio", | |
"About": "About", | |
"Contact": "Contact", | |
// Hero Section | |
"Capturing Moments. Creating Stories.": "Capturing Moments. Creating Stories.", | |
"Professional Photography & Videography Services Across India": "Professional Photography & Videography Services Across India", | |
"Book a Shoot": "Book a Shoot", | |
"Explore Our Work": "Explore Our Work", | |
// Services Section | |
"WHAT WE OFFER": "WHAT WE OFFER", | |
"Our Professional Services": "Our Professional Services", | |
"From intimate portraits to grand events, we capture every moment with artistic precision and technical excellence.": "From intimate portraits to grand events, we capture every moment with artistic precision and technical excellence.", | |
"Portrait Photography": "Portrait Photography", | |
"Stunning individual and group portraits that capture personality and emotion in every frame.": "Stunning individual and group portraits that capture personality and emotion in every frame.", | |
"Learn more": "Learn more", | |
// Add more English translations as needed | |
}, | |
hi: { | |
// Navigation | |
"Home": "होम", | |
"Services": "सेवाएं", | |
"Portfolio": "पोर्टफोलियो", | |
"About": "हमारे बारे में", | |
"Contact": "संपर्क करें", | |
// Hero Section | |
"Capturing Moments. Creating Stories.": "पलों को कैद करना। कहानियाँ बनाना।", | |
"Professional Photography & Videography Services Across India": "भारत भर में पेशेवर फोटोग्राफी और वीडियोग्राफी सेवाएं", | |
"Book a Shoot": "शूट बुक करें", | |
"Explore Our Work": "हमारे काम को देखें", | |
// Services Section | |
"WHAT WE OFFER": "हम क्या प्रदान करते हैं", | |
"Our Professional Services": "हमारी पेशेवर सेवाएं", | |
"From intimate portraits to grand events, we capture every moment with artistic precision and technical excellence.": "छोटे चित्रों से लेकर बड़े आयोजनों तक, हम हर पल को कलात्मक सटीकता और तकनीकी उत्कृष्टता के साथ कैद करते हैं।", | |
"Portrait Photography": "पोर्ट्रेट फोटोग्राफी", | |
"Stunning individual and group portraits that capture personality and emotion in every frame.": "आकर्षक व्यक्तिगत और समूह चित्र जो हर फ्रेम में व्यक्तित्व और भावना को कैद करते हैं।", | |
"Learn more": "अधिक जानें", | |
// Add more Hindi translations as needed | |
} | |
}; | |
// Translation Function | |
function translatePage(lang) { | |
// Get all elements with data-translate attribute | |
const elements = document.querySelectorAll('[data-translate]'); | |
elements.forEach(element => { | |
const key = element.getAttribute('data-translate'); | |
if (translations[lang] && translations[lang][key]) { | |
element.textContent = translations[lang][key]; | |
} | |
}); | |
// Update language toggle styling | |
const languageToggles = document.querySelectorAll('.language-toggle'); | |
languageToggles.forEach(btn => { | |
if(btn.getAttribute('data-lang') === lang) { | |
btn.classList.add('text-amber-600'); | |
btn.classList.remove('text-gray-900'); | |
} else { | |
btn.classList.remove('text-amber-600'); | |
btn.classList.add('text-gray-900'); | |
} | |
}); | |
// Save language preference | |
localStorage.setItem('preferredLanguage', lang); | |
} | |
// Language Toggle Functionality | |
const languageToggles = document.querySelectorAll('.language-toggle'); | |
languageToggles.forEach(toggle => { | |
toggle.addEventListener('click', () => { | |
const lang = toggle.getAttribute('data-lang'); | |
translatePage(lang); | |
}); | |
}); | |
// Check for saved language preference | |
const savedLanguage = localStorage.getItem('preferredLanguage') || 'en'; | |
translatePage(savedLanguage); | |
</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=Ritik1203/hello" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
</html> |