Spaces:
Running
Running
<html lang="ru"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Social Rating System</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
<style> | |
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap'); | |
body { | |
font-family: 'Roboto', sans-serif; | |
background-color: #0f172a; | |
} | |
.progress-bar { | |
height: 8px; | |
border-radius: 4px; | |
background-color: #1e293b; | |
} | |
.progress-fill { | |
height: 100%; | |
border-radius: 4px; | |
background: linear-gradient(90deg, #3b82f6, #8b5cf6); | |
transition: width 0.5s ease; | |
} | |
.skill-badge { | |
transition: all 0.3s ease; | |
} | |
.skill-badge:hover { | |
transform: translateY(-2px); | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); | |
} | |
.rating-change { | |
animation: pulse 2s infinite; | |
} | |
@keyframes pulse { | |
0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); } | |
70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); } | |
100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); } | |
} | |
</style> | |
</head> | |
<body class="text-gray-200"> | |
<!-- Header --> | |
<header class="bg-gray-900 border-b border-gray-800 py-4 px-6 sticky top-0 z-50"> | |
<div class="container mx-auto flex justify-between items-center"> | |
<div class="flex items-center space-x-2"> | |
<i class="fas fa-star text-blue-500 text-2xl"></i> | |
<h1 class="text-xl font-bold">SocialRating</h1> | |
</div> | |
<nav class="hidden md:flex space-x-6"> | |
<a href="#" class="hover:text-blue-400 transition">Главная</a> | |
<a href="#" class="hover:text-blue-400 transition">Рейтинги</a> | |
<a href="#" class="hover:text-blue-400 transition">Сообщество</a> | |
<a href="#" class="hover:text-blue-400 transition">Новости</a> | |
<a href="/superchat" class="hover:text-blue-400 transition flex items-center space-x-1"> | |
<i class="fas fa-comment-dots text-blue-500"></i> | |
<span>SuperChat</span> | |
</a> | |
</nav> | |
<div class="flex items-center space-x-4"> | |
<button class="bg-blue-600 hover:bg-blue-700 px-4 py-2 rounded-md transition"> | |
Войти | |
</button> | |
<button class="md:hidden"> | |
<i class="fas fa-bars text-xl"></i> | |
</button> | |
</div> | |
</div> | |
</header> | |
<main class="container mx-auto px-4 py-8"> | |
<!-- Profile Section --> | |
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8"> | |
<!-- Left Column - Profile Card --> | |
<div class="lg:col-span-1"> | |
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden border border-gray-700"> | |
<!-- Profile Header --> | |
<div class="relative"> | |
<div class="h-32 bg-gradient-to-r from-blue-900 to-purple-900"></div> | |
<div class="absolute -bottom-16 left-6"> | |
<div class="h-32 w-32 rounded-full border-4 border-gray-800 overflow-hidden"> | |
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Profile" class="h-full w-full object-cover"> | |
</div> | |
</div> | |
</div> | |
<!-- Profile Info --> | |
<div class="pt-20 px-6 pb-6"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h2 class="text-2xl font-bold">Иван Петров</h2> | |
<p class="text-gray-400">ID: #SR-8472</p> | |
</div> | |
<div class="bg-gray-700 px-3 py-1 rounded-full flex items-center space-x-1"> | |
<i class="fas fa-crown text-yellow-400"></i> | |
<span class="font-medium">Gold Tier</span> | |
</div> | |
</div> | |
<!-- Rating --> | |
<div class="mt-6 bg-gray-900 rounded-lg p-4 border border-gray-700"> | |
<div class="flex justify-between items-center mb-2"> | |
<span class="text-gray-400">Социальный рейтинг</span> | |
<span class="text-blue-400 font-bold">+12.5%</span> | |
</div> | |
<div class="flex items-center space-x-2"> | |
<div class="text-3xl font-bold">8.7</div> | |
<div class="flex"> | |
<i class="fas fa-star text-yellow-400"></i> | |
<i class="fas fa-star text-yellow-400"></i> | |
<i class="fas fa-star text-yellow-400"></i> | |
<i class="fas fa-star text-yellow-400"></i> | |
<i class="fas fa-star-half-alt text-yellow-400"></i> | |
</div> | |
</div> | |
<div class="progress-bar mt-2"> | |
<div class="progress-fill" style="width: 87%"></div> | |
</div> | |
</div> | |
<!-- Basic Info --> | |
<div class="mt-6 space-y-4"> | |
<div class="flex items-center space-x-3"> | |
<i class="fas fa-birthday-cake text-blue-400 w-5"></i> | |
<span>28 лет</span> | |
</div> | |
<div class="flex items-center space-x-3"> | |
<i class="fas fa-venus-mars text-blue-400 w-5"></i> | |
<span>Мужской</span> | |
</div> | |
<div class="flex items-center space-x-3"> | |
<i class="fas fa-map-marker-alt text-blue-400 w-5"></i> | |
<span>Москва, Россия</span> | |
</div> | |
<div class="flex items-center space-x-3"> | |
<i class="fas fa-briefcase text-blue-400 w-5"></i> | |
<span>Программист</span> | |
</div> | |
</div> | |
<!-- Health Status --> | |
<div class="mt-6 bg-gray-900 rounded-lg p-4 border border-gray-700"> | |
<div class="flex justify-between items-center mb-2"> | |
<span class="text-gray-400">Уровень здоровья</span> | |
<span class="text-green-400 font-bold">Хорошее</span> | |
</div> | |
<div class="progress-bar mt-2"> | |
<div class="progress-fill" style="width: 78%; background: linear-gradient(90deg, #10b981, #3b82f6)"></div> | |
</div> | |
<div class="grid grid-cols-2 gap-4 mt-4"> | |
<div> | |
<div class="text-sm text-gray-400">Физическое</div> | |
<div class="progress-bar mt-1"> | |
<div class="progress-fill" style="width: 85%"></div> | |
</div> | |
</div> | |
<div> | |
<div class="text-sm text-gray-400">Психическое</div> | |
<div class="progress-bar mt-1"> | |
<div class="progress-fill" style="width: 72%"></div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Quick Actions --> | |
<div class="mt-6 bg-gray-800 rounded-xl p-6 border border-gray-700"> | |
<h3 class="text-lg font-bold mb-4">Быстрые действия</h3> | |
<div class="grid grid-cols-2 gap-3"> | |
<button class="bg-blue-600 hover:bg-blue-700 py-2 px-3 rounded-md text-sm transition flex items-center justify-center space-x-2"> | |
<i class="fas fa-plus"></i> | |
<span>Добавить</span> | |
</button> | |
<button class="bg-gray-700 hover:bg-gray-600 py-2 px-3 rounded-md text-sm transition flex items-center justify-center space-x-2"> | |
<i class="fas fa-share-alt"></i> | |
<span>Поделиться</span> | |
</button> | |
<button class="bg-gray-700 hover:bg-gray-600 py-2 px-3 rounded-md text-sm transition flex items-center justify-center space-x-2"> | |
<i class="fas fa-chart-line"></i> | |
<span>Статистика</span> | |
</button> | |
<button class="bg-gray-700 hover:bg-gray-600 py-2 px-3 rounded-md text-sm transition flex items-center justify-center space-x-2"> | |
<i class="fas fa-cog"></i> | |
<span>Настройки</span> | |
</button> | |
<button class="bg-purple-600 hover:bg-purple-700 py-2 px-3 rounded-md text-sm transition flex items-center justify-center space-x-2"> | |
<i class="fas fa-comment-dots"></i> | |
<span>SuperChat</span> | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Right Column - Main Content --> | |
<div class="lg:col-span-2 space-y-6"> | |
<!-- Rating Overview --> | |
<div class="bg-gray-800 rounded-xl p-6 border border-gray-700"> | |
<div class="flex justify-between items-center mb-6"> | |
<h2 class="text-xl font-bold">Обзор рейтинга</h2> | |
<div class="flex items-center space-x-2"> | |
<span class="text-sm text-gray-400">Обновлено сегодня</span> | |
<button class="text-blue-400 hover:text-blue-300"> | |
<i class="fas fa-sync-alt"></i> | |
</button> | |
</div> | |
</div> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
<div class="bg-gray-900 p-4 rounded-lg border border-gray-700"> | |
<div class="text-gray-400 text-sm">Профессиональный</div> | |
<div class="text-2xl font-bold mt-1">9.2</div> | |
<div class="progress-bar mt-2"> | |
<div class="progress-fill" style="width: 92%"></div> | |
</div> | |
</div> | |
<div class="bg-gray-900 p-4 rounded-lg border border-gray-700"> | |
<div class="text-gray-400 text-sm">Социальный</div> | |
<div class="text-2xl font-bold mt-1">8.1</div> | |
<div class="progress-bar mt-2"> | |
<div class="progress-fill" style="width: 81%"></div> | |
</div> | |
</div> | |
<div class="bg-gray-900 p-4 rounded-lg border border-gray-700"> | |
<div class="text-gray-400 text-sm">Гражданский</div> | |
<div class="text-2xl font-bold mt-1">8.8</div> | |
<div class="progress-bar mt-2"> | |
<div class="progress-fill" style="width: 88%"></div> | |
</div> | |
</div> | |
</div> | |
<div class="mt-6"> | |
<div class="flex justify-between items-center mb-2"> | |
<span class="text-gray-400">Прогресс за месяц</span> | |
<span class="text-green-400 font-bold">+2.3%</span> | |
</div> | |
<div class="h-40"> | |
<!-- Здесь будет график, но для простоты используем placeholder --> | |
<div class="bg-gray-900 rounded-lg h-full flex items-center justify-center text-gray-500"> | |
<i class="fas fa-chart-line text-3xl"></i> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Skills Section --> | |
<div class="bg-gray-800 rounded-xl p-6 border border-gray-700"> | |
<div class="flex justify-between items-center mb-6"> | |
<h2 class="text-xl font-bold">Навыки и компетенции</h2> | |
<button class="text-blue-400 hover:text-blue-300 text-sm flex items-center space-x-1"> | |
<i class="fas fa-plus"></i> | |
<span>Добавить</span> | |
</button> | |
</div> | |
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3"> | |
<div class="skill-badge bg-gray-900 hover:bg-gray-700 p-3 rounded-lg border border-gray-700"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<div class="font-medium">Программирование</div> | |
<div class="text-sm text-gray-400 mt-1">JavaScript, Python</div> | |
</div> | |
<div class="text-yellow-400"> | |
<i class="fas fa-star"></i> | |
<span class="text-white">4.8</span> | |
</div> | |
</div> | |
<div class="progress-bar mt-2"> | |
<div class="progress-fill" style="width: 96%"></div> | |
</div> | |
</div> | |
<div class="skill-badge bg-gray-900 hover:bg-gray-700 p-3 rounded-lg border border-gray-700"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<div class="font-medium">Иностранные языки</div> | |
<div class="text-sm text-gray-400 mt-1">Английский (C1)</div> | |
</div> | |
<div class="text-yellow-400"> | |
<i class="fas fa-star"></i> | |
<span class="text-white">4.5</span> | |
</div> | |
</div> | |
<div class="progress-bar mt-2"> | |
<div class="progress-fill" style="width: 90%"></div> | |
</div> | |
</div> | |
<div class="skill-badge bg-gray-900 hover:bg-gray-700 p-3 rounded-lg border border-gray-700"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<div class="font-medium">Лидерство</div> | |
<div class="text-sm text-gray-400 mt-1">Управление командой</div> | |
</div> | |
<div class="text-yellow-400"> | |
<i class="fas fa-star"></i> | |
<span class="text-white">4.2</span> | |
</div> | |
</div> | |
<div class="progress-bar mt-2"> | |
<div class="progress-fill" style="width: 84%"></div> | |
</div> | |
</div> | |
<div class="skill-badge bg-gray-900 hover:bg-gray-700 p-3 rounded-lg border border-gray-700"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<div class="font-medium">Финансовая грамотность</div> | |
<div class="text-sm text-gray-400 mt-1">Инвестиции, бюджет</div> | |
</div> | |
<div class="text-yellow-400"> | |
<i class="fas fa-star"></i> | |
<span class="text-white">3.9</span> | |
</div> | |
</div> | |
<div class="progress-bar mt-2"> | |
<div class="progress-fill" style="width: 78%"></div> | |
</div> | |
</div> | |
<div class="skill-badge bg-gray-900 hover:bg-gray-700 p-3 rounded-lg border border-gray-700"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<div class="font-medium">Спорт</div> | |
<div class="text-sm text-gray-400 mt-1">Бег, плавание</div> | |
</div> | |
<div class="text-yellow-400"> | |
<i class="fas fa-star"></i> | |
<span class="text-white">3.7</span> | |
</div> | |
</div> | |
<div class="progress-bar mt-2"> | |
<div class="progress-fill" style="width: 74%"></div> | |
</div> | |
</div> | |
<div class="skill-badge bg-gray-900 hover:bg-gray-700 p-3 rounded-lg border border-gray-700"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<div class="font-medium">Волонтерство</div> | |
<div class="text-sm text-gray-400 mt-1">30 часов/мес</div> | |
</div> | |
<div class="text-yellow-400"> | |
<i class="fas fa-star"></i> | |
<span class="text-white">4.0</span> | |
</div> | |
</div> | |
<div class="progress-bar mt-2"> | |
<div class="progress-fill" style="width: 80%"></div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Recent Activity --> | |
<div class="bg-gray-800 rounded-xl p-6 border border-gray-700"> | |
<div class="flex justify-between items-center mb-6"> | |
<h2 class="text-xl font-bold">Последняя активность</h2> | |
<button class="text-blue-400 hover:text-blue-300 text-sm">Смотреть все</button> | |
</div> | |
<div class="space-y-4"> | |
<div class="flex items-start space-x-3"> | |
<div class="bg-blue-900 text-blue-300 p-2 rounded-full"> | |
<i class="fas fa-medal"></i> | |
</div> | |
<div class="flex-1"> | |
<div class="font-medium">Получен новый уровень!</div> | |
<div class="text-sm text-gray-400">Gold Tier достигнут благодаря вашей активности</div> | |
<div class="text-xs text-gray-500 mt-1">2 часа назад</div> | |
</div> | |
<div class="text-green-400 font-bold">+5.0%</div> | |
</div> | |
<div class="flex items-start space-x-3"> | |
<div class="bg-purple-900 text-purple-300 p-2 rounded-full"> | |
<i class="fas fa-code"></i> | |
</div> | |
<div class="flex-1"> | |
<div class="font-medium">Навык обновлен</div> | |
<div class="text-sm text-gray-400">Программирование: +0.3 к рейтингу</div> | |
<div class="text-xs text-gray-500 mt-1">5 часов назад</div> | |
</div> | |
<div class="text-green-400 font-bold">+0.3%</div> | |
</div> | |
<div class="flex items-start space-x-3"> | |
<div class="bg-green-900 text-green-300 p-2 rounded-full"> | |
<i class="fas fa-heart"></i> | |
</div> | |
<div class="flex-1"> | |
<div class="font-medium">Медицинский чек-ап</div> | |
<div class="text-sm text-gray-400">Годовой осмотр завершен, здоровье в норме</div> | |
<div class="text-xs text-gray-500 mt-1">Вчера</div> | |
</div> | |
<div class="text-green-400 font-bold">+1.2%</div> | |
</div> | |
<div class="flex items-start space-x-3"> | |
<div class="bg-yellow-900 text-yellow-300 p-2 rounded-full"> | |
<i class="fas fa-users"></i> | |
</div> | |
<div class="flex-1"> | |
<div class="font-medium">Социальное взаимодействие</div> | |
<div class="text-sm text-gray-400">Участие в общественном мероприятии</div> | |
<div class="text-xs text-gray-500 mt-1">2 дня назад</div> | |
</div> | |
<div class="text-green-400 font-bold">+0.8%</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</main> | |
<!-- Footer --> | |
<footer class="bg-gray-900 border-t border-gray-800 py-8 px-6 mt-12"> | |
<div class="container mx-auto"> | |
<div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
<div> | |
<div class="flex items-center space-x-2 mb-4"> | |
<i class="fas fa-star text-blue-500 text-2xl"></i> | |
<h3 class="text-xl font-bold">SocialRating</h3> | |
</div> | |
<p class="text-gray-400 text-sm"> | |
Система социального рейтинга для оценки гражданских, профессиональных и социальных достижений. | |
</p> | |
</div> | |
<div> | |
<h4 class="text-lg font-medium mb-4">Навигация</h4> | |
<ul class="space-y-2 text-gray-400"> | |
<li><a href="#" class="hover:text-blue-400 transition">Главная</a></li> | |
<li><a href="#" class="hover:text-blue-400 transition">О системе</a></li> | |
<li><a href="#" class="hover:text-blue-400 transition">Рейтинги</a></li> | |
<li><a href="#" class="hover:text-blue-400 transition">FAQ</a></li> | |
<li><a href="/superchat" class="hover:text-blue-400 transition flex items-center space-x-2"> | |
<i class="fas fa-comment-dots text-blue-500"></i> | |
<span>SuperChat</span> | |
</a></li> | |
</ul> | |
</div> | |
<div> | |
<h4 class="text-lg font-medium mb-4">Ресурсы</h4> | |
<ul class="space-y-2 text-gray-400"> | |
<li><a href="#" class="hover:text-blue-400 transition">Блог</a></li> | |
<li><a href="#" class="hover:text-blue-400 transition">Документация</a></li> | |
<li><a href="#" class="hover:text-blue-400 transition">API</a></li> | |
<li><a href="#" class="hover:text-blue-400 transition">Статус</a></li> | |
</ul> | |
</div> | |
<div> | |
<h4 class="text-lg font-medium mb-4">Контакты</h4> | |
<ul class="space-y-2 text-gray-400"> | |
<li class="flex items-center space-x-2"> | |
<i class="fas fa-envelope w-4"></i> | |
<span>[email protected]</span> | |
</li> | |
<li class="flex items-center space-x-2"> | |
<i class="fas fa-phone-alt w-4"></i> | |
<span>+7 (495) 123-45-67</span> | |
</li> | |
<li class="flex items-center space-x-2"> | |
<i class="fas fa-map-marker-alt w-4"></i> | |
<span>Москва, ул. Примерная, 123</span> | |
</li> | |
</ul> | |
</div> | |
</div> | |
<div class="border-t border-gray-800 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center"> | |
<div class="text-gray-500 text-sm mb-4 md:mb-0"> | |
© 2023 SocialRating System. Все права защищены. | |
</div> | |
<div class="flex space-x-4"> | |
<a href="#" class="text-gray-400 hover:text-blue-400 transition"> | |
<i class="fab fa-facebook-f"></i> | |
</a> | |
<a href="#" class="text-gray-400 hover:text-blue-400 transition"> | |
<i class="fab fa-twitter"></i> | |
</a> | |
<a href="#" class="text-gray-400 hover:text-blue-400 transition"> | |
<i class="fab fa-instagram"></i> | |
</a> | |
<a href="#" class="text-gray-400 hover:text-blue-400 transition"> | |
<i class="fab fa-linkedin-in"></i> | |
</a> | |
</div> | |
</div> | |
</div> | |
</footer> | |
<script> | |
// Анимация для прогресс-баров при загрузке страницы | |
document.addEventListener('DOMContentLoaded', function() { | |
const progressBars = document.querySelectorAll('.progress-fill'); | |
progressBars.forEach(bar => { | |
const targetWidth = bar.style.width; | |
bar.style.width = '0'; | |
setTimeout(() => { | |
bar.style.width = targetWidth; | |
}, 100); | |
}); | |
// Имитация изменения рейтинга | |
setTimeout(() => { | |
const ratingChange = document.createElement('div'); | |
ratingChange.className = 'absolute -top-2 -right-2 bg-blue-600 text-white text-xs font-bold rounded-full h-6 w-6 flex items-center justify-center rating-change'; | |
ratingChange.textContent = '+1'; | |
document.querySelector('.relative').appendChild(ratingChange); | |
setTimeout(() => { | |
ratingChange.remove(); | |
}, 3000); | |
}, 2000); | |
}); | |
</script> | |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Alan8989/socialrating" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
</html> |