Download index.html from ARTIRBIT/artirbit: direct link, hf CLI and curl.
- Browser
- Download file 54.7 kB
-
https://huggingface.co/spaces/ARTIRBIT/artirbit/resolve/main/index.html
- Command line
-
hf download hf://spaces/ARTIRBIT/artirbit/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ARTIRBIT/artirbit/resolve/main/index.html
54.7 kB
| <!DOCTYPE html> | |
| <html lang="ru"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Артём Пономарёв | Предприниматель, трейдер, разработчик</title> | |
| <meta name="description" content="Персональный сайт Артёма Пономарёва - предпринимателя, трейдера, разработчика и нейрохудожника. Автоматизация торговли, Telegram-боты, веб-разработка и цифровое искусство."> | |
| <meta property="og:title" content="Артём Пономарёв | Предприниматель, трейдер, разработчик"> | |
| <meta property="og:description" content="Персональный сайт Артёма Пономарёва - предпринимателя, трейдера, разработчика и нейрохудожника."> | |
| <meta property="og:type" content="website"> | |
| <meta property="og:url" content="https://artemponomarev.com"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/framer-motion@10.16.4/dist/framer-motion.js"></script> | |
| <script src="https://unpkg.com/react@18/umd/react.development.js"></script> | |
| <script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script> | |
| <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | |
| <script src="https://unpkg.com/recharts@2.8.0/umd/Recharts.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .gradient-bg { | |
| background: linear-gradient(-45deg, #6e3aff, #3a4fff, #23a6d5, #23d5ab); | |
| background-size: 400% 400%; | |
| animation: gradient 15s ease infinite; | |
| } | |
| @keyframes gradient { | |
| 0% { background-position: 0% 50%; } | |
| 50% { background-position: 100% 50%; } | |
| 100% { background-position: 0% 50%; } | |
| } | |
| .dark .gradient-bg { | |
| background: linear-gradient(-45deg, #4b1d8f, #2a3a8f, #1a5276, #117864); | |
| background-size: 400% 400%; | |
| animation: gradient 15s ease infinite; | |
| } | |
| .scroll-smooth { | |
| scroll-behavior: smooth; | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .testimonial-card { | |
| transition: all 0.3s ease; | |
| } | |
| .testimonial-card:hover { | |
| transform: scale(1.03); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-white dark:bg-gray-900 text-gray-800 dark:text-gray-100 scroll-smooth"> | |
| <div id="root"> | |
| <div class="flex flex-col items-center justify-center min-h-screen bg-gray-50 dark:bg-gray-900"> | |
| <div class="animate-spin rounded-full h-16 w-16 border-t-4 border-b-4 border-indigo-600 mb-4"></div> | |
| <h1 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Загрузка приложения</h1> | |
| <p class="text-gray-600 dark:text-gray-300">Пожалуйста, подождите, идёт загрузка ресурсов...</p> | |
| <div class="mt-4 w-64 bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"> | |
| <div id="loadingBar" class="bg-indigo-600 h-2.5 rounded-full transition-all duration-500" style="width: 0%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <script type="text/babel"> | |
| const { motion, AnimatePresence } = window.Motion; | |
| const { useState, useEffect } = React; | |
| const { LineChart, Line, BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } = Recharts; | |
| const App = () => { | |
| const [darkMode, setDarkMode] = useState(false); | |
| const [activeTestimonial, setActiveTestimonial] = useState(0); | |
| const [formData, setFormData] = useState({ | |
| name: '', | |
| email: '', | |
| message: '' | |
| }); | |
| const [formSubmitted, setFormSubmitted] = useState(false); | |
| useEffect(() => { | |
| // Check for dark mode preference | |
| if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) { | |
| setDarkMode(true); | |
| } | |
| // Add dark class to body | |
| if (darkMode) { | |
| document.documentElement.classList.add('dark'); | |
| } else { | |
| document.documentElement.classList.remove('dark'); | |
| } | |
| }, [darkMode]); | |
| const toggleDarkMode = () => { | |
| setDarkMode(!darkMode); | |
| }; | |
| const handleInputChange = (e) => { | |
| const { name, value } = e.target; | |
| setFormData(prev => ({ | |
| ...prev, | |
| [name]: value | |
| })); | |
| }; | |
| const handleSubmit = (e) => { | |
| e.preventDefault(); | |
| // Here you would typically send the form data to your backend | |
| console.log('Form submitted:', formData); | |
| // For demo purposes, we'll just show a success message | |
| setFormSubmitted(true); | |
| // Reset form after 3 seconds | |
| setTimeout(() => { | |
| setFormSubmitted(false); | |
| setFormData({ | |
| name: '', | |
| email: '', | |
| message: '' | |
| }); | |
| }, 3000); | |
| }; | |
| const scrollToSection = (id) => { | |
| const element = document.getElementById(id); | |
| if (element) { | |
| element.scrollIntoView({ behavior: 'smooth' }); | |
| } | |
| }; | |
| const testimonials = [ | |
| { | |
| id: 1, | |
| name: 'Иван Петров', | |
| role: 'CEO, FinTech Startup', | |
| content: 'Артём разработал для нас торгового бота, который увеличил нашу прибыль на 35%. Профессионал своего дела!', | |
| avatar: 'https://randomuser.me/api/portraits/men/32.jpg' | |
| }, | |
| { | |
| id: 2, | |
| name: 'Елена Смирнова', | |
| role: 'Арт-директор', | |
| content: 'Портрет от ART_IRBIT стал лучшим подарком для моей мамы. Качество исполнения на высшем уровне.', | |
| avatar: 'https://randomuser.me/api/portraits/women/44.jpg' | |
| }, | |
| { | |
| id: 3, | |
| name: 'Дмитрий Иванов', | |
| role: 'Трейдер', | |
| content: 'GPT_TURBO_ROBOT - это революция в автоматической торговле. Спасибо за такой мощный инструмент!', | |
| avatar: 'https://randomuser.me/api/portraits/men/75.jpg' | |
| } | |
| ]; | |
| const projects = [ | |
| { | |
| id: 1, | |
| title: 'ART_IRBIT', | |
| description: 'Портреты на холсте по фотографии с использованием нейросетей и ручной доработки художниками.', | |
| tags: ['искусство', 'нейросети', 'портреты'], | |
| image: 'https://images.unsplash.com/photo-1579783902614-a3fb39268b5b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80' | |
| }, | |
| { | |
| id: 2, | |
| title: 'GPT_TURBO_ROBOT', | |
| description: 'Торговый ИИ-робот для MetaTrader 5, использующий современные алгоритмы машинного обучения.', | |
| tags: ['трейдинг', 'искусственный интеллект', 'MT5'], | |
| image: 'https://images.unsplash.com/photo-1620287341259-6e290c054e2e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80' | |
| }, | |
| { | |
| id: 3, | |
| title: 'AI ELEGAN', | |
| description: 'Команда онлайн-разработчиков, создающих инновационные IT-решения для бизнеса.', | |
| tags: ['разработка', 'команда', 'стартап'], | |
| image: 'https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80' | |
| }, | |
| { | |
| id: 4, | |
| title: 'Diana / Lillian AI', | |
| description: 'Цифровые персонажи и ассистенты с искусственным интеллектом для различных задач.', | |
| tags: ['искусственный интеллект', 'чат-боты', 'персонажи'], | |
| image: 'https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80' | |
| }, | |
| { | |
| id: 5, | |
| title: 'Lo-Fi & Techno Music', | |
| description: 'Авторские музыкальные треки в жанрах Lo-Fi и Techno, доступные на YouTube и стриминговых платформах.', | |
| tags: ['музыка', 'творчество', 'медиа'], | |
| image: 'https://images.unsplash.com/photo-1496293455970-f8581aae0e3b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80' | |
| } | |
| ]; | |
| const services = [ | |
| { | |
| id: 1, | |
| title: 'Автоматизация торговли', | |
| description: 'Разработка торговых ботов, стратегий и сигнал-систем для финансовых рынков.', | |
| icon: 'fa-chart-line' | |
| }, | |
| { | |
| id: 2, | |
| title: 'Telegram-боты', | |
| description: 'Создание интеллектуальных ботов для бизнеса, блогеров и интеграции с AI.', | |
| icon: 'fa-robot' | |
| }, | |
| { | |
| id: 3, | |
| title: 'Веб-приложения', | |
| description: 'Разработка современных веб-решений и IT-продуктов под ваши задачи.', | |
| icon: 'fa-globe' | |
| }, | |
| { | |
| id: 4, | |
| title: 'Искусство и дизайн', | |
| description: 'Создание портретов, цифрового искусства и креативных решений.', | |
| icon: 'fa-palette' | |
| }, | |
| { | |
| id: 5, | |
| title: 'Музыка и медиа', | |
| description: 'Производство музыкального контента и медиа-проектов.', | |
| icon: 'fa-music' | |
| }, | |
| { | |
| id: 6, | |
| title: 'Бизнес-консультации', | |
| description: 'Советы по развитию бизнеса и построению личного бренда.', | |
| icon: 'fa-lightbulb' | |
| } | |
| ]; | |
| const skills = [ | |
| { name: 'Python', icon: 'fa-brands fa-python' }, | |
| { name: 'PHP', icon: 'fa-brands fa-php' }, | |
| { name: 'FastAPI', icon: 'fa-server' }, | |
| { name: 'Ollama', icon: 'fa-brain' }, | |
| { name: 'OpenRouter', icon: 'fa-route' }, | |
| { name: 'MT5', icon: 'fa-chart-simple' } | |
| ]; | |
| const tradingData = [ | |
| { name: 'Янв', profit: 12 }, | |
| { name: 'Фев', profit: 19 }, | |
| { name: 'Мар', profit: 8 }, | |
| { name: 'Апр', profit: 15 }, | |
| { name: 'Май', profit: 22 }, | |
| { name: 'Июн', profit: 18 } | |
| ]; | |
| return ( | |
| <div className="min-h-screen"> | |
| {/* Navigation */} | |
| <nav className="fixed w-full bg-white/80 dark:bg-gray-900/80 backdrop-blur-md z-50 shadow-sm"> | |
| <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div className="flex justify-between h-16 items-center"> | |
| <div className="flex-shrink-0 flex items-center"> | |
| <span className="text-xl font-bold text-indigo-600 dark:text-indigo-400">АРТЁМ П.</span> | |
| </div> | |
| <div className="hidden md:block"> | |
| <div className="ml-10 flex items-baseline space-x-4"> | |
| <button onClick={() => scrollToSection('hero')} className="px-3 py-2 rounded-md text-sm font-medium hover:text-indigo-600 dark:hover:text-indigo-400">Главная</button> | |
| <button onClick={() => scrollToSection('about')} className="px-3 py-2 rounded-md text-sm font-medium hover:text-indigo-600 dark:hover:text-indigo-400">Обо мне</button> | |
| <button onClick={() => scrollToSection('services')} className="px-3 py-2 rounded-md text-sm font-medium hover:text-indigo-600 dark:hover:text-indigo-400">Услуги</button> | |
| <button onClick={() => scrollToSection('projects')} className="px-3 py-2 rounded-md text-sm font-medium hover:text-indigo-600 dark:hover:text-indigo-400">Проекты</button> | |
| <button onClick={() => scrollToSection('contact')} className="px-3 py-2 rounded-md text-sm font-medium hover:text-indigo-600 dark:hover:text-indigo-400">Контакты</button> | |
| </div> | |
| </div> | |
| <div className="flex items-center"> | |
| <button onClick={toggleDarkMode} className="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| {darkMode ? ( | |
| <i className="fas fa-sun text-yellow-400"></i> | |
| ) : ( | |
| <i className="fas fa-moon text-gray-600"></i> | |
| )} | |
| </button> | |
| <button className="md:hidden ml-2 p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <i className="fas fa-bars"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| {/* Hero Section */} | |
| <motion.section | |
| id="hero" | |
| initial={{ opacity: 0 }} | |
| animate={{ opacity: 1 }} | |
| transition={{ duration: 1 }} | |
| className="gradient-bg min-h-screen flex items-center justify-center pt-16" | |
| > | |
| <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20"> | |
| <div className="text-center"> | |
| <motion.h1 | |
| initial={{ y: -50, opacity: 0 }} | |
| animate={{ y: 0, opacity: 1 }} | |
| transition={{ delay: 0.2, duration: 0.8 }} | |
| className="text-4xl md:text-6xl font-bold text-white mb-6" | |
| > | |
| Привет, я Артём Пономарёв | |
| </motion.h1> | |
| <motion.p | |
| initial={{ y: -30, opacity: 0 }} | |
| animate={{ y: 0, opacity: 1 }} | |
| transition={{ delay: 0.4, duration: 0.8 }} | |
| className="text-xl md:text-2xl text-white/90 mb-10" | |
| > | |
| Предприниматель, трейдер, разработчик и нейрохудожник | |
| </motion.p> | |
| <motion.div | |
| initial={{ y: 30, opacity: 0 }} | |
| animate={{ y: 0, opacity: 1 }} | |
| transition={{ delay: 0.6, duration: 0.8 }} | |
| className="flex flex-col sm:flex-row justify-center gap-4" | |
| > | |
| <button | |
| onClick={() => scrollToSection('contact')} | |
| className="px-8 py-3 bg-white text-indigo-600 rounded-lg font-medium hover:bg-gray-100 transition duration-300 shadow-lg" | |
| > | |
| Связаться | |
| </button> | |
| <button | |
| onClick={() => scrollToSection('projects')} | |
| className="px-8 py-3 bg-transparent border-2 border-white text-white rounded-lg font-medium hover:bg-white/10 transition duration-300" | |
| > | |
| Мои проекты | |
| </button> | |
| </motion.div> | |
| </div> | |
| </div> | |
| </motion.section> | |
| {/* About Section */} | |
| <motion.section | |
| id="about" | |
| initial={{ opacity: 0 }} | |
| whileInView={{ opacity: 1 }} | |
| viewport={{ once: true }} | |
| transition={{ duration: 0.8 }} | |
| className="py-20 bg-white dark:bg-gray-900" | |
| > | |
| <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div className="text-center mb-16"> | |
| <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">Обо мне</h2> | |
| <div className="w-20 h-1 bg-indigo-600 mx-auto"></div> | |
| </div> | |
| <div className="flex flex-col lg:flex-row items-center gap-12"> | |
| <motion.div | |
| initial={{ x: -50, opacity: 0 }} | |
| whileInView={{ x: 0, opacity: 1 }} | |
| viewport={{ once: true }} | |
| transition={{ duration: 0.6 }} | |
| className="lg:w-1/3" | |
| > | |
| <div className="relative"> | |
| <img | |
| src="https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" | |
| alt="Артём Пономарёв" | |
| className="rounded-2xl shadow-xl w-full max-w-md mx-auto" | |
| /> | |
| <div className="absolute -bottom-5 -right-5 bg-indigo-600 text-white p-4 rounded-xl shadow-lg"> | |
| <i className="fas fa-lightbulb text-2xl"></i> | |
| </div> | |
| </div> | |
| </motion.div> | |
| <motion.div | |
| initial={{ x: 50, opacity: 0 }} | |
| whileInView={{ x: 0, opacity: 1 }} | |
| viewport={{ once: true }} | |
| transition={{ duration: 0.6 }} | |
| className="lg:w-2/3" | |
| > | |
| <h3 className="text-2xl font-bold text-gray-900 dark:text-white mb-6">Кто я?</h3> | |
| <p className="text-gray-600 dark:text-gray-300 mb-6"> | |
| Я многогранный специалист с опытом в различных областях - от финансовых рынков до цифрового искусства. | |
| Как предприниматель, я основал несколько успешных проектов. Как трейдер, разрабатываю автоматизированные | |
| торговые системы. Как разработчик, создаю инновационные IT-решения. И как нейрохудожник, объединяю | |
| технологии и творчество. | |
| </p> | |
| <div className="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8"> | |
| <div className="bg-gray-50 dark:bg-gray-800 p-4 rounded-xl"> | |
| <h4 className="font-semibold text-gray-900 dark:text-white mb-2">Предприниматель</h4> | |
| <p className="text-gray-600 dark:text-gray-300 text-sm"> | |
| Основатель студии ART_IRBIT, создающей портреты на холсте с использованием нейросетей. | |
| </p> | |
| </div> | |
| <div className="bg-gray-50 dark:bg-gray-800 p-4 rounded-xl"> | |
| <h4 className="font-semibold text-gray-900 dark:text-white mb-2">Разработчик</h4> | |
| <p className="text-gray-600 dark:text-gray-300 text-sm"> | |
| Автор GPT_TURBO_ROBOT и других IT-решений для бизнеса и творчества. | |
| </p> | |
| </div> | |
| <div className="bg-gray-50 dark:bg-gray-800 p-4 rounded-xl"> | |
| <h4 className="font-semibold text-gray-900 dark:text-white mb-2">Трейдер</h4> | |
| <p className="text-gray-600 dark:text-gray-300 text-sm"> | |
| Специалист по автоматизации торговли и созданию торговых стратегий. | |
| </p> | |
| </div> | |
| <div className="bg-gray-50 dark:bg-gray-800 p-4 rounded-xl"> | |
| <h4 className="font-semibold text-gray-900 dark:text-white mb-2">Нейрохудожник</h4> | |
| <p className="text-gray-600 dark:text-gray-300 text-sm"> | |
| Создатель цифрового искусства с использованием искусственного интеллекта. | |
| </p> | |
| </div> | |
| </div> | |
| <div className="mb-8"> | |
| <h4 className="font-semibold text-gray-900 dark:text-white mb-4">Мои навыки и технологии</h4> | |
| <div className="flex flex-wrap gap-4"> | |
| {skills.map((skill, index) => ( | |
| <motion.div | |
| key={index} | |
| whileHover={{ scale: 1.05 }} | |
| className="flex items-center bg-gray-100 dark:bg-gray-700 px-4 py-2 rounded-full" | |
| > | |
| <i className={`${skill.icon} mr-2 text-indigo-600 dark:text-indigo-400`}></i> | |
| <span className="text-sm font-medium">{skill.name}</span> | |
| </motion.div> | |
| ))} | |
| </div> | |
| </div> | |
| <div> | |
| <h4 className="font-semibold text-gray-900 dark:text-white mb-4">Моя торговля (пример)</h4> | |
| <div className="h-64"> | |
| <ResponsiveContainer width="100%" height="100%"> | |
| <LineChart data={tradingData}> | |
| <CartesianGrid strokeDasharray="3 3" /> | |
| <XAxis dataKey="name" /> | |
| <YAxis /> | |
| <Tooltip /> | |
| <Legend /> | |
| <Line type="monotone" dataKey="profit" stroke="#8884d8" activeDot={{ r: 8 }} /> | |
| </LineChart> | |
| </ResponsiveContainer> | |
| </div> | |
| </div> | |
| </motion.div> | |
| </div> | |
| </div> | |
| </motion.section> | |
| {/* Services Section */} | |
| <motion.section | |
| id="services" | |
| initial={{ opacity: 0 }} | |
| whileInView={{ opacity: 1 }} | |
| viewport={{ once: true }} | |
| transition={{ duration: 0.8 }} | |
| className="py-20 bg-gray-50 dark:bg-gray-800" | |
| > | |
| <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div className="text-center mb-16"> | |
| <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">Чем могу быть полезен</h2> | |
| <div className="w-20 h-1 bg-indigo-600 mx-auto"></div> | |
| </div> | |
| <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| {services.map((service, index) => ( | |
| <motion.div | |
| key={service.id} | |
| initial={{ y: 50, opacity: 0 }} | |
| whileInView={{ y: 0, opacity: 1 }} | |
| viewport={{ once: true }} | |
| transition={{ delay: index * 0.1, duration: 0.5 }} | |
| className="bg-white dark:bg-gray-700 rounded-2xl shadow-lg overflow-hidden card-hover transition-all duration-300" | |
| > | |
| <div className="p-6"> | |
| <div className="w-14 h-14 bg-indigo-100 dark:bg-indigo-900 rounded-full flex items-center justify-center mb-4"> | |
| <i className={`fas ${service.icon} text-indigo-600 dark:text-indigo-400 text-xl`}></i> | |
| </div> | |
| <h3 className="text-xl font-bold text-gray-900 dark:text-white mb-2">{service.title}</h3> | |
| <p className="text-gray-600 dark:text-gray-300">{service.description}</p> | |
| </div> | |
| </motion.div> | |
| ))} | |
| </div> | |
| </div> | |
| </motion.section> | |
| {/* Projects Section */} | |
| <motion.section | |
| id="projects" | |
| initial={{ opacity: 0 }} | |
| whileInView={{ opacity: 1 }} | |
| viewport={{ once: true }} | |
| transition={{ duration: 0.8 }} | |
| className="py-20 bg-white dark:bg-gray-900" | |
| > | |
| <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div className="text-center mb-16"> | |
| <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">Мои проекты</h2> | |
| <div className="w-20 h-1 bg-indigo-600 mx-auto"></div> | |
| </div> | |
| <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| {projects.map((project, index) => ( | |
| <motion.div | |
| key={project.id} | |
| initial={{ scale: 0.9, opacity: 0 }} | |
| whileInView={{ scale: 1, opacity: 1 }} | |
| viewport={{ once: true }} | |
| transition={{ delay: index * 0.1, duration: 0.5 }} | |
| className="bg-white dark:bg-gray-800 rounded-2xl shadow-lg overflow-hidden card-hover transition-all duration-300" | |
| > | |
| <div className="h-48 overflow-hidden"> | |
| <img | |
| src={project.image} | |
| alt={project.title} | |
| className="w-full h-full object-cover" | |
| /> | |
| </div> | |
| <div className="p-6"> | |
| <h3 className="text-xl font-bold text-gray-900 dark:text-white mb-2">{project.title}</h3> | |
| <p className="text-gray-600 dark:text-gray-300 mb-4">{project.description}</p> | |
| <div className="flex flex-wrap gap-2"> | |
| {project.tags.map((tag, tagIndex) => ( | |
| <span key={tagIndex} className="text-xs bg-indigo-100 dark:bg-indigo-900 text-indigo-800 dark:text-indigo-200 px-3 py-1 rounded-full"> | |
| {tag} | |
| </span> | |
| ))} | |
| </div> | |
| </div> | |
| </motion.div> | |
| ))} | |
| </div> | |
| </div> | |
| </motion.section> | |
| {/* Testimonials Section */} | |
| <motion.section | |
| initial={{ opacity: 0 }} | |
| whileInView={{ opacity: 1 }} | |
| viewport={{ once: true }} | |
| transition={{ duration: 0.8 }} | |
| className="py-20 bg-gray-50 dark:bg-gray-800" | |
| > | |
| <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div className="text-center mb-16"> | |
| <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">Отзывы клиентов</h2> | |
| <div className="w-20 h-1 bg-indigo-600 mx-auto"></div> | |
| </div> | |
| <div className="max-w-3xl mx-auto"> | |
| <AnimatePresence mode="wait"> | |
| <motion.div | |
| key={activeTestimonial} | |
| initial={{ opacity: 0, x: 50 }} | |
| animate={{ opacity: 1, x: 0 }} | |
| exit={{ opacity: 0, x: -50 }} | |
| transition={{ duration: 0.5 }} | |
| className="bg-white dark:bg-gray-700 rounded-2xl shadow-lg p-8 testimonial-card" | |
| > | |
| <div className="flex items-center mb-6"> | |
| <img | |
| src={testimonials[activeTestimonial].avatar} | |
| alt={testimonials[activeTestimonial].name} | |
| className="w-16 h-16 rounded-full object-cover mr-4" | |
| /> | |
| <div> | |
| <h4 className="font-bold text-gray-900 dark:text-white">{testimonials[activeTestimonial].name}</h4> | |
| <p className="text-gray-600 dark:text-gray-300 text-sm">{testimonials[activeTestimonial].role}</p> | |
| </div> | |
| </div> | |
| <p className="text-gray-700 dark:text-gray-300 italic"> | |
| "{testimonials[activeTestimonial].content}" | |
| </p> | |
| </motion.div> | |
| </AnimatePresence> | |
| <div className="flex justify-center mt-8 gap-2"> | |
| {testimonials.map((_, index) => ( | |
| <button | |
| key={index} | |
| onClick={() => setActiveTestimonial(index)} | |
| className={`w-3 h-3 rounded-full ${index === activeTestimonial ? 'bg-indigo-600' : 'bg-gray-300 dark:bg-gray-600'}`} | |
| ></button> | |
| ))} | |
| </div> | |
| </div> | |
| </div> | |
| </motion.section> | |
| {/* Contact Section */} | |
| <motion.section | |
| id="contact" | |
| initial={{ opacity: 0 }} | |
| whileInView={{ opacity: 1 }} | |
| viewport={{ once: true }} | |
| transition={{ duration: 0.8 }} | |
| className="py-20 bg-white dark:bg-gray-900" | |
| > | |
| <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div className="text-center mb-16"> | |
| <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">Свяжитесь со мной</h2> | |
| <div className="w-20 h-1 bg-indigo-600 mx-auto"></div> | |
| </div> | |
| <div className="flex flex-col lg:flex-row gap-12"> | |
| <motion.div | |
| initial={{ x: -50, opacity: 0 }} | |
| whileInView={{ x: 0, opacity: 1 }} | |
| viewport={{ once: true }} | |
| transition={{ duration: 0.6 }} | |
| className="lg:w-1/2" | |
| > | |
| <h3 className="text-2xl font-bold text-gray-900 dark:text-white mb-6">Давайте работать вместе</h3> | |
| <p className="text-gray-600 dark:text-gray-300 mb-8"> | |
| Если у вас есть проект, который вы хотите начать, или вам нужна консультация по бизнесу, | |
| трейдингу или технологиям - напишите мне. Я свяжусь с вами как можно скорее. | |
| </p> | |
| <div className="space-y-6"> | |
| <div className="flex items-center"> | |
| <div className="w-12 h-12 bg-indigo-100 dark:bg-indigo-900 rounded-full flex items-center justify-center mr-4"> | |
| <i className="fas fa-envelope text-indigo-600 dark:text-indigo-400"></i> | |
| </div> | |
| <div> | |
| <h4 className="font-semibold text-gray-900 dark:text-white">Email</h4> | |
| <a href="mailto:artem@example.com" className="text-indigo-600 dark:text-indigo-400">artem@example.com</a> | |
| </div> | |
| </div> | |
| <div className="flex items-center"> | |
| <div className="w-12 h-12 bg-indigo-100 dark:bg-indigo-900 rounded-full flex items-center justify-center mr-4"> | |
| <i className="fab fa-telegram text-indigo-600 dark:text-indigo-400"></i> | |
| </div> | |
| <div> | |
| <h4 className="font-semibold text-gray-900 dark:text-white">Telegram</h4> | |
| <a href="https://t.me/artem_ponomarev" target="_blank" rel="noopener noreferrer" className="text-indigo-600 dark:text-indigo-400">@artem_ponomarev</a> | |
| </div> | |
| </div> | |
| <div className="flex items-center"> | |
| <div className="w-12 h-12 bg-indigo-100 dark:bg-indigo-900 rounded-full flex items-center justify-center mr-4"> | |
| <i className="fab fa-instagram text-indigo-600 dark:text-indigo-400"></i> | |
| </div> | |
| <div> | |
| <h4 className="font-semibold text-gray-900 dark:text-white">Instagram</h4> | |
| <a href="https://instagram.com/artem_ponomarev" target="_blank" rel="noopener noreferrer" className="text-indigo-600 dark:text-indigo-400">@artem_ponomarev</a> | |
| </div> | |
| </div> | |
| </div> | |
| <div className="mt-12"> | |
| <h4 className="font-semibold text-gray-900 dark:text-white mb-4">QR-код для Telegram</h4> | |
| <div className="bg-white p-4 rounded-lg inline-block shadow-lg"> | |
| <img | |
| src="https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=https://t.me/artem_ponomarev" | |
| alt="Telegram QR Code" | |
| className="w-36 h-36" | |
| /> | |
| </div> | |
| </div> | |
| </motion.div> | |
| <motion.div | |
| initial={{ x: 50, opacity: 0 }} | |
| whileInView={{ x: 0, opacity: 1 }} | |
| viewport={{ once: true }} | |
| transition={{ duration: 0.6 }} | |
| className="lg:w-1/2" | |
| > | |
| <div className="bg-gray-50 dark:bg-gray-800 rounded-2xl shadow-lg p-8"> | |
| {formSubmitted ? ( | |
| <div className="text-center py-8"> | |
| <div className="w-16 h-16 bg-green-100 dark:bg-green-900 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i className="fas fa-check text-green-600 dark:text-green-400 text-2xl"></i> | |
| </div> | |
| <h3 className="text-xl font-bold text-gray-900 dark:text-white mb-2">Сообщение отправлено!</h3> | |
| <p className="text-gray-600 dark:text-gray-300">Я свяжусь с вами в ближайшее время.</p> | |
| </div> | |
| ) : ( | |
| <> | |
| <h3 className="text-xl font-bold text-gray-900 dark:text-white mb-6">Форма обратной связи</h3> | |
| <form onSubmit={handleSubmit}> | |
| <div className="mb-6"> | |
| <label htmlFor="name" className="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">Ваше имя</label> | |
| <input | |
| type="text" | |
| id="name" | |
| name="name" | |
| value={formData.name} | |
| onChange={handleInputChange} | |
| className="w-full px-4 py-3 rounded-lg border border-gray-300 dark:border-gray-600 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 dark:bg-gray-700 dark:text-white" | |
| required | |
| /> | |
| </div> | |
| <div className="mb-6"> | |
| <label htmlFor="email" className="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">Email</label> | |
| <input | |
| type="email" | |
| id="email" | |
| name="email" | |
| value={formData.email} | |
| onChange={handleInputChange} | |
| className="w-full px-4 py-3 rounded-lg border border-gray-300 dark:border-gray-600 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 dark:bg-gray-700 dark:text-white" | |
| required | |
| /> | |
| </div> | |
| <div className="mb-6"> | |
| <label htmlFor="message" className="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">Сообщение</label> | |
| <textarea | |
| id="message" | |
| name="message" | |
| rows="5" | |
| value={formData.message} | |
| onChange={handleInputChange} | |
| className="w-full px-4 py-3 rounded-lg border border-gray-300 dark:border-gray-600 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 dark:bg-gray-700 dark:text-white" | |
| required | |
| ></textarea> | |
| </div> | |
| <button | |
| type="submit" | |
| className="w-full bg-indigo-600 hover:bg-indigo-700 text-white font-medium py-3 px-6 rounded-lg transition duration-300" | |
| > | |
| Отправить сообщение | |
| </button> | |
| </form> | |
| </> | |
| )} | |
| </div> | |
| </motion.div> | |
| </div> | |
| </div> | |
| </motion.section> | |
| {/* Footer */} | |
| <footer className="bg-gray-900 text-white py-12"> | |
| <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div className="flex flex-col md:flex-row justify-between items-center"> | |
| <div className="mb-6 md:mb-0"> | |
| <span className="text-xl font-bold text-indigo-400">АРТЁМ П.</span> | |
| <p className="mt-2 text-gray-400">Предприниматель, трейдер, разработчик и нейрохудожник</p> | |
| </div> | |
| <div className="flex space-x-6"> | |
| <a href="https://t.me/artem_ponomarev" target="_blank" rel="noopener noreferrer" className="text-gray-400 hover:text-white"> | |
| <i className="fab fa-telegram text-xl"></i> | |
| </a> | |
| <a href="https://instagram.com/artem_ponomarev" target="_blank" rel="noopener noreferrer" className="text-gray-400 hover:text-white"> | |
| <i className="fab fa-instagram text-xl"></i> | |
| </a> | |
| <a href="mailto:artem@example.com" className="text-gray-400 hover:text-white"> | |
| <i className="fas fa-envelope text-xl"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div className="mt-8 pt-8 border-t border-gray-800 text-center text-gray-400 text-sm"> | |
| <p>© {new Date().getFullYear()} Артём Пономарёв. Все права защищены.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| </div> | |
| ); | |
| }; | |
| const rootElement = document.getElementById('root'); | |
| // Set timeout for loading failure | |
| // Simulate loading progress | |
| const loadingBar = document.getElementById('loadingBar'); | |
| let progress = 0; | |
| const progressInterval = setInterval(() => { | |
| progress += Math.random() * 10; | |
| if (progress > 90) progress = 90; // Cap at 90% until fully loaded | |
| loadingBar.style.width = `${progress}%`; | |
| }, 500); | |
| const loadingTimeout = setTimeout(() => { | |
| const loadingElement = rootElement.querySelector('.animate-spin'); | |
| if (loadingElement) { | |
| loadingElement.innerHTML = ` | |
| <div class="text-center"> | |
| <i class="fas fa-exclamation-triangle text-yellow-500 text-4xl mb-4"></i> | |
| <h2 class="text-xl font-bold text-gray-800 dark:text-white">Медленное соединение</h2> | |
| <p class="text-gray-600 dark:text-gray-300 mb-4">Загрузка идет медленнее чем обычно. Пожалуйста, подождите...</p> | |
| <div class="w-64 bg-gray-200 rounded-full h-2.5 dark:bg-gray-700 mx-auto"> | |
| <div class="bg-indigo-600 h-2.5 rounded-full animate-pulse" style="width: 100%"></div> | |
| </div> | |
| </div> | |
| `; | |
| } | |
| }, 15000); // 15 seconds timeout for slow connections | |
| try { | |
| // Remove fallback content before React render | |
| while (rootElement.firstChild) { | |
| rootElement.removeChild(rootElement.firstChild); | |
| } | |
| ReactDOM.createRoot(rootElement).render(<App />); | |
| clearTimeout(loadingTimeout); | |
| clearInterval(progressInterval); | |
| } catch (error) { | |
| console.error('Ошибка загрузки приложения:', error); | |
| rootElement.innerHTML = ` | |
| <div class="flex flex-col items-center justify-center min-h-screen bg-gray-50 dark:bg-gray-900 p-6"> | |
| <i class="fas fa-exclamation-circle text-red-500 text-5xl mb-4"></i> | |
| <h1 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Ошибка загрузки</h1> | |
| <p class="text-gray-600 dark:text-gray-300 mb-4 text-center">${error.message}</p> | |
| <button onclick="window.location.reload()" class="px-4 py-2 bg-indigo-600 text-white rounded hover:bg-indigo-700"> | |
| Попробовать снова | |
| </button> | |
| </div> | |
| `; | |
| clearTimeout(loadingTimeout); | |
| } | |
| </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=ARTIRBIT/artirbit" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |