olppara / index.html
Olppara's picture
Add 2 files
6970700 verified
<!DOCTYPE html>
<html lang="uk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Вступ до веб-дизайну та основи UX/UI</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>
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.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);
}
.smooth-transition {
transition: all 0.3s ease;
}
.hero-pattern {
background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
background-size: 20px 20px;
}
.text-stroke {
-webkit-text-stroke: 1px white;
color: transparent;
}
</style>
</head>
<body class="font-sans bg-gray-50">
<!-- Navigation -->
<nav class="gradient-bg text-white shadow-lg sticky top-0 z-50">
<div class="container mx-auto px-6 py-3 flex justify-between items-center">
<a href="#" class="text-2xl font-bold flex items-center">
<i class="fas fa-paint-brush mr-2"></i>
<span>WebDesign<span class="text-yellow-300">Pro</span></span>
</a>
<div class="hidden md:flex space-x-8">
<a href="#basics" class="hover:text-yellow-200 smooth-transition">Основи</a>
<a href="#ux-ui" class="hover:text-yellow-200 smooth-transition">UX/UI</a>
<a href="#tools" class="hover:text-yellow-200 smooth-transition">Інструменти</a>
<a href="#resources" class="hover:text-yellow-200 smooth-transition">Ресурси</a>
</div>
<button class="md:hidden focus:outline-none" id="menu-btn">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
<!-- Mobile menu -->
<div class="md:hidden hidden bg-indigo-800 px-6 py-2" id="mobile-menu">
<div class="flex flex-col space-y-3">
<a href="#basics" class="hover:text-yellow-200 smooth-transition">Основи</a>
<a href="#ux-ui" class="hover:text-yellow-200 smooth-transition">UX/UI</a>
<a href="#tools" class="hover:text-yellow-200 smooth-transition">Інструменти</a>
<a href="#resources" class="hover:text-yellow-200 smooth-transition">Ресурси</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="gradient-bg hero-pattern text-white py-20">
<div class="container mx-auto px-6 text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6">Вступ до веб-дизайну</h1>
<p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto">Опануйте основи створення сучасних веб-сайтів та принципи UX/UI дизайну</p>
<div class="flex flex-col md:flex-row justify-center space-y-4 md:space-y-0 md:space-x-4">
<a href="#basics" class="bg-white text-indigo-700 px-8 py-3 rounded-full font-semibold hover:bg-gray-100 smooth-transition">
Почати навчання <i class="fas fa-arrow-down ml-2"></i>
</a>
<a href="#resources" class="border-2 border-white px-8 py-3 rounded-full font-semibold hover:bg-white hover:text-indigo-700 smooth-transition">
Ресурси <i class="fas fa-book-open ml-2"></i>
</a>
</div>
</div>
</section>
<!-- Basics Section -->
<section id="basics" class="py-16 bg-white">
<div class="container mx-auto px-6">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Основи веб-дизайну</h2>
<div class="grid md:grid-cols-3 gap-8">
<!-- Card 1 -->
<div class="bg-gray-50 rounded-xl p-6 shadow-md card-hover smooth-transition">
<div class="text-indigo-600 text-4xl mb-4">
<i class="fas fa-code"></i>
</div>
<h3 class="text-xl font-semibold mb-3 text-gray-800">HTML & CSS</h3>
<p class="text-gray-600">Фундаментальні технології для створення структури та стилізації веб-сторінок. HTML визначає зміст, а CSS відповідає за візуальне представлення.</p>
</div>
<!-- Card 2 -->
<div class="bg-gray-50 rounded-xl p-6 shadow-md card-hover smooth-transition">
<div class="text-indigo-600 text-4xl mb-4">
<i class="fas fa-mobile-alt"></i>
</div>
<h3 class="text-xl font-semibold mb-3 text-gray-800">Адаптивний дизайн</h3>
<p class="text-gray-600">Створення веб-сайтів, які коректно відображаються на пристроях з різними розмірами екранів за допомогою медіа-запитів та гнучких макетів.</p>
</div>
<!-- Card 3 -->
<div class="bg-gray-50 rounded-xl p-6 shadow-md card-hover smooth-transition">
<div class="text-indigo-600 text-4xl mb-4">
<i class="fas fa-palette"></i>
</div>
<h3 class="text-xl font-semibold mb-3 text-gray-800">Кольори та типографіка</h3>
<p class="text-gray-600">Правильний підбір кольорової палітри та шрифтів для створення гармонійного та читабельного інтерфейсу.</p>
</div>
</div>
<div class="mt-12 bg-indigo-50 rounded-xl p-8">
<h3 class="text-2xl font-semibold mb-4 text-indigo-800">Принципи гарного дизайну</h3>
<ul class="grid md:grid-cols-2 gap-4">
<li class="flex items-start">
<i class="fas fa-check-circle text-indigo-600 mt-1 mr-3"></i>
<span class="text-gray-700">Контраст - виділення важливих елементів</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-indigo-600 mt-1 mr-3"></i>
<span class="text-gray-700">Повторення - створення єдності дизайну</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-indigo-600 mt-1 mr-3"></i>
<span class="text-gray-700">Вирівнювання - організація елементів</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-indigo-600 mt-1 mr-3"></i>
<span class="text-gray-700">Близькість - групування пов'язаних елементів</span>
</li>
</ul>
</div>
</div>
</section>
<!-- UX/UI Section -->
<section id="ux-ui" class="py-16 bg-gray-100">
<div class="container mx-auto px-6">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Основи UX/UI дизайну</h2>
<div class="flex flex-col md:flex-row items-center mb-12">
<div class="md:w-1/2 mb-8 md:mb-0 md:pr-8">
<h3 class="text-2xl font-semibold mb-4 text-indigo-700">Що таке UX (User Experience)?</h3>
<p class="text-gray-700 mb-4">User Experience - це все, що стосується взаємодії користувача з продуктом. Головна мета - створити зручний, інтуїтивно зрозумілий та ефективний інтерфейс.</p>
<p class="text-gray-700">Основний принцип UX: "Дизайн повинен вирішувати проблеми користувача".</p>
</div>
<div class="md:w-1/2 bg-white p-6 rounded-xl shadow-md">
<h4 class="font-semibold text-lg mb-3 text-gray-800">Етапи UX-дизайну:</h4>
<ol class="space-y-3">
<li class="flex items-start">
<span class="bg-indigo-600 text-white rounded-full w-6 h-6 flex items-center justify-center mr-3">1</span>
<span class="text-gray-700">Дослідження користувачів та їхніх потреб</span>
</li>
<li class="flex items-start">
<span class="bg-indigo-600 text-white rounded-full w-6 h-6 flex items-center justify-center mr-3">2</span>
<span class="text-gray-700">Створення персонажів (user personas)</span>
</li>
<li class="flex items-start">
<span class="bg-indigo-600 text-white rounded-full w-6 h-6 flex items-center justify-center mr-3">3</span>
<span class="text-gray-700">Розробка інформаційної архітектури</span>
</li>
<li class="flex items-start">
<span class="bg-indigo-600 text-white rounded-full w-6 h-6 flex items-center justify-center mr-3">4</span>
<span class="text-gray-700">Прототипування та тестування</span>
</li>
</ol>
</div>
</div>
<div class="flex flex-col md:flex-row-reverse items-center">
<div class="md:w-1/2 mb-8 md:mb-0 md:pl-8">
<h3 class="text-2xl font-semibold mb-4 text-indigo-700">Що таке UI (User Interface)?</h3>
<p class="text-gray-700 mb-4">User Interface - це візуальна частина продукту, з якою взаємодіє користувач. UI включає кнопки, іконки, кольори, шрифти, анімації та інші візуальні елементи.</p>
<p class="text-gray-700">Головна мета UI - створити привабливий та зручний інтерфейс, який відповідає принципам UX.</p>
</div>
<div class="md:w-1/2 bg-white p-6 rounded-xl shadow-md">
<h4 class="font-semibold text-lg mb-3 text-gray-800">Ключові принципи UI-дизайну:</h4>
<div class="grid grid-cols-2 gap-4">
<div class="bg-indigo-50 p-3 rounded-lg">
<i class="fas fa-eye text-indigo-600 mb-2"></i>
<p class="text-gray-700 font-medium">Чіткість</p>
</div>
<div class="bg-indigo-50 p-3 rounded-lg">
<i class="fas fa-layer-group text-indigo-600 mb-2"></i>
<p class="text-gray-700 font-medium">Ієрархія</p>
</div>
<div class="bg-indigo-50 p-3 rounded-lg">
<i class="fas fa-tint text-indigo-600 mb-2"></i>
<p class="text-gray-700 font-medium">Консистентність</p>
</div>
<div class="bg-indigo-50 p-3 rounded-lg">
<i class="fas fa-mouse-pointer text-indigo-600 mb-2"></i>
<p class="text-gray-700 font-medium">Зворотний зв'язок</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Tools Section -->
<section id="tools" class="py-16 bg-white">
<div class="container mx-auto px-6">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Інструменти веб-дизайну</h2>
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Tool 1 -->
<div class="bg-gray-50 rounded-xl p-6 shadow-sm hover:shadow-md smooth-transition">
<div class="flex justify-center mb-4">
<img src="https://upload.wikimedia.org/wikipedia/commons/9/9a/Figma-1-logo.png" alt="Figma" class="h-16">
</div>
<h3 class="text-xl font-semibold text-center mb-2 text-gray-800">Figma</h3>
<p class="text-gray-600 text-center">Популярний інструмент для створення інтерфейсів з можливістю спільної роботи в реальному часі.</p>
</div>
<!-- Tool 2 -->
<div class="bg-gray-50 rounded-xl p-6 shadow-sm hover:shadow-md smooth-transition">
<div class="flex justify-center mb-4">
<img src="https://upload.wikimedia.org/wikipedia/commons/6/6b/Adobe_Photoshop_CC_icon.png" alt="Photoshop" class="h-16">
</div>
<h3 class="text-xl font-semibold text-center mb-2 text-gray-800">Adobe Photoshop</h3>
<p class="text-gray-600 text-center">Потужний графічний редактор для створення та обробки зображень для веб-дизайну.</p>
</div>
<!-- Tool 3 -->
<div class="bg-gray-50 rounded-xl p-6 shadow-sm hover:shadow-md smooth-transition">
<div class="flex justify-center mb-4">
<img src="https://upload.wikimedia.org/wikipedia/commons/9/9d/Adobe_XD_CC_icon.svg" alt="Adobe XD" class="h-16">
</div>
<h3 class="text-xl font-semibold text-center mb-2 text-gray-800">Adobe XD</h3>
<p class="text-gray-600 text-center">Спеціалізований інструмент для проектування користувацьких інтерфейсів та прототипування.</p>
</div>
<!-- Tool 4 -->
<div class="bg-gray-50 rounded-xl p-6 shadow-sm hover:shadow-md smooth-transition">
<div class="flex justify-center mb-4">
<img src="https://upload.wikimedia.org/wikipedia/commons/d/d5/Sketch_Logo.svg" alt="Sketch" class="h-16">
</div>
<h3 class="text-xl font-semibold text-center mb-2 text-gray-800">Sketch</h3>
<p class="text-gray-600 text-center">Інструмент для векторного дизайну, популярний серед дизайнерів інтерфейсів на macOS.</p>
</div>
</div>
<div class="mt-12 bg-gradient-to-r from-indigo-500 to-purple-600 rounded-xl p-8 text-white">
<h3 class="text-2xl font-semibold mb-4">Кодовий редактори</h3>
<p class="mb-6">Для безпосередньої реалізації дизайну у вигляді коду існує багато потужних редакторів:</p>
<div class="grid md:grid-cols-3 gap-6">
<div class="bg-white bg-opacity-10 p-4 rounded-lg backdrop-filter backdrop-blur-sm">
<div class="flex items-center mb-2">
<i class="fab fa-microsoft text-2xl mr-3"></i>
<h4 class="text-lg font-medium">VS Code</h4>
</div>
<p class="text-sm opacity-90">Безкоштовний редактор коду від Microsoft з великою кількістю розширень.</p>
</div>
<div class="bg-white bg-opacity-10 p-4 rounded-lg backdrop-filter backdrop-blur-sm">
<div class="flex items-center mb-2">
<i class="fab fa-js-square text-2xl mr-3"></i>
<h4 class="text-lg font-medium">WebStorm</h4>
</div>
<p class="text-sm opacity-90">Потужне IDE для веб-розробки від JetBrains з підтримкою JavaScript.</p>
</div>
<div class="bg-white bg-opacity-10 p-4 rounded-lg backdrop-filter backdrop-blur-sm">
<div class="flex items-center mb-2">
<i class="fas fa-code text-2xl mr-3"></i>
<h4 class="text-lg font-medium">Sublime Text</h4>
</div>
<p class="text-sm opacity-90">Швидкий та легкий текстовий редактор з підтримкою плагінів.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Resources Section -->
<section id="resources" class="py-16 bg-gray-100">
<div class="container mx-auto px-6">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Корисні ресурси</h2>
<div class="grid md:grid-cols-2 gap-8">
<!-- Online Courses -->
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="gradient-bg p-4 text-white">
<h3 class="text-xl font-semibold flex items-center">
<i class="fas fa-graduation-cap mr-3"></i> Онлайн-курси
</h3>
</div>
<div class="p-6">
<ul class="space-y-4">
<li>
<a href="#" class="flex items-center text-indigo-600 hover:text-indigo-800">
<i class="fas fa-external-link-alt mr-3"></i>
<span>Udemy: Веб-дизайн від А до Я</span>
</a>
</li>
<li>
<a href="#" class="flex items-center text-indigo-600 hover:text-indigo-800">
<i class="fas fa-external-link-alt mr-3"></i>
<span>Coursera: Interaction Design Specialization</span>
</a>
</li>
<li>
<a href="#" class="flex items-center text-indigo-600 hover:text-indigo-800">
<i class="fas fa-external-link-alt mr-3"></i>
<span>Prometheus: Основи веб-розробки</span>
</a>
</li>
</ul>
</div>
</div>
<!-- Books -->
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="gradient-bg p-4 text-white">
<h3 class="text-xl font-semibold flex items-center">
<i class="fas fa-book mr-3"></i> Книги
</h3>
</div>
<div class="p-6">
<ul class="space-y-4">
<li>
<div class="flex items-start">
<i class="fas fa-book-open text-indigo-600 mt-1 mr-3"></i>
<div>
<p class="font-medium">"Не змушуйте мене думати" - С. Круг</p>
<p class="text-sm text-gray-600">Класика UX-дизайну</p>
</div>
</div>
</li>
<li>
<div class="flex items-start">
<i class="fas fa-book-open text-indigo-600 mt-1 mr-3"></i>
<div>
<p class="font-medium">"Дизайн повсякденних речей" - Д. Норман</p>
<p class="text-sm text-gray-600">Принципи дизайну для користувачів</p>
</div>
</div>
</li>
<li>
<div class="flex items-start">
<i class="fas fa-book-open text-indigo-600 mt-1 mr-3"></i>
<div>
<p class="font-medium">"HTML and CSS: Design and Build Websites" - Дж. Дакетт</p>
<p class="text-sm text-gray-600">Основи веб-дизайну</p>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
<!-- Inspiration -->
<div class="mt-8 bg-white rounded-xl shadow-md overflow-hidden">
<div class="gradient-bg p-4 text-white">
<h3 class="text-xl font-semibold flex items-center">
<i class="fas fa-lightbulb mr-3"></i> Для натхнення
</h3>
</div>
<div class="p-6">
<div class="grid md:grid-cols-3 gap-6">
<div class="group">
<a href="#" class="block">
<div class="h-40 bg-gray-200 rounded-lg mb-3 overflow-hidden relative">
<div class="absolute inset-0 bg-indigo-600 opacity-0 group-hover:opacity-20 smooth-transition"></div>
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-palette text-4xl text-gray-400 group-hover:text-indigo-500 smooth-transition"></i>
</div>
</div>
<h4 class="font-medium group-hover:text-indigo-600 smooth-transition">Dribbble</h4>
<p class="text-sm text-gray-600">Кращі роботи дизайнерів з усього світу</p>
</a>
</div>
<div class="group">
<a href="#" class="block">
<div class="h-40 bg-gray-200 rounded-lg mb-3 overflow-hidden relative">
<div class="absolute inset-0 bg-indigo-600 opacity-0 group-hover:opacity-20 smooth-transition"></div>
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-mobile-alt text-4xl text-gray-400 group-hover:text-indigo-500 smooth-transition"></i>
</div>
</div>
<h4 class="font-medium group-hover:text-indigo-600 smooth-transition">Awwwards</h4>
<p class="text-sm text-gray-600">Найкращі веб-сайти за версією професіоналів</p>
</a>
</div>
<div class="group">
<a href="#" class="block">
<div class="h-40 bg-gray-200 rounded-lg mb-3 overflow-hidden relative">
<div class="absolute inset-0 bg-indigo-600 opacity-0 group-hover:opacity-20 smooth-transition"></div>
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-laptop-code text-4xl text-gray-400 group-hover:text-indigo-500 smooth-transition"></i>
</div>
</div>
<h4 class="font-medium group-hover:text-indigo-600 smooth-transition">Behance</h4>
<p class="text-sm text-gray-600">Портфоліо дизайнерів та творчі проекти</p>
</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section class="py-16 bg-white">
<div class="container mx-auto px-6">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Поширені запитання</h2>
<div class="max-w-3xl mx-auto">
<!-- FAQ Item 1 -->
<div class="mb-6 border-b border-gray-200 pb-6">
<button class="faq-btn flex justify-between items-center w-full text-left focus:outline-none" data-target="faq1">
<h3 class="text-xl font-semibold text-gray-800">Чим відрізняється веб-дизайн від веб-розробки?</h3>
<i class="fas fa-chevron-down text-indigo-600 smooth-transition"></i>
</button>
<div class="faq-content mt-4 text-gray-600 hidden" id="faq1">
<p>Веб-дизайн зосереджений на візуальній та користувацькій частині сайту (як він виглядає та як ним користуватися), тоді як веб-розробка включає технічну реалізацію дизайну за допомогою коду (HTML, CSS, JavaScript та інших технологій). Дизайнер створює макети та інтерфейси, а розробник перетворює їх на функціонуючий веб-сайт.</p>
</div>
</div>
<!-- FAQ Item 2 -->
<div class="mb-6 border-b border-gray-200 pb-6">
<button class="faq-btn flex justify-between items-center w-full text-left focus:outline-none" data-target="faq2">
<h3 class="text-xl font-semibold text-gray-800">Які навички необхідні для початку в веб-дизайні?</h3>
<i class="fas fa-chevron-down text-indigo-600 smooth-transition"></i>
</button>
<div class="faq-content mt-4 text-gray-600 hidden" id="faq2">
<ul class="list-disc pl-5 space-y-2">
<li>Розуміння основ графічного дизайну (кольори, композиція, типографіка)</li>
<li>Знання принципів UX (дослідження користувачів, інформаційна архітектура)</li>
<li>Вміння працювати з інструментами дизайну (Figma, Adobe XD, Photoshop)</li>
<li>Базові знання HTML та CSS для кращого розуміння технічних обмежень</li>
<li>Навички комунікації для ефективної роботи з клієнтами та командою</li>
</ul>
</div>
</div>
<!-- FAQ Item 3 -->
<div class="mb-6 border-b border-gray-200 pb-6">
<button class="faq-btn flex justify-between items-center w-full text-left focus:outline-none" data-target="faq3">
<h3 class="text-xl font-semibold text-gray-800">Чи можна стати веб-дизайнером без художньої освіти?</h3>
<i class="fas fa-chevron-down text-indigo-600 smooth-transition"></i>
</button>
<div class="faq-content mt-4 text-gray-600 hidden" id="faq3">
<p>Так, це цілком можливо. Хоча художня освіта може бути корисною, сучасний веб-дизайн більше орієнтований на логіку, користувацький досвід та технічні навички, ніж на традиційні художні вміння. Багато успішних дизайнерів починали як самоучки, вивчаючи професію через онлайн-курси, книги та практику.</p>
</div>
</div>
<!-- FAQ Item 4 -->
<div class="mb-6">
<button class="faq-btn flex justify-between items-center w-full text-left focus:outline-none" data-target="faq4">
<h3 class="text-xl font-semibold text-gray-800">Як довго потрібно вчитися, щоб стати веб-дизайнером?</h3>
<i class="fas fa-chevron-down text-indigo-600 smooth-transition"></i>
</button>
<div class="faq-content mt-4 text-gray-600 hidden" id="faq4">
<p>Термін навчання залежить від інтенсивності та попереднього досвіду. В середньому:</p>
<ul class="list-disc pl-5 space-y-2 mt-2">
<li><strong>3-6 місяців:</strong> для освоєння базових навичок та створення перших простих проектів</li>
<li><strong>6-12 місяців:</strong> для глибшого вивчення UX/UI та створення більш складних робіт</li>
<li><strong>1-2 роки:</strong> для досягнення професійного рівня та створення повноцінного портфоліо</li>
</ul>
<p class="mt-3">Важливо пам'ятати, що навчання в дизайні ніколи не припиняється - потрібно постійно стежити за трендами та вдосконалювати свої навички.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="gradient-bg text-white py-12">
<div class="container mx-auto px-6 text-center">
<h2 class="text-3xl font-bold mb-6">Підпишіться на наші оновлення</h2>
<p class="text-xl mb-8 max-w-2xl mx-auto">Отримуйте останні новини про веб-дизайн, корисні поради та інформацію про нові курси прямо на вашу електронну пошту.</p>
<form class="max-w-md mx-auto flex flex-col md:flex-row gap-3">
<input type="email" placeholder="Ваша електронна пошта" class="flex-grow px-4 py-3 rounded-full text-gray-800 focus:outline-none focus:ring-2 focus:ring-yellow-300">
<button type="submit" class="bg-yellow-400 text-gray-900 px-6 py-3 rounded-full font-semibold hover:bg-yellow-300 smooth-transition">
Підписатися <i class="fas fa-paper-plane ml-2"></i>
</button>
</form>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-8">
<div class="container mx-auto px-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-6 md:mb-0">
<a href="#" class="text-2xl font-bold flex items-center">
<i class="fas fa-paint-brush mr-2 text-indigo-400"></i>
<span>WebDesign<span class="text-yellow-300">Pro</span></span>
</a>
<p class="mt-2 text-gray-400">Навчаємо веб-дизайну з 2023 року</p>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white smooth-transition text-xl">
<i class="fab fa-facebook"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white smooth-transition text-xl">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white smooth-transition text-xl">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white smooth-transition text-xl">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2023 WebDesignPro. Всі права захищені.</p>
</div>
</div>
</footer>
<!-- Back to Top Button -->
<button id="back-to-top" class="fixed bottom-6 right-6 bg-indigo-600 text-white w-12 h-12 rounded-full shadow-lg flex items-center justify-center hidden">
<i class="fas fa-arrow-up"></i>
</button>
<script>
// Mobile menu toggle
const menuBtn = document.getElementById('menu-btn');
const mobileMenu = document.getElementById('mobile-menu');
menuBtn.addEventListener('click', () => {
mobileMenu.classList.toggle('hidden');
});
// FAQ accordion
const faqBtns = document.querySelectorAll('.faq-btn');
faqBtns.forEach(btn => {
btn.addEventListener('click', () => {
const target = btn.getAttribute('data-target');
const content = document.getElementById(target);
const icon = btn.querySelector('i');
content.classList.toggle('hidden');
icon.classList.toggle('fa-chevron-down');
icon.classList.toggle('fa-chevron-up');
});
});
// Back to top button
const backToTopBtn = document.getElementById('back-to-top');
window.addEventListener('scroll', () => {
if (window.pageYOffset > 300) {
backToTopBtn.classList.remove('hidden');
} else {
backToTopBtn.classList.add('hidden');
}
});
backToTopBtn.addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
// Smooth scrolling for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const targetId = this.getAttribute('href');
if (targetId === '#') return;
const targetElement = document.querySelector(targetId);
if (targetElement) {
window.scrollTo({
top: targetElement.offsetTop - 80,
behavior: 'smooth'
});
// Close mobile menu if open
if (!mobileMenu.classList.contains('hidden')) {
mobileMenu.classList.add('hidden');
}
}
});
});
</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=Olppara/olppara" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>