undefined / user-profile.html
bipamoh984's picture
این صفحه پروفایل فریلنسر ناقص تولید شد، کاملش کن و ادامه صفحات رو هم بساز
6acef22 verified
Raw History Blame Contribute Delete
22.3 kB
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>پروفایل کاربر - کاریاب پیشرو</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;900&display=swap" rel="stylesheet">
<style>
* { font-family: 'Vazirmatn', sans-serif; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-btn.active { border-bottom: 2px solid #3B82F6; color: #3B82F6; }
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-lg sticky top-0 z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<a href="index.html" class="flex items-center space-x-reverse space-x-2">
<i data-feather="briefcase" class="w-8 h-8 text-blue-600"></i>
<span class="font-bold text-xl text-gray-800">کاریاب پیشرو</span>
</a>
</div>
<div class="hidden md:flex items-center space-x-reverse space-x-6">
<a href="index.html" class="text-gray-700 hover:text-blue-600 transition">خانه</a>
<a href="freelancers.html" class="text-gray-700 hover:text-blue-600 transition">فریلنسرها</a>
<a href="projects.html" class="text-gray-700 hover:text-blue-600 transition">پروژه‌ها</a>
<a href="blog.html" class="text-gray-700 hover:text-blue-600 transition">وبلاگ</a>
<a href="about.html" class="text-gray-700 hover:text-blue-600 transition">درباره ما</a>
</div>
<div class="flex items-center space-x-reverse space-x-3">
<div class="relative">
<button class="flex items-center space-x-reverse space-x-2">
<img src="http://static.photos/people/40x40/301" alt="کاربر" class="w-10 h-10 rounded-full">
<span class="text-gray-700">علی رضایی</span>
<i data-feather="chevron-down" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
</nav>
<!-- Profile Header -->
<section class="bg-gradient-to-l from-blue-600 to-blue-800 text-white py-12">
<div class="max-w-7xl mx-auto px-4">
<div class="flex flex-col md:flex-row items-center space-y-reverse space-y-4 md:space-y-0 md:space-x-reverse md:space-x-8">
<img src="http://static.photos/people/150x150/301" alt="پروفایل" class="w-32 h-32 rounded-full border-4 border-white">
<div class="text-center md:text-right">
<h1 class="text-3xl font-bold mb-2">علی رضایی</h1>
<p class="text-xl mb-4">کارفرما</p>
<div class="flex flex-wrap justify-center md:justify-start gap-4">
<div class="text-center">
<div class="text-2xl font-bold">23</div>
<div class="text-sm">پروژه posted</div>
</div>
<div class="text-center">
<div class="text-2xl font-bold">18</div>
<div class="text-sm">پروژه تکمیل شده</div>
</div>
<div class="text-center">
<div class="text-2xl font-bold">4.8</div>
<div class="text-sm">امتیاز</div>
</div>
</div>
</div>
<div class="flex-1 text-center md:text-left">
<button onclick="window.location.href='edit-profile.html'" class="bg-white text-blue-600 px-6 py-2 rounded-lg hover:bg-gray-100 transition font-semibold">
ویرایش پروفایل
</button>
</div>
</div>
</div>
</section>
<!-- Profile Content -->
<section class="py-12">
<div class="max-w-7xl mx-auto px-4">
<div class="grid md:grid-cols-4 gap-8">
<!-- Sidebar -->
<div class="md:col-span-1">
<div class="bg-white rounded-lg shadow-lg p-6">
<h3 class="font-bold text-lg mb-4">اطلاعات تماس</h3>
<div class="space-y-3 text-gray-600">
<div class="flex items-center">
<i data-feather="mail" class="w-5 h-5 ml-2"></i>
<span>ali.rezaei@email.com</span>
</div>
<div class="flex items-center">
<i data-feather="phone" class="w-5 h-5 ml-2"></i>
<span>09123456789</span>
</div>
<div class="flex items-center">
<i data-feather="map-pin" class="w-5 h-5 ml-2"></i>
<span>تهران، ایران</span>
</div>
<div class="flex items-center">
<i data-feather="calendar" class="w-5 h-5 ml-2"></i>
<span>عضو از فروردین 1402</span>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow-lg p-6 mt-6">
<h3 class="font-bold text-lg mb-4">وضعیت حساب</h3>
<div class="space-y-3">
<div class="flex justify-between">
<span class="text-gray-600">تأیید ایمیل</span>
<span class="text-green-600">✓ تأیید شده</span>
</div>
<div class="flex justify-between">
<span class="text-gray-600">تأیید موبایل</span>
<span class="text-green-600">✓ تأیید شده</span>
</div>
<div class="flex justify-between">
<span class="text-gray-600">تأیید هویت</span>
<span class="text-green-600">✓ تأیید شده</span>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="md:col-span-3">
<!-- Tabs -->
<div class="bg-white rounded-lg shadow-lg">
<div class="border-b">
<div class="flex space-x-reverse space-x-8 px-6">
<button onclick="showTab('overview')" class="tab-btn active py-4 font-semibold">نمای کلی</button>
<button onclick="showTab('projects')" class="tab-btn py-4 font-semibold">پروژه‌ها</button>
<button onclick="showTab('reviews')" class="tab-btn py-4 font-semibold">نظرات</button>
<button onclick="showTab('settings')" class="tab-btn py-4 font-semibold">تنظیمات</button>
</div>
</div>
<!-- Tab Contents -->
<div class="p-6">
<!-- Overview Tab -->
<div id="overview" class="tab-content active">
<h3 class="font-bold text-xl mb-4">درباره من</h3>
<p class="text-gray-700 leading-relaxed mb-6">
من مدیرعامل یک استارتاپ تکنولوژی هستم و به دنبال متخصصان بااستعداد برای پروژه‌های مختلف در حوزه وب و موبایل هستم. کیفیت کار و زمان‌بندی دقیق برای من بسیار مهم است.
</p>
<h3 class="font-bold text-xl mb-4">آمار فعالیت</h3>
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
<div class="bg-blue-50 p-4 rounded-lg text-center">
<div class="text-2xl font-bold text-blue-600">23</div>
<div class="text-gray-600">کل پروژه‌ها</div>
</div>
<div class="bg-green-50 p-4 rounded-lg text-center">
<div class="text-2xl font-bold text-green-600">18</div>
<div class="text-gray-600">تکمیل شده</div>
</div>
<div class="bg-yellow-50 p-4 rounded-lg text-center">
<div class="text-2xl font-bold text-yellow-600">3</div>
<div class="text-gray-600">در حال انجام</div>
</div>
<div class="bg-purple-50 p-4 rounded-lg text-center">
<div class="text-2xl font-bold text-purple-600">125M</div>
<div class="text-gray-600">مجموع پرداخت</div>
</div>
</div>
</div>
<!-- Projects Tab -->
<div id="projects" class="tab-content">
<h3 class="font-bold text-xl mb-4">پروژه‌های من</h3>
<div class="space-y-4">
<div class="border rounded-lg p-4">
<div class="flex justify-between items-start">
<div>
<h4 class="font-semibold text-lg">سایت فروشگاهی با ووکامرس</h4>
<p class="text-gray-600 mt-1">توسعه کامل سایت فروشگاهی با وردپرس</p>
<div class="flex items-center mt-2 text-sm text-gray-500">
<span class="bg-green-100 text-green-600 px-2 py-1 rounded">تکمیل شده</span>
<span class="mr-3">2,000,000 تومان</span>
</div>
</div>
<button class="text-blue-600 hover:underline">مشاهده</button>
</div>
</div>
<div class="border rounded-lg p-4">
<div class="flex justify-between items-start">
<div>
<h4 class="font-semibold text-lg">اپلیکیشن موبایل</h4>
<p class="text-gray-600 mt-1">توسله اپلیکیشن اندروید و iOS</p>
<div class="flex items-center mt-2 text-sm text-gray-500">
<span class="bg-yellow-100 text-yellow-600 px-2 py-1 rounded">در حال انجام</span>
<span class="mr-3">5,000,000 تومان</span>
</div>
</div>
<button class="text-blue-600 hover:underline">مشاهده</button>
</div>
</div>
</div>
</div>
<!-- Reviews Tab -->
<div id="reviews" class="tab-content">
<h3 class="font-bold text-xl mb-4">نظرات فریلنسرها</h3>
<div class="space-y-4">
<div class="border rounded-lg p-4">
<div class="flex items-start">
<img src="http://static.photos/people/50x50/401" alt="فریلنسر" class="w-12 h-12 rounded-full ml-4">
<div class="flex-1">
<div class="flex items-center justify-between">
<h4 class="font-semibold">سارا محمدی</h4>
<div class="flex text-yellow-500">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
</div>
</div>
<p class="text-gray-700 mt-2">کارفرمای بسیار عالی، پرداخت به موقع و ارتباط خوب.</p>
<p class="text-sm text-gray-500 mt-2">2 هفته پیش</p>
</div>
</div>
</div>
<div class="border rounded-lg p-4">
<div class="flex items-start">
<img src="http://static.photos/people/50x50/402" alt="فریلنسر" class="w-12 h-12 rounded-full ml-4">
<div class="flex-1">
<div class="flex items-center justify-between">
<h4 class="font-semibold">رضا اکبری</h4>
<div class="flex text-yellow-500">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4"></i>
</div>
</div>
<p class="text-gray-700 mt-2">پروژه با جزئیات کامل ارائه شد، کار با ایشان لذت‌بخش بود.</p>
<p class="text-sm text-gray-500 mt-2">1 ماه پیش</p>
</div>
</div>
</div>
</div>
</div>
<!-- Settings Tab -->
<div id="settings" class="tab-content">
<h3 class="font-bold text-xl mb-4">تنظیمات حساب</h3>
<div class="space-y-4">
<div>
<label class="block text-gray-700 font-semibold mb-2">نمایش پروفایل</label>
<label class="flex items-center">
<input type="checkbox" checked class="ml-2">
<span>پروفایل من برای همه قابل مشاهده باشد</span>
</label>
</div>
<div>
<label class="block text-gray-700 font-semibold mb-2">دریافت ایمیل</label>
<div class="space-y-2">
<label class="flex items-center">
<input type="checkbox" checked class="ml-2">
<span>اطلاعیه‌های پروژه جدید</span>
</label>
<label class="flex items-center">
<input type="checkbox" checked class="ml-2">
<span>پیشنهادهای جدید</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="ml-2">
<span>خبرنامه هفتگی</span>
</label>
</div>
</div>
<div>
<button class="bg-red-600 text-white px-6 py-2 rounded-lg hover:bg-red-700 transition">
حذف حساب کاربری
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12 mt-20">
<div class="max-w-7xl mx-auto px-4">
<div class="grid md:grid-cols-4 gap-8">
<div>
<h3 class="font-bold text-lg mb-4">کاریاب پیشرو</h3>
<p class="text-gray-400">پلتفرم ارتباط پروژه‌دهندگان با فریلنسرهای حرفه‌ای</p>
</div>
<div>
<h4 class="font-semibold mb-4">لینک‌های سریع</h4>
<ul class="space-y-2">
<li><a href="about.html" class="text-gray-400 hover:text-white transition">درباره ما</a></li>
<li><a href="rules.html" class="text-gray-400 hover:text-white transition">قوانین سایت</a></li>
<li><a href="blog.html" class="text-gray-400 hover:text-white transition">وبلاگ</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">خدمات</h4>
<ul class="space-y-2">
<li><a href="create-project.html" class="text-gray-400 hover:text-white transition">ثبت پروژه</a></li>
<li><a href="freelancers.html" class="text-gray-400 hover:text-white transition">پیدا کردن فریلنسر</a></li>
<li><a href="top-freelancers.html" class="text-gray-400 hover:text-white transition">فریلنسرهای برتر</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">تماس با ما</h4>
<p class="text-gray-400">info@karyab-pishro.ir</p>
<p class="text-gray-400">021-12345678</p>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2024 کاریاب پیشرو. تمامی حقوق محفوظ است.</p>
</div>
</div>
</footer>
<script>
feather.replace();
// Tab functionality
function showTab(tabName) {
// Hide all tabs
document.querySelectorAll('.tab-content').forEach(tab => {
tab.classList.remove('active');
});
// Remove active class from all buttons
document.querySelectorAll('.tab-btn').forEach(btn => {
btn.classList.remove('active');
});
// Show selected tab
document.getElementById(tabName).classList.add('active');
// Add active class to clicked button
event.target.classList.add('active');
}
</script>
</body>
</html>