Spaces:
Running
Running
File size: 6,690 Bytes
67486c5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | <!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>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<link href="https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css" rel="stylesheet">
<style>
body { font-family: 'Vazir', sans-serif; }
.rtl { direction: rtl; }
</style>
</head>
<body class="bg-gray-50 font-vazir rtl">
<nav class="bg-white shadow-sm border-b border-gray-200">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center h-16">
<div class="flex items-center">
<div class="flex-shrink-0">
<h1 class="text-xl font-bold text-gray-900">پارسگوی 🧠</h1>
</div>
<div class="hidden md:block mr-8">
<div class="flex items-baseline space-x-4 space-x-reverse">
<a href="/" class="text-gray-500 hover:text-primary-600 px-3 py-2 rounded-md text-sm font-medium">چت</a>
<a href="/history.html" class="text-gray-500 hover:text-primary-600 px-3 py-2 rounded-md text-sm font-medium">تاریخچه</a>
<a href="/personas.html" class="text-gray-500 hover:text-primary-600 px-3 py-2 rounded-md text-sm font-medium">شخصیتها</a>
<a href="/profile.html" class="text-gray-900 hover:text-primary-600 px-3 py-2 rounded-md text-sm font-medium">پروفایل</a>
</div>
</div>
</div>
</div>
</div>
</nav>
<div class="max-w-4xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
<div class="bg-white rounded-lg shadow-sm p-6">
<h2 class="text-2xl font-bold text-gray-900 mb-6">پروفایل کاربری</h2>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<!-- Profile Info -->
<div class="lg:col-span-2 space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">نام</label>
<input type="text" value="کاربر نمونه" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-transparent">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">ایمیل</label>
<input type="email" value="user@example.com" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-transparent">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">شماره تلفن</label>
<input type="tel" value="+98 912 345 6789" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-transparent">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">زبان</label>
<select class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-transparent">
<option selected>فارسی</option>
<option>انگلیسی</option>
</select>
</div>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">بیوگرافی</label>
<textarea class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-transparent" rows="3">علاقهمند به تکنولوژی و هوش مصنوعی</textarea>
</div>
<div class="flex space-x-3 space-x-reverse">
<button class="bg-primary-500 hover:bg-primary-600 text-white px-6 py-2 rounded-lg transition-colors">
ذخیره تغییرات
</button>
</div>
</div>
<!-- Stats Sidebar -->
<div class="space-y-6">
<div class="bg-gray-50 rounded-lg p-4">
<h3 class="font-semibold text-gray-900 mb-4">آمار استفاده</h3>
<div class="space-y-3">
<div class="flex justify-between items-center">
<span class="text-sm text-gray-600">تعداد مکالمات</span>
<span class="font-semibold">۴۷</span>
</div>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-600">مجموع پیامها</span>
<span class="font-semibold">۱,۲۳۴</span>
</div>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-600">اعضا از</span>
<span class="font-semibold">۱۴۰۲/۰۱/۱۵</span>
</div>
</div>
</div>
<div class="bg-gray-50 rounded-lg p-4">
<h3 class="font-semibold text-gray-900 mb-4">تنظیمات</h3>
<div class="space-y-2">
<label class="flex items-center space-x-2 space-x-reverse">
<input type="checkbox" class="rounded border-gray-300 text-primary-600 focus:ring-primary-500">
<span class="text-sm text-gray-600">فعال کردن گفتار</span>
</label>
<label class="flex items-center space-x-2 space-x-reverse">
<input type="checkbox" checked class="rounded border-gray-300 text-primary-600 focus:ring-primary-500">
<span class="text-sm text-gray-600">اعلانها</span>
</label>
</div>
</div>
</div>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html> |