techbite / index.html
omr-saeed's picture
undefined - Initial Deployment
f5a6080 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TechBite | Digital Food Ordering Solutions</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>
.hero-gradient {
background: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #f59e0b 100%);
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.countdown-item {
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(5px);
}
.newsletter-input:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.floating {
animation: float 4s ease-in-out infinite;
}
</style>
</head>
<body class="font-sans bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-lg sticky top-0 z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i class="fas fa-utensils text-blue-600 text-2xl mr-2"></i>
<span class="text-xl font-bold text-gray-900">Tech<span class="text-blue-600">Bite</span></span>
</div>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#home" class="text-gray-900 hover:text-blue-600 px-3 py-2 font-medium">Home</a>
<a href="#features" class="text-gray-900 hover:text-blue-600 px-3 py-2 font-medium">Features</a>
<a href="#about" class="text-gray-900 hover:text-blue-600 px-3 py-2 font-medium">About</a>
<a href="#launch" class="text-gray-900 hover:text-blue-600 px-3 py-2 font-medium">Launch</a>
<a href="#contact" class="bg-blue-600 text-white px-4 py-2 rounded-md font-medium hover:bg-blue-700 transition">Get Early Access</a>
</div>
<div class="md:hidden flex items-center">
<button id="menu-btn" class="text-gray-900 focus:outline-none">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div id="mobile-menu" class="hidden md:hidden bg-white pb-3">
<a href="#home" class="block px-4 py-2 text-gray-900 hover:bg-gray-100">Home</a>
<a href="#features" class="block px-4 py-2 text-gray-900 hover:bg-gray-100">Features</a>
<a href="#about" class="block px-4 py-2 text-gray-900 hover:bg-gray-100">About</a>
<a href="#launch" class="block px-4 py-2 text-gray-900 hover:bg-gray-100">Launch</a>
<a href="#contact" class="block px-4 py-2 text-blue-600 font-medium">Get Early Access</a>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="hero-gradient text-white py-20 md:py-32">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h1 class="text-4xl md:text-5xl lg:text-6xl font-bold leading-tight mb-6">
Revolutionizing <span class="underline decoration-yellow-400">Food Tech</span>
</h1>
<p class="text-xl mb-8 opacity-90">
The next generation food ordering platform powered by AI and blockchain technology.
Faster, smarter, and more rewarding than ever before.
</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<button class="bg-white text-blue-600 px-6 py-3 rounded-md font-bold hover:bg-gray-100 transition">
<i class="fas fa-rocket mr-2"></i> Join Waitlist
</button>
<button class="border-2 border-white px-6 py-3 rounded-md font-bold hover:bg-white hover:text-blue-600 transition">
<i class="fas fa-play-circle mr-2"></i> Watch Demo
</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<img src="https://cdn-icons-png.flaticon.com/512/3176/3176361.png" alt="Food App Mockup" class="w-3/4 md:w-full max-w-md floating">
</div>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="bg-white py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-6 text-center">
<div class="p-6">
<div class="text-4xl font-bold text-blue-600 mb-2">150+</div>
<div class="text-gray-600">Restaurant Partners</div>
</div>
<div class="p-6">
<div class="text-4xl font-bold text-green-500 mb-2">10K+</div>
<div class="text-gray-600">Waitlist Signups</div>
</div>
<div class="p-6">
<div class="text-4xl font-bold text-yellow-500 mb-2">5</div>
<div class="text-gray-600">Cities at Launch</div>
</div>
<div class="p-6">
<div class="text-4xl font-bold text-purple-500 mb-2">24/7</div>
<div class="text-gray-600">Customer Support</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" 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 md:text-4xl font-bold text-gray-900 mb-4">Why Choose <span class="text-blue-600">TechBite</span>?</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">
We're building the future of food ordering with cutting-edge technology and customer-first design.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="feature-card bg-white p-8 rounded-xl shadow-md transition duration-300">
<div class="w-14 h-14 bg-blue-100 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-bolt text-blue-600 text-2xl"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Lightning Fast Delivery</h3>
<p class="text-gray-600">
Our AI-powered routing system ensures your food arrives hot and fresh in record time, with real-time tracking.
</p>
</div>
<!-- Feature 2 -->
<div class="feature-card bg-white p-8 rounded-xl shadow-md transition duration-300">
<div class="w-14 h-14 bg-green-100 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-coins text-green-600 text-2xl"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Rewards Program</h3>
<p class="text-gray-600">
Earn crypto-backed loyalty points with every order that can be redeemed for discounts or donated to charity.
</p>
</div>
<!-- Feature 3 -->
<div class="feature-card bg-white p-8 rounded-xl shadow-md transition duration-300">
<div class="w-14 h-14 bg-purple-100 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-robot text-purple-600 text-2xl"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">AI Recommendations</h3>
<p class="text-gray-600">
Our smart algorithm learns your tastes and suggests perfect meals based on your preferences and past orders.
</p>
</div>
<!-- Feature 4 -->
<div class="feature-card bg-white p-8 rounded-xl shadow-md transition duration-300">
<div class="w-14 h-14 bg-yellow-100 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-shield-alt text-yellow-600 text-2xl"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Secure Payments</h3>
<p class="text-gray-600">
Blockchain-verified transactions ensure your payment data is always secure with multiple payment options.
</p>
</div>
<!-- Feature 5 -->
<div class="feature-card bg-white p-8 rounded-xl shadow-md transition duration-300">
<div class="w-14 h-14 bg-red-100 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-utensils text-red-600 text-2xl"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Virtual Kitchens</h3>
<p class="text-gray-600">
Access exclusive menus from virtual restaurants that only exist in our cloud kitchen network.
</p>
</div>
<!-- Feature 6 -->
<div class="feature-card bg-white p-8 rounded-xl shadow-md transition duration-300">
<div class="w-14 h-14 bg-indigo-100 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-users text-indigo-600 text-2xl"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Group Ordering</h3>
<p class="text-gray-600">
Easily coordinate meals for your team or family with our collaborative ordering feature and split payments.
</p>
</div>
</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="flex flex-col lg:flex-row items-center">
<div class="lg:w-1/2 mb-10 lg:mb-0 lg:pr-12">
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-6">Our <span class="text-blue-600">Mission</span></h2>
<p class="text-gray-600 text-lg mb-6">
Founded in 2023 by a team of food and tech enthusiasts, TechBite is on a mission to transform the food delivery industry through innovation.
</p>
<p class="text-gray-600 text-lg mb-8">
We combine our expertise in digital technology services with a passion for great food to create a seamless, rewarding experience for both customers and restaurant partners.
</p>
<div class="flex space-x-4">
<div class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2 text-xl"></i>
<span class="font-medium">100% Digital</span>
</div>
<div class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2 text-xl"></i>
<span class="font-medium">Carbon Neutral</span>
</div>
</div>
</div>
<div class="lg:w-1/2">
<div class="bg-gray-100 rounded-xl p-1">
<img src="https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1074&q=80"
alt="Team working on food tech"
class="rounded-lg w-full h-auto">
</div>
</div>
</div>
</div>
</section>
<!-- Launch Countdown -->
<section id="launch" class="py-20 hero-gradient text-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 md:text-4xl font-bold mb-4">Coming <span class="underline decoration-yellow-400">Soon</span></h2>
<p class="text-xl opacity-90 max-w-3xl mx-auto">
We're counting down to the official launch of our revolutionary food ordering platform.
</p>
</div>
<div class="flex justify-center">
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 md:gap-6 max-w-2xl">
<div class="countdown-item rounded-lg p-4 text-center">
<div class="text-4xl md:text-5xl font-bold" id="days">00</div>
<div class="text-sm md:text-base opacity-80">Days</div>
</div>
<div class="countdown-item rounded-lg p-4 text-center">
<div class="text-4xl md:text-5xl font-bold" id="hours">00</div>
<div class="text-sm md:text-base opacity-80">Hours</div>
</div>
<div class="countdown-item rounded-lg p-4 text-center">
<div class="text-4xl md:text-5xl font-bold" id="minutes">00</div>
<div class="text-sm md:text-base opacity-80">Minutes</div>
</div>
<div class="countdown-item rounded-lg p-4 text-center">
<div class="text-4xl md:text-5xl font-bold" id="seconds">00</div>
<div class="text-sm md:text-base opacity-80">Seconds</div>
</div>
</div>
</div>
<div class="mt-16 text-center">
<h3 class="text-2xl font-bold mb-6">Be the first to experience TechBite</h3>
<div class="max-w-md mx-auto">
<div class="flex">
<input type="email" placeholder="Enter your email" class="newsletter-input flex-grow px-4 py-3 rounded-l-md text-gray-900 focus:ring-2 focus:ring-blue-500">
<button class="bg-yellow-400 text-gray-900 px-6 py-3 rounded-r-md font-bold hover:bg-yellow-500 transition">
Notify Me <i class="fas fa-paper-plane ml-2"></i>
</button>
</div>
<p class="text-sm opacity-80 mt-3">
We'll send you exclusive early access and launch offers.
</p>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<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">
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">What <span class="text-blue-600">People</span> Say</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">
Hear from our beta testers and restaurant partners.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Testimonial 1 -->
<div class="bg-white p-8 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4">
<i class="fas fa-user text-blue-600"></i>
</div>
<div>
<h4 class="font-bold">Sarah K.</h4>
<p class="text-gray-500 text-sm">Food Blogger</p>
</div>
</div>
<p class="text-gray-600 italic">
"The AI recommendations are scarily accurate! It's like TechBite knows my taste better than I do. The rewards program is just icing on the cake."
</p>
<div class="mt-4 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>
<!-- Testimonial 2 -->
<div class="bg-white p-8 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-4">
<i class="fas fa-user text-green-600"></i>
</div>
<div>
<h4 class="font-bold">Michael T.</h4>
<p class="text-gray-500 text-sm">Restaurant Owner</p>
</div>
</div>
<p class="text-gray-600 italic">
"As a partner restaurant, the TechBite platform has increased our delivery orders by 40% while reducing operational headaches. Their tech support is phenomenal."
</p>
<div class="mt-4 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>
<!-- Testimonial 3 -->
<div class="bg-white p-8 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center mr-4">
<i class="fas fa-user text-purple-600"></i>
</div>
<div>
<h4 class="font-bold">Alex & Jamie</h4>
<p class="text-gray-500 text-sm">Beta Testers</p>
</div>
</div>
<p class="text-gray-600 italic">
"Group ordering with split payments has been a game-changer for our weekly team lunches. No more awkward money transfers or calculations!"
</p>
<div class="mt-4 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>
</div>
</section>
<!-- Contact 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="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">Get In <span class="text-blue-600">Touch</span></h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">
Have questions or want to partner with us? We'd love to hear from you.
</p>
</div>
<div class="flex flex-col lg:flex-row">
<div class="lg:w-1/2 mb-10 lg:mb-0 lg:pr-12">
<h3 class="text-2xl font-bold text-gray-900 mb-6">Contact Information</h3>
<div class="space-y-6">
<div class="flex items-start">
<div class="bg-blue-100 p-3 rounded-full mr-4">
<i class="fas fa-map-marker-alt text-blue-600"></i>
</div>
<div>
<h4 class="font-bold text-gray-900">Our Headquarters</h4>
<p class="text-gray-600">123 Tech Avenue, Silicon Valley, CA 94000</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-green-100 p-3 rounded-full mr-4">
<i class="fas fa-envelope text-green-600"></i>
</div>
<div>
<h4 class="font-bold text-gray-900">Email Us</h4>
<p class="text-gray-600">hello@techbite.com</p>
<p class="text-gray-600">partners@techbite.com</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-purple-100 p-3 rounded-full mr-4">
<i class="fas fa-phone-alt text-purple-600"></i>
</div>
<div>
<h4 class="font-bold text-gray-900">Call Us</h4>
<p class="text-gray-600">+1 (555) 123-4567</p>
<p class="text-gray-600">Mon-Fri, 9am-6pm PST</p>
</div>
</div>
</div>
<h3 class="text-2xl font-bold text-gray-900 mt-10 mb-6">Follow Us</h3>
<div class="flex space-x-4">
<a href="#" class="bg-gray-100 p-3 rounded-full text-gray-700 hover:bg-blue-100 hover:text-blue-600 transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="bg-gray-100 p-3 rounded-full text-gray-700 hover:bg-blue-600 hover:text-white transition">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="bg-gray-100 p-3 rounded-full text-gray-700 hover:bg-pink-600 hover:text-white transition">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="bg-gray-100 p-3 rounded-full text-gray-700 hover:bg-red-600 hover:text-white transition">
<i class="fab fa-youtube"></i>
</a>
<a href="#" class="bg-gray-100 p-3 rounded-full text-gray-700 hover:bg-blue-400 hover:text-white transition">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</div>
<div class="lg:w-1/2">
<form class="bg-gray-50 p-8 rounded-xl shadow-md">
<div class="mb-6">
<label for="name" class="block text-gray-700 font-medium mb-2">Your Name</label>
<input type="text" id="name" class="w-full px-4 py-3 rounded-md border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
<div class="mb-6">
<label for="email" class="block text-gray-700 font-medium mb-2">Email Address</label>
<input type="email" id="email" class="w-full px-4 py-3 rounded-md border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
<div class="mb-6">
<label for="subject" class="block text-gray-700 font-medium mb-2">Subject</label>
<select id="subject" class="w-full px-4 py-3 rounded-md border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<option>General Inquiry</option>
<option>Partnership Opportunity</option>
<option>Press Inquiry</option>
<option>Technical Support</option>
</select>
</div>
<div class="mb-6">
<label for="message" class="block text-gray-700 font-medium mb-2">Your Message</label>
<textarea id="message" rows="4" class="w-full px-4 py-3 rounded-md border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500"></textarea>
</div>
<button type="submit" class="bg-blue-600 text-white px-6 py-3 rounded-md font-bold hover:bg-blue-700 transition w-full">
Send Message <i class="fas fa-paper-plane ml-2"></i>
</button>
</form>
</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>
<div class="flex items-center mb-4">
<i class="fas fa-utensils text-blue-400 text-2xl mr-2"></i>
<span class="text-xl font-bold">Tech<span class="text-blue-400">Bite</span></span>
</div>
<p class="text-gray-400 mb-4">
Revolutionizing food technology with innovative digital solutions.
</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Company</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Press</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-4">For Restaurants</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Partner With Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Restaurant App</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Resources</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Help Center</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Legal</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Terms of Service</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Privacy Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Cookie Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Accessibility</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 mb-4 md:mb-0">
&copy; 2023 TechBite Technologies. All rights reserved.
</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition">English</a>
<a href="#" class="text-gray-400 hover:text-white transition">Español</a>
<a href="#" class="text-gray-400 hover:text-white transition">Français</a>
</div>
</div>
</div>
</footer>
<!-- Back to Top Button -->
<button id="back-to-top" class="fixed bottom-6 right-6 bg-blue-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>
// Mobile menu toggle
const menuBtn = document.getElementById('menu-btn');
const mobileMenu = document.getElementById('mobile-menu');
menuBtn.addEventListener('click', () => {
mobileMenu.classList.toggle('hidden');
});
// Countdown timer
function updateCountdown() {
const launchDate = new Date('2023-12-01T00:00:00').getTime();
const now = new Date().getTime();
const distance = launchDate - now;
const days = Math.floor(distance / (1000 * 60 * 60 * 24));
const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
const seconds = Math.floor((distance % (1000 * 60)) / 1000);
document.getElementById('days').textContent = days.toString().padStart(2, '0');
document.getElementById('hours').textContent = hours.toString().padStart(2, '0');
document.getElementById('minutes').textContent = minutes.toString().padStart(2, '0');
document.getElementById('seconds').textContent = seconds.toString().padStart(2, '0');
}
setInterval(updateCountdown, 1000);
updateCountdown();
// 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 anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const targetId = this.getAttribute('href');
if (targetId === '#') return;
const targetElement = document.querySelector(targetId);
if (targetElement) {
window.scrollTo({
top: targetElement.offsetTop - 80,
behavior: 'smooth'
});
// Close mobile menu if open
if (!mobileMenu.classList.contains('hidden')) {
mobileMenu.classList.add('hidden');
}
}
});
});
</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=omr-saeed/techbite" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>