vidvortex / index.html
Abdoo859's picture
انش موقع مثل يوتيوب لمشاهده الفيديو هات
ab9db6b verified
Raw History Blame Contribute Delete
13.2 kB
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VidVortex - Video Sharing Platform</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
500: '#3B82F6',
},
secondary: {
500: '#EC4899',
}
}
}
}
}
</script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
.video-card:hover .play-icon {
opacity: 1;
transform: scale(1.1);
}
.video-card:hover {
transform: translateY(-5px);
}
</style>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen">
<!-- Navbar -->
<nav class="bg-gray-800 px-4 py-3 shadow-lg sticky top-0 z-50">
<div class="max-w-7xl mx-auto flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="play-circle" class="text-secondary-500 w-8 h-8"></i>
<h1 class="text-2xl font-bold bg-gradient-to-r from-primary-500 to-secondary-500 bg-clip-text text-transparent">VidVortex</h1>
</div>
<div class="hidden md:flex items-center space-x-6">
<a href="#" class="hover:text-secondary-500 transition">Home</a>
<a href="#" class="hover:text-secondary-500 transition">Explore</a>
<a href="#" class="hover:text-secondary-500 transition">Subscriptions</a>
<a href="#" class="hover:text-secondary-500 transition">Library</a>
</div>
<div class="flex items-center space-x-4">
<div class="relative hidden md:block">
<input type="text" placeholder="Search" class="bg-gray-700 px-4 py-2 rounded-full w-64 focus:outline-none focus:ring-2 focus:ring-secondary-500">
<button class="absolute right-3 top-2.5 text-gray-400">
<i data-feather="search"></i>
</button>
</div>
<button class="p-2 rounded-full hover:bg-gray-700">
<i data-feather="bell"></i>
</button>
<button class="p-2 rounded-full hover:bg-gray-700">
<i data-feather="user"></i>
</button>
<button class="p-2 rounded-full hover:bg-gray-700 md:hidden">
<i data-feather="menu"></i>
</button>
</div>
</div>
</nav>
<!-- Main Content -->
<div class="max-w-7xl mx-auto px-4 py-6 grid grid-cols-1 md:grid-cols-12 gap-6">
<!-- Sidebar (hidden on mobile) -->
<aside class="hidden md:block md:col-span-2 space-y-4">
<div class="bg-gray-800 rounded-lg p-4">
<h3 class="font-semibold mb-4">Categories</h3>
<ul class="space-y-3">
<li><a href="#" class="flex items-center space-x-2 hover:text-secondary-500 transition"><i data-feather="home"></i><span>Home</span></a></li>
<li><a href="#" class="flex items-center space-x-2 hover:text-secondary-500 transition"><i data-feather="trending-up"></i><span>Trending</span></a></li>
<li><a href="#" class="flex items-center space-x-2 hover:text-secondary-500 transition"><i data-feather="music"></i><span>Music</span></a></li>
<li><a href="#" class="flex items-center space-x-2 hover:text-secondary-500 transition"><i data-feather="film"></i><span>Movies</span></a></li>
<li><a href="#" class="flex items-center space-x-2 hover:text-secondary-500 transition"><i data-feather="tv"></i><span>TV Shows</span></a></li>
<li><a href="#" class="flex items-center space-x-2 hover:text-secondary-500 transition"><i data-feather="award"></i><span>Sports</span></a></li>
<li><a href="#" class="flex items-center space-x-2 hover:text-secondary-500 transition"><i data-feather="zap"></i><span>Gaming</span></a></li>
</ul>
</div>
<div class="bg-gray-800 rounded-lg p-4">
<h3 class="font-semibold mb-4">Subscriptions</h3>
<ul class="space-y-3">
<li><a href="#" class="flex items-center space-x-2 hover:text-secondary-500 transition"><i data-feather="user"></i><span>Channel 1</span></a></li>
<li><a href="#" class="flex items-center space-x-2 hover:text-secondary-500 transition"><i data-feather="user"></i><span>Channel 2</span></a></li>
<li><a href="#" class="flex items-center space-x-2 hover:text-secondary-500 transition"><i data-feather="user"></i><span>Channel 3</span></a></li>
</ul>
</div>
</aside>
<!-- Video Grid -->
<main class="md:col-span-10">
<!-- Featured Video -->
<div class="mb-8">
<div class="relative rounded-xl overflow-hidden bg-gray-800 aspect-video">
<img src="http://static.photos/technology/1200x630/5" alt="Featured Video" class="w-full h-full object-cover">
<div class="absolute inset-0 bg-gradient-to-t from-gray-900 to-transparent flex items-end p-6">
<div>
<h2 class="text-2xl font-bold mb-2">Amazing Tech Gadgets You Need in 2023</h2>
<p class="text-gray-300 mb-4">1.2M views • 3 days ago</p>
<button class="bg-secondary-500 hover:bg-secondary-600 text-white px-6 py-2 rounded-full flex items-center space-x-2 transition">
<i data-feather="play" class="w-4 h-4"></i>
<span>Watch Now</span>
</button>
</div>
</div>
</div>
</div>
<h2 class="text-xl font-bold mb-4">Recommended Videos</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4">
<!-- Video Card 1 -->
<div class="video-card bg-gray-800 rounded-lg overflow-hidden transition duration-300 cursor-pointer">
<div class="relative">
<img src="http://static.photos/technology/640x360/1" alt="Video Thumbnail" class="w-full aspect-video object-cover">
<div class="absolute inset-0 flex items-center justify-center play-icon opacity-0 transition duration-300">
<div class="bg-black bg-opacity-50 rounded-full p-4">
<i data-feather="play" class="text-white w-8 h-8"></i>
</div>
</div>
<span class="absolute bottom-2 right-2 bg-black bg-opacity-70 px-2 py-1 text-xs rounded">10:30</span>
</div>
<div class="p-3">
<div class="flex space-x-3">
<img src="http://static.photos/people/200x200/1" alt="Channel" class="w-10 h-10 rounded-full">
<div>
<h3 class="font-medium line-clamp-2">How to Build a Modern Web App with React</h3>
<p class="text-gray-400 text-sm">Tech Channel</p>
<p class="text-gray-400 text-sm">250K views • 5 days ago</p>
</div>
</div>
</div>
</div>
<!-- Video Card 2 -->
<div class="video-card bg-gray-800 rounded-lg overflow-hidden transition duration-300 cursor-pointer">
<div class="relative">
<img src="http://static.photos/gaming/640x360/2" alt="Video Thumbnail" class="w-full aspect-video object-cover">
<div class="absolute inset-0 flex items-center justify-center play-icon opacity-0 transition duration-300">
<div class="bg-black bg-opacity-50 rounded-full p-4">
<i data-feather="play" class="text-white w-8 h-8"></i>
</div>
</div>
<span class="absolute bottom-2 right-2 bg-black bg-opacity-70 px-2 py-1 text-xs rounded">15:45</span>
</div>
<div class="p-3">
<div class="flex space-x-3">
<img src="http://static.photos/people/200x200/2" alt="Channel" class="w-10 h-10 rounded-full">
<div>
<h3 class="font-medium line-clamp-2">Top 5 Games Coming Out This Month</h3>
<p class="text-gray-400 text-sm">Game Reviews</p>
<p class="text-gray-400 text-sm">800K views • 2 days ago</p>
</div>
</div>
</div>
</div>
<!-- Video Card 3 -->
<div class="video-card bg-gray-800 rounded-lg overflow-hidden transition duration-300 cursor-pointer">
<div class="relative">
<img src="http://static.photos/travel/640x360/3" alt="Video Thumbnail" class="w-full aspect-video object-cover">
<div class="absolute inset-0 flex items-center justify-center play-icon opacity-0 transition duration-300">
<div class="bg-black bg-opacity-50 rounded-full p-4">
<i data-feather="play" class="text-white w-8 h-8"></i>
</div>
</div>
<span class="absolute bottom-2 right-2 bg-black bg-opacity-70 px-2 py-1 text-xs rounded">22:10</span>
</div>
<div class="p-3">
<div class="flex space-x-3">
<img src="http://static.photos/people/200x200/3" alt="Channel" class="w-10 h-10 rounded-full">
<div>
<h3 class="font-medium line-clamp-2">Beautiful Hidden Beaches Around the World</h3>
<p class="text-gray-400 text-sm">Travel Guide</p>
<p class="text-gray-400 text-sm">1.5M views • 1 week ago</p>
</div>
</div>
</div>
</div>
<!-- Video Card 4 -->
<div class="video-card bg-gray-800 rounded-lg overflow-hidden transition duration-300 cursor-pointer">
<div class="relative">
<img src="http://static.photos/food/640x360/4" alt="Video Thumbnail" class="w-full aspect-video object-cover">
<div class="absolute inset-0 flex items-center justify-center play-icon opacity-0 transition duration-300">
<div class="bg-black bg-opacity-50 rounded-full p-4">
<i data-feather="play" class="text-white w-8 h-8"></i>
</div>
</div>
<span class="absolute bottom-2 right-2 bg-black bg-opacity-70 px-2 py-1 text-xs rounded">08:15</span>
</div>
<div class="p-3">
<div class="flex space-x-3">
<img src="http://static.photos/people/200x200/4" alt="Channel" class="w-10 h-10 rounded-full">
<div>
<h3 class="font-medium line-clamp-2">Easy 5-Ingredient Pasta Recipe</h3>
<p class="text-gray-400 text-sm">Cooking Channel</p>
<p class="text-gray-400 text-sm">350K views • 3 days ago</p>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
<script>
feather.replace();
// Simple animation for video cards
document.querySelectorAll('.video-card').forEach(card => {
card.addEventListener('mouseenter', () => {
card.style.transform = 'translateY(-5px)';
});
card.addEventListener('mouseleave', () => {
card.style.transform = '';
});
});
</script>
</body>
</html>