codecraft-academy / tutorials.html
saeidmp's picture
debug
ea2f048 verified
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tutorials | Spadak Code Learn</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<link rel="stylesheet" href="style.css">
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
500: '#f97316',
},
secondary: {
500: '#f59e0b',
}
}
}
}
}
</script>
</head>
<body class="bg-gray-900 text-gray-100">
<!-- Navigation -->
<nav class="fixed w-full nav-glass z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i data-feather="code" class="text-amber-500"></i>
<span class="ml-2 text-xl font-bold text-orange-500">Spadak Code Learn</span>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="index.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">خانه | Home</a>
<a href="courses.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">دوره‌ها | Courses</a>
<a href="tutorials.html" class="bg-gray-900 text-white px-3 py-2 rounded-md text-sm font-medium">آموزش‌ها | Tutorials</a>
<a href="resources.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">منابع | Resources</a>
<a href="community.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">جامعه | Community</a>
</div>
</div>
</div>
<div class="hidden md:block">
<div class="ml-4 flex items-center md:ml-6">
<button type="button" class="bg-gray-800 p-1 rounded-full text-gray-400 hover:text-white focus:outline-none">
<i data-feather="search"></i>
</button>
<a href="signin.html" class="ml-4 bg-orange-500 hover:bg-orange-600 text-white px-4 py-2 rounded-md text-sm font-medium transition-colors duration-200">
ورود | Sign In
</a>
</div>
</div>
</div>
</div>
</nav>
<!-- Tutorials Section -->
<section class="pt-24 pb-16 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
<div class="text-center mb-16">
<h1 class="text-4xl font-extrabold text-white sm:text-5xl mb-4">
<span class="block">Free Coding</span>
<span class="block text-orange-500 bg-gradient-to-r from-orange-500 to-amber-500 bg-clip-text text-transparent">Tutorials</span>
</h1>
<p class="max-w-3xl mx-auto text-lg text-gray-300">
Learn new skills with our free step-by-step tutorials covering web development and more.
</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Tutorial 1 -->
<div class="bg-gray-800 rounded-xl overflow-hidden border border-gray-700 hover:border-orange-500 transition-all duration-300 hover:scale-[1.02]">
<div class="relative">
<img src="http://static.photos/technology/640x360/4" alt="CSS Grid" class="w-full h-48 object-cover">
<div class="absolute top-4 right-4 bg-orange-500 text-white text-xs font-bold px-3 py-1 rounded-full">
Beginner
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">CSS Grid Layout</h3>
<p class="text-gray-300 mb-4">Learn how to create complex layouts with CSS Grid.</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-yellow-400">
<i data-feather="clock" class="w-4 h-4"></i>
<span class="ml-1 text-sm">45 min</span>
</div>
<span class="text-sm text-gray-400">Free</span>
</div>
<a href="#" class="mt-6 w-full block text-center bg-orange-500 hover:bg-orange-600 text-white px-4 py-2 rounded-md transition-colors duration-200">
Start Tutorial
</a>
</div>
</div>
<!-- Tutorial 2 -->
<div class="bg-gray-800 rounded-xl overflow-hidden border border-gray-700 hover:border-orange-500 transition-all duration-300 hover:scale-[1.02]">
<div class="relative">
<img src="http://static.photos/technology/640x360/5" alt="React Hooks" class="w-full h-48 object-cover">
<div class="absolute top-4 right-4 bg-orange-500 text-white text-xs font-bold px-3 py-1 rounded-full">
Intermediate
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">React Hooks Guide</h3>
<p class="text-gray-300 mb-4">Master useState, useEffect, and other React Hooks.</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-yellow-400">
<i data-feather="clock" class="w-4 h-4"></i>
<span class="ml-1 text-sm">1.5 hours</span>
</div>
<span class="text-sm text-gray-400">Free</span>
</div>
<a href="#" class="mt-6 w-full block text-center bg-orange-500 hover:bg-orange-600 text-white px-4 py-2 rounded-md transition-colors duration-200">
Start Tutorial
</a>
</div>
</div>
<!-- Tutorial 3 -->
<div class="bg-gray-800 rounded-xl overflow-hidden border border-gray-700 hover:border-orange-500 transition-all duration-300 hover:scale-[1.02]">
<div class="relative">
<img src="http://static.photos/technology/640x360/6" alt="JavaScript" class="w-full h-48 object-cover">
<div class="absolute top-4 right-4 bg-orange-500 text-white text-xs font-bold px-3 py-1 rounded-full">
Advanced
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">Async JavaScript</h3>
<p class="text-gray-300 mb-4">Understand promises, async/await, and event loop.</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-yellow-400">
<i data-feather="clock" class="w-4 h-4"></i>
<span class="ml-1 text-sm">2 hours</span>
</div>
<span class="text-sm text-gray-400">Free</span>
</div>
<a href="#" class="mt-6 w-full block text-center bg-orange-500 hover:bg-orange-600 text-white px-4 py-2 rounded-md transition-colors duration-200">
Start Tutorial
</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 border-t border-gray-800">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div class="col-span-2">
<div class="flex items-center">
<i data-feather="code" class="text-amber-500"></i>
<span class="ml-2 text-xl font-bold text-orange-500">Spadak Code Learn</span>
</div>
<p class="mt-4 text-gray-300 text-sm">
Revolutionizing how developers learn. Join our community of passionate learners building the future with code.
</p>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-200 tracking-wider uppercase">
Learn
</h3>
<ul class="mt-4 space-y-4">
<li>
<a href="courses.html" class="text-base text-gray-300 hover:text-white">
Courses
</a>
</li>
<li>
<a href="tutorials.html" class="text-base text-gray-300 hover:text-white">
Tutorials
</a>
</li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-200 tracking-wider uppercase">
Company
</h3>
<ul class="mt-4 space-y-4">
<li>
<a href="about.html" class="text-base text-gray-300 hover:text-white">
About
</a>
</li>
<li>
<a href="#" class="text-base text-gray-300 hover:text-white">
Careers
</a>
</li>
</ul>
</div>
</div>
<div class="mt-12 border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between">
<p class="text-gray-400 text-sm">
&copy; 2023 Spadak Code Learn. All rights reserved.
</p>
</div>
</div>
</footer>
<script src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html>