access2 / index.html
Amunra123's picture
Add 3 files
a3265f9 verified
Raw History Blame Contribute Delete
28.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EL ACCESS CODING TUTORIAL 2.0</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>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root {
--primary-blue: #3498db;
--ash-white: #f2f2f2;
--dark-blue: #2980b9;
}
body {
font-family: 'Poppins', sans-serif;
background-color: var(--ash-white);
}
.course-card {
transition: all 0.3s ease;
transform: translateY(0);
}
.course-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.progress-bar {
transition: width 1s ease-in-out;
}
.nav-link {
position: relative;
}
.nav-link::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 0;
left: 0;
background-color: var(--primary-blue);
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.active-nav::after {
width: 100%;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in {
animation: fadeIn 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.timer-pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
</style>
</head>
<body class="min-h-screen flex flex-col">
<!-- Timer Modal -->
<div id="timerModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-lg p-6 max-w-md w-full mx-4 fade-in">
<div class="flex justify-between items-center mb-4">
<h3 class="text-xl font-bold text-gray-800">Access Expiring Soon!</h3>
<button id="closeTimerModal" class="text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
</div>
<p class="text-gray-600 mb-4">Your access to EL ACCESS CODING TUTORIAL 2.0 will expire in:</p>
<div id="modalTimer" class="text-3xl font-bold text-blue-500 text-center mb-4"></div>
<p class="text-gray-600 text-sm">After expiration, you'll be redirected to our main website.</p>
</div>
</div>
<!-- Header -->
<header class="bg-white shadow-sm">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<div class="flex items-center">
<i class="fas fa-laptop-code text-3xl text-blue-500 mr-3"></i>
<h1 class="text-2xl font-bold text-gray-800">EL ACCESS CODING TUTORIAL 2.0</h1>
</div>
<div class="flex items-center space-x-4">
<div id="timer" class="bg-blue-100 text-blue-800 px-3 py-1 rounded-full text-sm font-medium flex items-center timer-pulse">
<i class="fas fa-clock mr-2"></i>
<span id="timerDisplay">14:00:00:00</span>
</div>
<button id="userMenuButton" class="w-10 h-10 rounded-full bg-blue-500 text-white flex items-center justify-center">
<i class="fas fa-user"></i>
</button>
</div>
</div>
<!-- Navigation -->
<nav class="bg-blue-600 text-white">
<div class="container mx-auto px-4">
<div class="flex overflow-x-auto py-2 hide-scrollbar">
<a href="#" class="nav-link active-nav px-4 py-3 font-medium whitespace-nowrap">Home</a>
<a href="#" class="nav-link px-4 py-3 font-medium whitespace-nowrap">HTML/CSS Course</a>
<a href="#" class="nav-link px-4 py-3 font-medium whitespace-nowrap">JavaScript Course</a>
<a href="#" class="nav-link px-4 py-3 font-medium whitespace-nowrap">Front-end Course</a>
<a href="#" class="nav-link px-4 py-3 font-medium whitespace-nowrap">Resources</a>
<a href="#" class="nav-link px-4 py-3 font-medium whitespace-nowrap">FAQ</a>
</div>
</div>
</nav>
</header>
<!-- Main Content -->
<main class="flex-grow container mx-auto px-4 py-8">
<!-- Hero Section -->
<section class="bg-gradient-to-r from-blue-500 to-blue-600 rounded-xl p-8 text-white mb-12">
<div class="max-w-3xl">
<h2 class="text-4xl font-bold mb-4 fade-in">Master Frontend Development</h2>
<p class="text-xl mb-6 fade-in delay-1">Learn HTML, CSS, and JavaScript with our comprehensive courses designed for all skill levels.</p>
<div class="flex flex-wrap gap-4 fade-in delay-2">
<button class="bg-white text-blue-600 px-6 py-2 rounded-lg font-medium hover:bg-blue-50 transition">Start Learning</button>
<button class="border-2 border-white text-white px-6 py-2 rounded-lg font-medium hover:bg-white hover:bg-opacity-10 transition">View Courses</button>
</div>
</div>
</section>
<!-- Course Catalog -->
<section class="mb-12">
<h2 class="text-2xl font-bold mb-6 text-gray-800 flex items-center">
<i class="fas fa-book-open mr-3 text-blue-500"></i>
Course Catalog
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- HTML/CSS Course -->
<div class="course-card bg-white rounded-xl overflow-hidden shadow-md fade-in">
<div class="h-40 bg-gradient-to-r from-blue-400 to-blue-500 flex items-center justify-center">
<i class="fas fa-code text-6xl text-white opacity-90"></i>
</div>
<div class="p-6">
<div class="flex justify-between items-start mb-2">
<h3 class="text-xl font-bold text-gray-800">HTML & CSS Fundamentals</h3>
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Beginner</span>
</div>
<p class="text-gray-600 mb-4">Learn to build beautiful, responsive websites with HTML5 and CSS3.</p>
<div class="mb-3">
<div class="flex justify-between text-sm text-gray-500 mb-1">
<span>Progress</span>
<span>25%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="progress-bar bg-blue-500 h-2 rounded-full" style="width: 25%"></div>
</div>
</div>
<div class="flex justify-between items-center">
<div class="flex space-x-1 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>
<button class="text-blue-500 font-medium hover:text-blue-700 transition">Continue →</button>
</div>
</div>
</div>
<!-- JavaScript Course -->
<div class="course-card bg-white rounded-xl overflow-hidden shadow-md fade-in delay-1">
<div class="h-40 bg-gradient-to-r from-yellow-400 to-yellow-500 flex items-center justify-center">
<i class="fab fa-js text-6xl text-white opacity-90"></i>
</div>
<div class="p-6">
<div class="flex justify-between items-start mb-2">
<h3 class="text-xl font-bold text-gray-800">JavaScript Mastery</h3>
<span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded-full">Intermediate</span>
</div>
<p class="text-gray-600 mb-4">Master JavaScript fundamentals and modern ES6+ features for web development.</p>
<div class="mb-3">
<div class="flex justify-between text-sm text-gray-500 mb-1">
<span>Progress</span>
<span>10%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="progress-bar bg-yellow-500 h-2 rounded-full" style="width: 10%"></div>
</div>
</div>
<div class="flex justify-between items-center">
<div class="flex space-x-1 text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="far fa-star"></i>
</div>
<button class="text-blue-500 font-medium hover:text-blue-700 transition">Continue →</button>
</div>
</div>
</div>
<!-- Front-end Course -->
<div class="course-card bg-white rounded-xl overflow-hidden shadow-md fade-in delay-2">
<div class="h-40 bg-gradient-to-r from-purple-400 to-purple-500 flex items-center justify-center">
<i class="fas fa-laptop-code text-6xl text-white opacity-90"></i>
</div>
<div class="p-6">
<div class="flex justify-between items-start mb-2">
<h3 class="text-xl font-bold text-gray-800">Front-end Development</h3>
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded-full">Advanced</span>
</div>
<p class="text-gray-600 mb-4">Learn modern front-end frameworks, state management and best practices.</p>
<div class="mb-3">
<div class="flex justify-between text-sm text-gray-500 mb-1">
<span>Progress</span>
<span>5%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="progress-bar bg-purple-500 h-2 rounded-full" style="width: 5%"></div>
</div>
</div>
<div class="flex justify-between items-center">
<div class="flex space-x-1 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>
<button class="text-blue-500 font-medium hover:text-blue-700 transition">Continue →</button>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="mb-12">
<h2 class="text-2xl font-bold mb-6 text-gray-800 flex items-center">
<i class="fas fa-star mr-3 text-blue-500"></i>
Why Choose Our Courses
</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-4 text-blue-500">
<i class="fas fa-chalkboard-teacher text-xl"></i>
</div>
<h3 class="text-lg font-semibold mb-2 text-gray-800">Expert Instructors</h3>
<p class="text-gray-600">Learn from industry professionals with years of real-world experience.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-4 text-blue-500">
<i class="fas fa-project-diagram text-xl"></i>
</div>
<h3 class="text-lg font-semibold mb-2 text-gray-800">Hands-on Projects</h3>
<p class="text-gray-600">Build real projects to apply what you learn and build your portfolio.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-4 text-blue-500">
<i class="fas fa-headset text-xl"></i>
</div>
<h3 class="text-lg font-semibold mb-2 text-gray-800">24/7 Support</h3>
<p class="text-gray-600">Get help whenever you need it from our community and support team.</p>
</div>
</div>
</section>
<!-- Course Structure Preview -->
<section class="mb-12">
<h2 class="text-2xl font-bold mb-6 text-gray-800 flex items-center">
<i class="fas fa-sitemap mr-3 text-blue-500"></i>
Course Structure Preview
</h2>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="border-b border-gray-200">
<div class="flex divide-x divide-gray-200">
<button class="course-tab px-6 py-3 font-medium text-blue-500 border-b-2 border-blue-500">HTML/CSS</button>
<button class="course-tab px-6 py-3 font-medium text-gray-500 hover:text-gray-700">JavaScript</button>
<button class="course-tab px-6 py-3 font-medium text-gray-500 hover:text-gray-700">Front-end</button>
</div>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="flex items-center justify-between p-3 bg-blue-50 rounded-lg">
<div class="flex items-center">
<div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center text-blue-500 mr-3">
<i class="fas fa-check-circle"></i>
</div>
<span class="font-medium">Introduction to HTML</span>
</div>
<span class="text-sm text-gray-500">45 min</span>
</div>
<div class="flex items-center justify-between p-3 bg-blue-50 rounded-lg">
<div class="flex items-center">
<div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center text-blue-500 mr-3">
<i class="fas fa-check-circle"></i>
</div>
<span class="font-medium">CSS Basics and Selectors</span>
</div>
<span class="text-sm text-gray-500">1 hr 15 min</span>
</div>
<div class="flex items-center justify-between p-3 bg-white border border-blue-100 rounded-lg">
<div class="flex items-center">
<div class="w-8 h-8 bg-white border border-blue-200 rounded-full flex items-center justify-center text-gray-400 mr-3">
<span class="text-xs">3</span>
</div>
<span class="font-medium">Responsive Design with Flexbox</span>
</div>
<span class="text-sm text-gray-500">1 hr 30 min</span>
</div>
<div class="flex items-center justify-between p-3 bg-white border border-gray-100 rounded-lg opacity-75">
<div class="flex items-center">
<div class="w-8 h-8 bg-gray-100 rounded-full flex items-center justify-center text-gray-400 mr-3">
<span class="text-xs">4</span>
</div>
<span class="font-medium text-gray-500">CSS Grid Layout</span>
</div>
<span class="text-sm text-gray-400">1 hr 45 min</span>
</div>
<div class="flex items-center justify-between p-3 bg-white border border-gray-100 rounded-lg opacity-75">
<div class="flex items-center">
<div class="w-8 h-8 bg-gray-100 rounded-full flex items-center justify-center text-gray-400 mr-3">
<span class="text-xs">5</span>
</div>
<span class="font-medium text-gray-500">Advanced CSS Techniques</span>
</div>
<span class="text-sm text-gray-400">2 hr</span>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-8">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4 flex items-center">
<i class="fas fa-laptop-code mr-2 text-blue-400"></i>
EL ACCESS
</h3>
<p class="text-gray-400">Master frontend development with our comprehensive courses and hands-on projects.</p>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Courses</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">HTML/CSS</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">JavaScript</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Front-end</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">All Courses</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Resources</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Documentation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Cheat Sheets</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">Community</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Connect</h3>
<div class="flex space-x-4 mb-4">
<a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-blue-500 transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-blue-600 transition">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-pink-600 transition">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-red-500 transition">
<i class="fab fa-youtube"></i>
</a>
</div>
<p class="text-gray-400">Subscribe to our newsletter</p>
<div class="mt-2 flex">
<input type="email" placeholder="Your email" class="px-3 py-2 bg-gray-700 text-white rounded-l focus:outline-none focus:ring-1 focus:ring-blue-500 w-full">
<button class="bg-blue-500 hover:bg-blue-600 px-4 py-2 rounded-r text-white">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-6 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm mb-4 md:mb-0">© 2023 EL ACCESS CODING TUTORIAL 2.0. All rights reserved.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Terms</a>
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Privacy</a>
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Cookies</a>
</div>
</div>
</div>
</footer>
<script>
// Timer functionality (14 days countdown)
const endTime = new Date();
endTime.setDate(endTime.getDate() + 14); // Set timer for 14 days from now
function updateTimer() {
const now = new Date();
const diff = endTime - now;
if (diff <= 0) {
// Timer expired, redirect to main website
window.location.href = "https://v0-el-access-website.vercel.app/";
return;
}
// Calculate days, hours, minutes, seconds
const days = Math.floor(diff / (1000 * 60 * 60 * 24));
const hours = Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60));
const seconds = Math.floor((diff % (1000 * 60)) / 1000);
// Display timer
document.getElementById('timerDisplay').textContent =
`${days}d ${hours}h ${minutes}m ${seconds}s`;
// Show modal when less than 1 day remains
if (days === 0 && hours < 24) {
document.getElementById('modalTimer').textContent =
`${hours}h ${minutes}m ${seconds}s`;
document.getElementById('timerModal').classList.remove('hidden');
}
}
// Update timer every second
updateTimer();
setInterval(updateTimer, 1000);
// Close timer modal
document.getElementById('closeTimerModal').addEventListener('click', function() {
document.getElementById('timerModal').classList.add('hidden');
});
// Course tab switching
const courseTabs = document.querySelectorAll('.course-tab');
courseTabs.forEach(tab => {
tab.addEventListener('click', function() {
// Remove active class from all tabs
courseTabs.forEach(t => {
t.classList.remove('text-blue-500', 'border-b-2', 'border-blue-500');
t.classList.add('text-gray-500', 'hover:text-gray-700');
});
// Add active class to clicked tab
this.classList.remove('text-gray-500', 'hover:text-gray-700');
this.classList.add('text-blue-500', 'border-b-2', 'border-blue-500');
// Here you would typically load the corresponding course content
// For this demo, we're just switching the active tab
});
});
// Navigation link active state
const navLinks = document.querySelectorAll('.nav-link');
navLinks.forEach(link => {
link.addEventListener('click', function(e) {
e.preventDefault();
// Remove active class from all nav links
navLinks.forEach(l => {
l.classList.remove('active-nav');
});
// Add active class to clicked link
this.classList.add('active-nav');
});
});
// User menu button
document.getElementById('userMenuButton').addEventListener('click', function() {
alert('User menu would open here in a full implementation');
});
// Animate elements when they come into view
const fadeElements = document.querySelectorAll('.fade-in');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = 1;
entry.target.style.transform = 'translateY(0)';
}
});
}, { threshold: 0.1 });
fadeElements.forEach(el => {
observer.observe(el);
});
</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=Amunra123/access2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>