Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>GenAI Learn - No Code AI Learning Platform</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> | |
.gradient-bg { | |
background: linear-gradient(135deg, #6e8efb, #a777e3); | |
} | |
.course-card:hover { | |
transform: translateY(-5px); | |
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
} | |
.progress-ring__circle { | |
transition: stroke-dashoffset 0.5s; | |
transform: rotate(-90deg); | |
transform-origin: 50% 50%; | |
} | |
.tab-content { | |
display: none; | |
} | |
.tab-content.active { | |
display: block; | |
animation: fadeIn 0.5s; | |
} | |
@keyframes fadeIn { | |
from { opacity: 0; } | |
to { opacity: 1; } | |
} | |
</style> | |
</head> | |
<body class="font-sans bg-gray-50"> | |
<!-- Header --> | |
<header class="gradient-bg text-white shadow-lg"> | |
<div class="container mx-auto px-4 py-6"> | |
<div class="flex justify-between items-center"> | |
<div class="flex items-center space-x-2"> | |
<i class="fas fa-robot text-3xl"></i> | |
<h1 class="text-2xl font-bold">GenAI Learn</h1> | |
</div> | |
<nav class="hidden md:flex space-x-8"> | |
<a href="#" class="hover:text-gray-200 font-medium">Home</a> | |
<a href="#" class="hover:text-gray-200 font-medium">Courses</a> | |
<a href="#" class="hover:text-gray-200 font-medium">Labs</a> | |
<a href="#" class="hover:text-gray-200 font-medium">Community</a> | |
</nav> | |
<div class="flex items-center space-x-4"> | |
<button class="hidden md:block bg-white text-purple-600 px-4 py-2 rounded-full font-medium hover:bg-gray-100 transition">Sign In</button> | |
<button class="md:hidden text-2xl" id="mobile-menu-button"> | |
<i class="fas fa-bars"></i> | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Mobile Menu --> | |
<div class="md:hidden hidden bg-purple-700 py-4 px-4" id="mobile-menu"> | |
<div class="flex flex-col space-y-3"> | |
<a href="#" class="text-white hover:text-gray-200">Home</a> | |
<a href="#" class="text-white hover:text-gray-200">Courses</a> | |
<a href="#" class="text-white hover:text-gray-200">Labs</a> | |
<a href="#" class="text-white hover:text-gray-200">Community</a> | |
<button class="bg-white text-purple-600 px-4 py-2 rounded-full font-medium mt-2">Sign In</button> | |
</div> | |
</div> | |
</header> | |
<!-- Hero Section --> | |
<section class="gradient-bg text-white py-16"> | |
<div class="container mx-auto px-4"> | |
<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 font-bold mb-4">Learn Generative AI Without Writing Code</h1> | |
<p class="text-xl mb-8">Explore the world of AI with our interactive, no-code learning platform. Build, experiment, and understand AI models visually.</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-purple-600 px-6 py-3 rounded-full font-bold hover:bg-gray-100 transition">Start Learning Free</button> | |
<button class="border-2 border-white text-white px-6 py-3 rounded-full font-bold hover:bg-white hover:text-purple-600 transition">Watch Demo</button> | |
</div> | |
</div> | |
<div class="md:w-1/2 flex justify-center"> | |
<div class="relative w-full max-w-md"> | |
<div class="absolute -top-6 -left-6 w-32 h-32 bg-yellow-400 rounded-full opacity-20"></div> | |
<div class="absolute -bottom-6 -right-6 w-32 h-32 bg-blue-400 rounded-full opacity-20"></div> | |
<div class="relative bg-white bg-opacity-10 backdrop-filter backdrop-blur-lg rounded-2xl p-6 shadow-xl border border-white border-opacity-20"> | |
<div class="flex justify-between items-center mb-4"> | |
<h3 class="font-bold">AI Image Generator</h3> | |
<span class="text-xs bg-white bg-opacity-20 px-2 py-1 rounded">LAB</span> | |
</div> | |
<div class="bg-black bg-opacity-30 rounded-lg p-4 mb-4 h-40 flex items-center justify-center"> | |
<i class="fas fa-image text-4xl text-white opacity-50"></i> | |
</div> | |
<div class="grid grid-cols-2 gap-4 mb-4"> | |
<div class="bg-white bg-opacity-10 rounded-lg p-2 text-center"> | |
<p class="text-xs opacity-70">Style</p> | |
<p class="font-medium">Cyberpunk</p> | |
</div> | |
<div class="bg-white bg-opacity-10 rounded-lg p-2 text-center"> | |
<p class="text-xs opacity-70">Model</p> | |
<p class="font-medium">Stable Diffusion</p> | |
</div> | |
</div> | |
<button class="w-full bg-white text-purple-600 py-2 rounded-lg font-medium hover:bg-gray-100 transition">Generate Image</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Features Section --> | |
<section class="py-16 bg-white"> | |
<div class="container mx-auto px-4"> | |
<h2 class="text-3xl font-bold text-center mb-12">Why Learn With Us</h2> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
<div class="bg-gray-50 p-6 rounded-xl hover:shadow-lg transition"> | |
<div class="w-16 h-16 gradient-bg rounded-full flex items-center justify-center text-white text-2xl mb-4"> | |
<i class="fas fa-project-diagram"></i> | |
</div> | |
<h3 class="text-xl font-bold mb-2">Visual Learning</h3> | |
<p class="text-gray-600">Understand complex AI concepts through interactive visualizations and drag-and-drop interfaces.</p> | |
</div> | |
<div class="bg-gray-50 p-6 rounded-xl hover:shadow-lg transition"> | |
<div class="w-16 h-16 gradient-bg rounded-full flex items-center justify-center text-white text-2xl mb-4"> | |
<i class="fas fa-flask"></i> | |
</div> | |
<h3 class="text-xl font-bold mb-2">Hands-on Labs</h3> | |
<p class="text-gray-600">Experiment with real AI models in our sandbox environment without writing a single line of code.</p> | |
</div> | |
<div class="bg-gray-50 p-6 rounded-xl hover:shadow-lg transition"> | |
<div class="w-16 h-16 gradient-bg rounded-full flex items-center justify-center text-white text-2xl mb-4"> | |
<i class="fas fa-chart-line"></i> | |
</div> | |
<h3 class="text-xl font-bold mb-2">Track Progress</h3> | |
<p class="text-gray-600">Monitor your learning journey with detailed progress tracking and personalized recommendations.</p> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Courses Section --> | |
<section class="py-16 bg-gray-50"> | |
<div class="container mx-auto px-4"> | |
<div class="flex justify-between items-center mb-8"> | |
<h2 class="text-3xl font-bold">Popular Courses</h2> | |
<button class="text-purple-600 font-medium hover:text-purple-800">View All</button> | |
</div> | |
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
<!-- Course Card 1 --> | |
<div class="course-card bg-white rounded-xl overflow-hidden shadow-md transition duration-300"> | |
<div class="relative"> | |
<img src="https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="AI Fundamentals" class="w-full h-48 object-cover"> | |
<div class="absolute top-2 right-2 bg-yellow-400 text-xs font-bold px-2 py-1 rounded">Beginner</div> | |
</div> | |
<div class="p-6"> | |
<div class="flex justify-between items-start mb-2"> | |
<h3 class="font-bold text-lg">AI Fundamentals</h3> | |
<div class="flex items-center text-yellow-500"> | |
<i class="fas fa-star"></i> | |
<span class="ml-1 text-gray-600">4.8</span> | |
</div> | |
</div> | |
<p class="text-gray-600 text-sm mb-4">Learn the core concepts of artificial intelligence and machine learning without any coding.</p> | |
<div class="flex justify-between items-center"> | |
<div class="flex items-center"> | |
<i class="far fa-clock text-gray-500 mr-1"></i> | |
<span class="text-sm text-gray-600">3h 20m</span> | |
</div> | |
<button class="text-purple-600 text-sm font-medium hover:text-purple-800">Start Course</button> | |
</div> | |
</div> | |
</div> | |
<!-- Course Card 2 --> | |
<div class="course-card bg-white rounded-xl overflow-hidden shadow-md transition duration-300"> | |
<div class="relative"> | |
<img src="https://images.unsplash.com/photo-1620641788421-7a1c342ea42e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="Generative Models" class="w-full h-48 object-cover"> | |
<div class="absolute top-2 right-2 bg-green-400 text-xs font-bold px-2 py-1 rounded">Intermediate</div> | |
</div> | |
<div class="p-6"> | |
<div class="flex justify-between items-start mb-2"> | |
<h3 class="font-bold text-lg">Generative Models</h3> | |
<div class="flex items-center text-yellow-500"> | |
<i class="fas fa-star"></i> | |
<span class="ml-1 text-gray-600">4.9</span> | |
</div> | |
</div> | |
<p class="text-gray-600 text-sm mb-4">Explore GANs, VAEs, and diffusion models through interactive visual experiments.</p> | |
<div class="flex justify-between items-center"> | |
<div class="flex items-center"> | |
<i class="far fa-clock text-gray-500 mr-1"></i> | |
<span class="text-sm text-gray-600">5h 45m</span> | |
</div> | |
<button class="text-purple-600 text-sm font-medium hover:text-purple-800">Start Course</button> | |
</div> | |
</div> | |
</div> | |
<!-- Course Card 3 --> | |
<div class="course-card bg-white rounded-xl overflow-hidden shadow-md transition duration-300"> | |
<div class="relative"> | |
<img src="https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="LLMs Explained" class="w-full h-48 object-cover"> | |
<div class="absolute top-2 right-2 bg-red-400 text-xs font-bold px-2 py-1 rounded">Advanced</div> | |
</div> | |
<div class="p-6"> | |
<div class="flex justify-between items-start mb-2"> | |
<h3 class="font-bold text-lg">Large Language Models</h3> | |
<div class="flex items-center text-yellow-500"> | |
<i class="fas fa-star"></i> | |
<span class="ml-1 text-gray-600">4.7</span> | |
</div> | |
</div> | |
<p class="text-gray-600 text-sm mb-4">Understand transformers, attention mechanisms, and how tools like ChatGPT work under the hood.</p> | |
<div class="flex justify-between items-center"> | |
<div class="flex items-center"> | |
<i class="far fa-clock text-gray-500 mr-1"></i> | |
<span class="text-sm text-gray-600">7h 10m</span> | |
</div> | |
<button class="text-purple-600 text-sm font-medium hover:text-purple-800">Start Course</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Interactive Lab Section --> | |
<section class="py-16 bg-white"> | |
<div class="container mx-auto px-4"> | |
<h2 class="text-3xl font-bold text-center mb-12">Try Our Interactive Lab</h2> | |
<div class="bg-gray-50 rounded-xl p-6 md:p-8 shadow-inner"> | |
<div class="flex flex-col md:flex-row"> | |
<!-- Lab Controls --> | |
<div class="md:w-1/3 mb-6 md:mb-0 md:pr-6"> | |
<h3 class="text-xl font-bold mb-4">Image Generation Lab</h3> | |
<div class="mb-4"> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Model</label> | |
<select class="w-full p-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500"> | |
<option>Stable Diffusion v2.1</option> | |
<option>DALL-E Mini</option> | |
<option>Midjourney v5</option> | |
</select> | |
</div> | |
<div class="mb-4"> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Prompt</label> | |
<textarea class="w-full p-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500 h-24" placeholder="Describe the image you want to generate..."></textarea> | |
</div> | |
<div class="grid grid-cols-2 gap-4 mb-6"> | |
<div> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Steps</label> | |
<input type="range" min="10" max="50" value="20" class="w-full"> | |
</div> | |
<div> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Guidance</label> | |
<input type="range" min="1" max="20" value="7" class="w-full"> | |
</div> | |
</div> | |
<button class="w-full gradient-bg text-white py-3 rounded-lg font-bold hover:opacity-90 transition flex items-center justify-center"> | |
<i class="fas fa-magic mr-2"></i> Generate Image | |
</button> | |
</div> | |
<!-- Lab Output --> | |
<div class="md:w-2/3 bg-black bg-opacity-5 rounded-xl p-6 flex flex-col"> | |
<div class="flex justify-between items-center mb-4"> | |
<h4 class="font-medium">Output</h4> | |
<div class="flex space-x-2"> | |
<button class="p-2 bg-white rounded-lg hover:bg-gray-100"> | |
<i class="fas fa-download"></i> | |
</button> | |
<button class="p-2 bg-white rounded-lg hover:bg-gray-100"> | |
<i class="fas fa-share-alt"></i> | |
</button> | |
</div> | |
</div> | |
<div class="bg-black bg-opacity-10 rounded-lg flex-1 flex items-center justify-center"> | |
<div class="text-center p-6"> | |
<i class="fas fa-image text-5xl text-gray-400 mb-4"></i> | |
<p class="text-gray-600">Your generated image will appear here</p> | |
<p class="text-sm text-gray-500 mt-2">Try changing the parameters to see different results</p> | |
</div> | |
</div> | |
<div class="mt-4 bg-white p-3 rounded-lg"> | |
<h5 class="font-medium text-sm mb-2">How It Works</h5> | |
<p class="text-xs text-gray-600">This lab uses a diffusion model to generate images from text. The model gradually transforms random noise into an image that matches your prompt through a series of steps.</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Learning Path Section --> | |
<section class="py-16 bg-gray-50"> | |
<div class="container mx-auto px-4"> | |
<h2 class="text-3xl font-bold text-center mb-12">Personalized Learning Path</h2> | |
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden"> | |
<div class="p-6"> | |
<div class="flex items-center mb-6"> | |
<div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mr-4"> | |
<i class="fas fa-user-graduate text-purple-600 text-2xl"></i> | |
</div> | |
<div> | |
<h3 class="font-bold text-xl">Your AI Journey</h3> | |
<p class="text-gray-600">Based on your interests and progress</p> | |
</div> | |
</div> | |
<div class="mb-8"> | |
<div class="flex justify-between mb-2"> | |
<span class="text-sm font-medium">Current Progress</span> | |
<span class="text-sm font-medium">25%</span> | |
</div> | |
<div class="w-full bg-gray-200 rounded-full h-2.5"> | |
<div class="gradient-bg h-2.5 rounded-full" style="width: 25%"></div> | |
</div> | |
</div> | |
<div class="space-y-6"> | |
<!-- Path Item 1 --> | |
<div class="flex items-start"> | |
<div class="flex-shrink-0 mr-4"> | |
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center"> | |
<i class="fas fa-check text-green-600"></i> | |
</div> | |
</div> | |
<div class="flex-1 pt-1"> | |
<h4 class="font-medium">AI Fundamentals</h4> | |
<p class="text-sm text-gray-600">Completed on May 15, 2023</p> | |
</div> | |
<button class="text-purple-600 text-sm font-medium">Review</button> | |
</div> | |
<!-- Path Item 2 --> | |
<div class="flex items-start"> | |
<div class="flex-shrink-0 mr-4"> | |
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center"> | |
<span class="text-blue-600 font-medium">2</span> | |
</div> | |
</div> | |
<div class="flex-1 pt-1"> | |
<h4 class="font-medium">Neural Networks</h4> | |
<p class="text-sm text-gray-600">In progress (45% completed)</p> | |
<div class="w-full bg-gray-200 rounded-full h-1.5 mt-2"> | |
<div class="gradient-bg h-1.5 rounded-full" style="width: 45%"></div> | |
</div> | |
</div> | |
<button class="text-purple-600 text-sm font-medium">Continue</button> | |
</div> | |
<!-- Path Item 3 --> | |
<div class="flex items-start opacity-50"> | |
<div class="flex-shrink-0 mr-4"> | |
<div class="w-10 h-10 rounded-full bg-gray-100 flex items-center justify-center"> | |
<span class="text-gray-600 font-medium">3</span> | |
</div> | |
</div> | |
<div class="flex-1 pt-1"> | |
<h4 class="font-medium">Generative Models</h4> | |
<p class="text-sm text-gray-600">Available after completing Neural Networks</p> | |
</div> | |
<button class="text-gray-400 text-sm font-medium" disabled>Locked</button> | |
</div> | |
</div> | |
<button class="w-full mt-8 border-2 border-purple-600 text-purple-600 px-6 py-3 rounded-full font-bold hover:bg-purple-50 transition">View Full Path</button> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Testimonials --> | |
<section class="py-16 bg-white"> | |
<div class="container mx-auto px-4"> | |
<h2 class="text-3xl font-bold text-center mb-12">What Our Learners Say</h2> | |
<div class="grid grid-cols-1 md:grid-cols-2 gap-8"> | |
<!-- Testimonial 1 --> | |
<div class="bg-gray-50 p-6 rounded-xl"> | |
<div class="flex items-center mb-4"> | |
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Sarah J." class="w-12 h-12 rounded-full mr-4"> | |
<div> | |
<h4 class="font-bold">Sarah J.</h4> | |
<div class="flex text-yellow-400"> | |
<i class="fas fa-star"></i> | |
<i class="fas fa-star"></i> | |
<i class="fas fa-star"></i> | |
<i class="fas fa-star"></i> | |
<i class="fas fa-star"></i> | |
</div> | |
</div> | |
</div> | |
<p class="text-gray-600 mb-4">"As a designer with no coding background, I never thought I could understand AI. This platform made complex concepts accessible through visual explanations and interactive labs."</p> | |
<div class="text-sm text-gray-500">Completed: AI Fundamentals, Generative Models</div> | |
</div> | |
<!-- Testimonial 2 --> | |
<div class="bg-gray-50 p-6 rounded-xl"> | |
<div class="flex items-center mb-4"> | |
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Michael T." class="w-12 h-12 rounded-full mr-4"> | |
<div> | |
<h4 class="font-bold">Michael T.</h4> | |
<div class="flex text-yellow-400"> | |
<i class="fas fa-star"></i> | |
<i class="fas fa-star"></i> | |
<i class="fas fa-star"></i> | |
<i class="fas fa-star"></i> | |
<i class="fas fa-star-half-alt"></i> | |
</div> | |
</div> | |
</div> | |
<p class="text-gray-600 mb-4">"The no-code approach helped me focus on understanding the core AI concepts without getting bogged down in implementation details. The labs are incredibly well-designed."</p> | |
<div class="text-sm text-gray-500">Completed: Neural Networks, LLMs Explained</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- CTA Section --> | |
<section class="gradient-bg text-white py-16"> | |
<div class="container mx-auto px-4 text-center"> | |
<h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to Start Your AI Learning Journey?</h2> | |
<p class="text-xl mb-8 max-w-2xl mx-auto">Join thousands of learners exploring AI without writing a single line of code.</p> | |
<div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4"> | |
<button class="bg-white text-purple-600 px-8 py-4 rounded-full font-bold hover:bg-gray-100 transition text-lg">Get Started for Free</button> | |
<button class="border-2 border-white text-white px-8 py-4 rounded-full font-bold hover:bg-white hover:text-purple-600 transition text-lg">Take a Tour</button> | |
</div> | |
</div> | |
</section> | |
<!-- Footer --> | |
<footer class="bg-gray-900 text-white py-12"> | |
<div class="container mx-auto px-4"> | |
<div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
<div> | |
<div class="flex items-center space-x-2 mb-4"> | |
<i class="fas fa-robot text-2xl"></i> | |
<h3 class="text-xl font-bold">GenAI Learn</h3> | |
</div> | |
<p class="text-gray-400 mb-4">The no-code platform for learning generative AI concepts through interactive visualizations and experiments.</p> | |
<div class="flex space-x-4"> | |
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a> | |
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-linkedin"></i></a> | |
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-youtube"></i></a> | |
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-discord"></i></a> | |
</div> | |
</div> | |
<div> | |
<h4 class="text-lg font-bold mb-4">Learn</h4> | |
<ul class="space-y-2"> | |
<li><a href="#" class="text-gray-400 hover:text-white">Courses</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-white">Learning Paths</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-white">Interactive Labs</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-white">AI Glossary</a></li> | |
</ul> | |
</div> | |
<div> | |
<h4 class="text-lg font-bold mb-4">Company</h4> | |
<ul class="space-y-2"> | |
<li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-white">Careers</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li> | |
</ul> | |
</div> | |
<div> | |
<h4 class="text-lg font-bold mb-4">Stay Updated</h4> | |
<p class="text-gray-400 mb-4">Subscribe to our newsletter for the latest in AI education.</p> | |
<div class="flex"> | |
<input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-lg w-full text-gray-900"> | |
<button class="gradient-bg px-4 py-2 rounded-r-lg font-medium"><i class="fas fa-paper-plane"></i></button> | |
</div> | |
</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">© 2023 GenAI Learn. All rights reserved.</p> | |
<div class="flex space-x-6"> | |
<a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a> | |
<a href="#" class="text-gray-400 hover:text-white">Terms of Service</a> | |
<a href="#" class="text-gray-400 hover:text-white">Cookies</a> | |
</div> | |
</div> | |
</div> | |
</footer> | |
<script> | |
// Mobile menu toggle | |
document.getElementById('mobile-menu-button').addEventListener('click', function() { | |
const menu = document.getElementById('mobile-menu'); | |
menu.classList.toggle('hidden'); | |
}); | |
// Simple tab system for potential future use | |
const tabs = document.querySelectorAll('.tab-button'); | |
const tabContents = document.querySelectorAll('.tab-content'); | |
if (tabs.length > 0) { | |
tabs.forEach(tab => { | |
tab.addEventListener('click', () => { | |
// Remove active class from all tabs and contents | |
tabs.forEach(t => t.classList.remove('active')); | |
tabContents.forEach(c => c.classList.remove('active')); | |
// Add active class to clicked tab and corresponding content | |
tab.classList.add('active'); | |
const contentId = tab.getAttribute('data-tab'); | |
document.getElementById(contentId).classList.add('active'); | |
}); | |
}); | |
} | |
// Course card hover effect | |
const courseCards = document.querySelectorAll('.course-card'); | |
courseCards.forEach(card => { | |
card.style.transition = 'transform 0.3s ease, box-shadow 0.3s ease'; | |
}); | |
// Simple progress ring animation | |
function updateProgressRing(percent) { | |
const circumference = 2 * Math.PI * 40; | |
const offset = circumference - (percent / 100) * circumference; | |
document.querySelector('.progress-ring__circle').style.strokeDashoffset = offset; | |
} | |
// Initialize progress ring | |
if (document.querySelector('.progress-ring__circle')) { | |
updateProgressRing(25); // 25% progress | |
} | |
</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=Surobhi/gen-ai-learn" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
</html> |