samirs / index.html
Samir51's picture
Mcak ui like facebook - Initial Deployment
d04da5a verified
Raw
History Blame Contribute Delete
24.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mcak - Social Network</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<style>
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #f1f1f1;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #888;
border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #555;
}
</style>
</head>
<body class="bg-gray-100">
<div id="vanta-bg" class="fixed inset-0 -z-10"></div>
<div class="min-h-screen flex flex-col">
<!-- Header -->
<header class="bg-white shadow-sm sticky top-0 z-50">
<div class="container mx-auto px-4 py-2 flex items-center justify-between">
<div class="flex items-center space-x-2">
<div class="text-blue-600 font-bold text-2xl">Samirs</div>
<div class="relative hidden md:block">
<input type="text" placeholder="Search Mcak" class="bg-gray-100 rounded-full py-2 px-4 pl-10 w-64 focus:outline-none">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-500"></i>
</div>
</div>
<nav class="hidden md:flex space-x-1">
<a href="#" class="p-3 rounded-lg hover:bg-gray-100">
<i data-feather="home" class="text-blue-600"></i>
</a>
<a href="#" class="p-3 rounded-lg hover:bg-gray-100">
<i data-feather="tv"></i>
</a>
<a href="#" class="p-3 rounded-lg hover:bg-gray-100">
<i data-feather="shopping-bag"></i>
</a>
<a href="#" class="p-3 rounded-lg hover:bg-gray-100">
<i data-feather="users"></i>
</a>
<a href="#" class="p-3 rounded-lg hover:bg-gray-100">
<i data-feather="bell"></i>
</a>
</nav>
<div class="flex items-center space-x-2">
<div class="relative">
<button class="bg-gray-200 rounded-full p-2 hover:bg-gray-300">
<i data-feather="menu"></i>
</button>
</div>
<div class="relative">
<button class="bg-gray-200 rounded-full p-2 hover:bg-gray-300">
<i data-feather="message-square"></i>
</button>
</div>
<div class="relative">
<button class="bg-gray-200 rounded-full p-2 hover:bg-gray-300">
<i data-feather="bell"></i>
</button>
</div>
<div class="relative">
<div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold cursor-pointer">
<span>s</span>
</div>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="flex-1 container mx-auto px-4 py-6 flex">
<!-- Left Sidebar -->
<aside class="hidden lg:block w-64 mr-6">
<div class="bg-white rounded-lg shadow p-4 mb-4">
<div class="flex items-center space-x-3 mb-4 cursor-pointer hover:bg-gray-100 p-2 rounded-lg">
<div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold">
<span>s</span>
</div>
<span class="font-medium">samir</span>
</div>
<div class="space-y-2">
<a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
<i data-feather="users" class="text-blue-500"></i>
<span>Friends</span>
</a>
<a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
<i data-feather="clock" class="text-blue-500"></i>
<span>Memories</span>
</a>
<a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
<i data-feather="bookmark" class="text-blue-500"></i>
<span>Saved</span>
</a>
<a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
<i data-feather="flag" class="text-blue-500"></i>
<span>Pages</span>
</a>
<a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
<i data-feather="calendar" class="text-blue-500"></i>
<span>Events</span>
</a>
<a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
<i data-feather="chevron-down" class="text-blue-500"></i>
<span>See More</span>
</a>
</div>
</div>
<div class="bg-white rounded-lg shadow p-4">
<h3 class="font-semibold text-gray-500 mb-3">Your Shortcuts</h3>
<div class="space-y-2">
<a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
<img src="http://static.photos/gaming/200x200/5" class="w-8 h-8 rounded-md object-cover">
<span>Gaming Group</span>
</a>
<a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
<img src="http://static.photos/technology/200x200/15" class="w-8 h-8 rounded-md object-cover">
<span>Tech News</span>
</a>
<a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
<img src="http://static.photos/travel/200x200/25" class="w-8 h-8 rounded-md object-cover">
<span>Travel Community</span>
</a>
</div>
</div>
</aside>
<!-- Center Content -->
<div class="flex-1 max-w-2xl mx-auto">
<!-- Create Post -->
<div class="bg-white rounded-lg shadow mb-4" data-aos="fade-up">
<div class="p-4">
<div class="flex items-center space-x-2">
<div class="w-10 h-10 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold cursor-pointer">
<span>U</span>
</div>
<button class="flex-1 bg-gray-100 hover:bg-gray-200 rounded-full py-2 px-4 text-left text-gray-500">
What's on your mind?
</button>
</div>
<div class="border-t border-gray-200 mt-3 pt-3 flex justify-between">
<button class="flex items-center space-x-2 p-2 rounded-lg hover:bg-gray-100 text-gray-600">
<i data-feather="video" class="text-red-500"></i>
<span>Live Video</span>
</button>
<button class="flex items-center space-x-2 p-2 rounded-lg hover:bg-gray-100 text-gray-600">
<i data-feather="image" class="text-green-500"></i>
<span>Photo/Video</span>
</button>
<button class="flex items-center space-x-2 p-2 rounded-lg hover:bg-gray-100 text-gray-600">
<i data-feather="smile" class="text-yellow-500"></i>
<span>Feeling/Activity</span>
</button>
</div>
</div>
</div>
<!-- Stories -->
<div class="bg-white rounded-lg shadow mb-4 p-4" data-aos="fade-up">
<div class="flex space-x-2 overflow-x-auto pb-2 custom-scrollbar">
<div class="relative flex-shrink-0 w-32 h-48 rounded-lg overflow-hidden cursor-pointer bg-gradient-to-b from-blue-500 to-purple-600">
<div class="absolute top-2 left-2 w-8 h-8 rounded-full bg-blue-500 border-4 border-white flex items-center justify-center">
<i data-feather="plus" class="text-white"></i>
</div>
<div class="absolute bottom-2 left-2 right-2 text-center text-white font-medium">
Create Story
</div>
</div>
<div class="relative flex-shrink-0 w-32 h-48 rounded-lg overflow-hidden cursor-pointer">
<img src="http://static.photos/nature/320x240/1" class="w-full h-full object-cover">
<div class="absolute top-2 left-2 w-8 h-8 rounded-full border-2 border-blue-500 overflow-hidden">
<img src="http://static.photos/people/200x200/1" class="w-full h-full object-cover">
</div>
<div class="absolute bottom-2 left-2 right-2 text-white text-sm font-medium">
John Doe
</div>
</div>
<div class="relative flex-shrink-0 w-32 h-48 rounded-lg overflow-hidden cursor-pointer">
<img src="http://static.photos/travel/320x240/2" class="w-full h-full object-cover">
<div class="absolute top-2 left-2 w-8 h-8 rounded-full border-2 border-blue-500 overflow-hidden">
<img src="http://static.photos/people/200x200/2" class="w-full h-full object-cover">
</div>
<div class="absolute bottom-2 left-2 right-2 text-white text-sm font-medium">
Sarah Smith
</div>
</div>
<div class="relative flex-shrink-0 w-32 h-48 rounded-lg overflow-hidden cursor-pointer">
<img src="http://static.photos/cityscape/320x240/3" class="w-full h-full object-cover">
<div class="absolute top-2 left-2 w-8 h-8 rounded-full border-2 border-blue-500 overflow-hidden">
<img src="http://static.photos/people/200x200/3" class="w-full h-full object-cover">
</div>
<div class="absolute bottom-2 left-2 right-2 text-white text-sm font-medium">
Mike Johnson
</div>
</div>
<div class="relative flex-shrink-0 w-32 h-48 rounded-lg overflow-hidden cursor-pointer">
<img src="http://static.photos/food/320x240/4" class="w-full h-full object-cover">
<div class="absolute top-2 left-2 w-8 h-8 rounded-full border-2 border-blue-500 overflow-hidden">
<img src="http://static.photos/people/200x200/4" class="w-full h-full object-cover">
</div>
<div class="absolute bottom-2 left-2 right-2 text-white text-sm font-medium">
Emma Wilson
</div>
</div>
</div>
</div>
<!-- Posts -->
<div class="bg-white rounded-lg shadow mb-4" data-aos="fade-up">
<div class="p-4">
<div class="flex items-center justify-between mb-3">
<div class="flex items-center space-x-2">
<img src="http://static.photos/people/200x200/5" class="w-10 h-10 rounded-full">
<div>
<h3 class="font-semibold">Alex Turner</h3>
<p class="text-gray-500 text-xs">2 hrs ago <i data-feather="globe" class="inline w-3 h-3"></i></p>
</div>
</div>
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="more-horizontal"></i>
</button>
</div>
<p class="mb-3">Just finished this amazing hike! The views were incredible. 🏔️ #nature #adventure</p>
<img src="http://static.photos/nature/640x360/10" class="w-full rounded-lg mb-3">
<div class="flex justify-between text-gray-500 text-sm mb-3">
<span><i data-feather="thumbs-up" class="inline w-4 h-4 text-blue-500"></i> 124</span>
<span>24 comments · 8 shares</span>
</div>
<div class="border-t border-b border-gray-200 py-2 flex justify-between">
<button class="flex items-center justify-center space-x-1 w-full hover:bg-gray-100 py-1 rounded">
<i data-feather="thumbs-up" class="text-gray-500"></i>
<span>Like</span>
</button>
<button class="flex items-center justify-center space-x-1 w-full hover:bg-gray-100 py-1 rounded">
<i data-feather="message-square" class="text-gray-500"></i>
<span>Comment</span>
</button>
<button class="flex items-center justify-center space-x-1 w-full hover:bg-gray-100 py-1 rounded">
<i data-feather="share-2" class="text-gray-500"></i>
<span>Share</span>
</button>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow mb-4" data-aos="fade-up">
<div class="p-4">
<div class="flex items-center justify-between mb-3">
<div class="flex items-center space-x-2">
<img src="http://static.photos/people/200x200/6" class="w-10 h-10 rounded-full">
<div>
<h3 class="font-semibold">Tech News</h3>
<p class="text-gray-500 text-xs">Sponsored <i data-feather="globe" class="inline w-3 h-3"></i></p>
</div>
</div>
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="more-horizontal"></i>
</button>
</div>
<p class="mb-3">The new smartphone from XYZ company is breaking all records with its revolutionary camera technology. Check out the full review!</p>
<img src="http://static.photos/technology/640x360/20" class="w-full rounded-lg mb-3">
<div class="bg-gray-100 p-3 rounded-lg mb-3">
<h4 class="font-semibold">XYZ Phone Pro Review</h4>
<p class="text-sm text-gray-600">The most advanced smartphone camera system ever created. Professional quality photos from your pocket.</p>
<p class="text-blue-500 text-sm">technews.com</p>
</div>
<div class="flex justify-between text-gray-500 text-sm mb-3">
<span><i data-feather="thumbs-up" class="inline w-4 h-4 text-blue-500"></i> 89</span>
<span>42 comments · 5 shares</span>
</div>
<div class="border-t border-b border-gray-200 py-2 flex justify-between">
<button class="flex items-center justify-center space-x-1 w-full hover:bg-gray-100 py-1 rounded">
<i data-feather="thumbs-up" class="text-gray-500"></i>
<span>Like</span>
</button>
<button class="flex items-center justify-center space-x-1 w-full hover:bg-gray-100 py-1 rounded">
<i data-feather="message-square" class="text-gray-500"></i>
<span>Comment</span>
</button>
<button class="flex items-center justify-center space-x-1 w-full hover:bg-gray-100 py-1 rounded">
<i data-feather="share-2" class="text-gray-500"></i>
<span>Share</span>
</button>
</div>
</div>
</div>
</div>
<!-- Right Sidebar -->
<aside class="hidden lg:block w-80 ml-6">
<div class="bg-white rounded-lg shadow p-4 mb-4">
<h3 class="font-semibold mb-3">Sponsored</h3>
<div class="space-y-4">
<a href="#" class="block">
<img src="http://static.photos/retail/640x360/30" class="w-full rounded-lg mb-2">
<h4 class="font-medium">Summer Sale - 50% Off</h4>
<p class="text-sm text-gray-500">amazingproducts.com</p>
</a>
<a href="#" class="block">
<img src="http://static.photos/travel/640x360/40" class="w-full rounded-lg mb-2">
<h4 class="font-medium">Dream Vacation Packages</h4>
<p class="text-sm text-gray-500">traveladventures.com</p>
</a>
</div>
</div>
<div class="bg-white rounded-lg shadow p-4">
<div class="flex justify-between items-center mb-4">
<h3 class="font-semibold">Contacts</h3>
<div class="flex space-x-2">
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="video"></i>
</button>
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="search"></i>
</button>
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="more-horizontal"></i>
</button>
</div>
</div>
<div class="space-y-3">
<div class="flex items-center space-x-2 p-1 rounded-lg hover:bg-gray-100 cursor-pointer">
<div class="relative">
<img src="http://static.photos/people/200x200/7" class="w-8 h-8 rounded-full">
<div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></div>
</div>
<span>Lisa Cooper</span>
</div>
<div class="flex items-center space-x-2 p-1 rounded-lg hover:bg-gray-100 cursor-pointer">
<div class="relative">
<img src="http://static.photos/people/200x200/8" class="w-8 h-8 rounded-full">
<div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></div>
</div>
<span>David Miller</span>
</div>
<div class="flex items-center space-x-2 p-1 rounded-lg hover:bg-gray-100 cursor-pointer">
<div class="relative">
<img src="http://static.photos/people/200x200/9" class="w-8 h-8 rounded-full">
<div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></div>
</div>
<span>Sophia Chen</span>
</div>
<div class="flex items-center space-x-2 p-1 rounded-lg hover:bg-gray-100 cursor-pointer">
<div class="relative">
<img src="http://static.photos/people/200x200/10" class="w-8 h-8 rounded-full">
<div class="absolute bottom-0 right-0 w-3 h-3 bg-yellow-500 rounded-full border-2 border-white"></div>
</div>
<span>Michael Brown</span>
</div>
<div class="flex items-center space-x-2 p-1 rounded-lg hover:bg-gray-100 cursor-pointer">
<div class="relative">
<img src="http://static.photos/people/200x200/11" class="w-8 h-8 rounded-full">
<div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></div>
</div>
<span>Olivia Davis</span>
</div>
</div>
</div>
</aside>
</main>
</div>
<!-- Mobile Bottom Navigation -->
<div class="lg:hidden fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-200">
<div class="flex justify-around py-3">
<a href="#" class="p-2 rounded-full">
<i data-feather="home" class="text-blue-600"></i>
</a>
<a href="#" class="p-2 rounded-full">
<i data-feather="users"></i>
</a>
<a href="#" class="p-2 rounded-full">
<i data-feather="video"></i>
</a>
<a href="#" class="p-2 rounded-full">
<i data-feather="bell"></i>
</a>
<a href="#" class="p-2 rounded-full">
<i data-feather="menu"></i>
</a>
</div>
</div>
<script>
VANTA.NET({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3b82f6,
backgroundColor: 0xf3f4f6,
points: 8.00,
maxDistance: 22.00,
spacing: 18.00
});
</script>
<script>AOS.init();</script>
<script>feather.replace();</script>
</body>
</html>