2941b14b38
- Moved contents of main_dc/yalarba/easySite/easySite/ up to easySite/ - Updated docker-compose.yml build context path - Deleted empty nested easySite/ directory
324 lines
6.9 KiB
Vue
324 lines
6.9 KiB
Vue
<template>
|
|
<div class="page-wrapper">
|
|
|
|
<!-- Обновленная Hero Section -->
|
|
<section class="hero-section">
|
|
<div class="container">
|
|
<div class="hero-content">
|
|
<div class="hero-main">
|
|
<h1 class="hero-title">
|
|
Создай свой сайт
|
|
<span class="gradient-text">за 3 шага</span>
|
|
</h1>
|
|
|
|
<p class="hero-description">
|
|
Простая платформа для быстрого создания сайтов.
|
|
Регистрируйся, добавляй услуги и получай готовый сайт.
|
|
</p>
|
|
|
|
<div class="steps-container">
|
|
<div class="step">
|
|
<div class="step-number">1</div>
|
|
<div class="step-content">
|
|
<h3>Создай аккаунт</h3>
|
|
<p>Быстрая регистрация</p>
|
|
</div>
|
|
<nuxt-link to="/auth/register" class="step-link">
|
|
Начать →
|
|
</nuxt-link>
|
|
</div>
|
|
|
|
<div class="step">
|
|
<div class="step-number">2</div>
|
|
<div class="step-content">
|
|
<h3>Добавь услуги</h3>
|
|
<p>Опиши что предлагаешь</p>
|
|
</div>
|
|
<nuxt-link to="/profile" class="step-link">
|
|
Добавить →
|
|
</nuxt-link>
|
|
</div>
|
|
|
|
<div class="step">
|
|
<div class="step-number">3</div>
|
|
<div class="step-content">
|
|
<h3>Получи сайт</h3>
|
|
<p>Автоматически сгенерированный</p>
|
|
</div>
|
|
<nuxt-link to="/objects/my-objects" class="step-link">
|
|
Посмотреть →
|
|
</nuxt-link>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="hero-actions">
|
|
<nuxt-link to="/auth/register" class="btn btn-primary btn-large">
|
|
Начать бесплатно
|
|
</nuxt-link>
|
|
<nuxt-link to="/about" class="btn btn-outline">
|
|
Узнать больше
|
|
</nuxt-link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
|
|
definePageMeta({
|
|
title: 'EasySite'
|
|
})
|
|
</script>
|
|
|
|
<style scoped>
|
|
.page-wrapper {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Обновленная Hero Section */
|
|
.hero-section {
|
|
background: var(--hero-gradient);
|
|
color: var(--text-inverse);
|
|
position: relative;
|
|
overflow: hidden;
|
|
flex: 1 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: calc(100vh - 80px);
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
.hero-section::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: var(--hero-pattern);
|
|
opacity: 0.05;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 10;
|
|
width: 100%;
|
|
}
|
|
|
|
.hero-main {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-title {
|
|
font-family: var(--font-heading);
|
|
font-size: clamp(2.5rem, 5vw, 4rem);
|
|
font-weight: var(--font-bold);
|
|
line-height: 1.1;
|
|
margin-bottom: 1.5rem;
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
.gradient-text {
|
|
background: linear-gradient(135deg, var(--secondary-400), var(--accent-400));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.hero-description {
|
|
font-size: clamp(1.125rem, 2vw, 1.25rem);
|
|
line-height: 1.6;
|
|
margin-bottom: 3rem;
|
|
opacity: 0.9;
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
/* Контейнер шагов */
|
|
.steps-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
margin-bottom: 3rem;
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.step {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
padding: 1.5rem;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: var(--radius-xl);
|
|
backdrop-filter: blur(10px);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.step:hover {
|
|
transform: translateY(-2px);
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.step-number {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 3rem;
|
|
height: 3rem;
|
|
background: var(--primary-500);
|
|
color: var(--text-inverse);
|
|
border-radius: 50%;
|
|
font-weight: var(--font-bold);
|
|
font-size: 1.25rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-content {
|
|
flex: 1;
|
|
text-align: left;
|
|
}
|
|
|
|
.step-content h3 {
|
|
font-size: 1.25rem;
|
|
font-weight: var(--font-semibold);
|
|
margin-bottom: 0.25rem;
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
.step-content p {
|
|
font-size: 0.9rem;
|
|
opacity: 0.8;
|
|
margin: 0;
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
.step-link {
|
|
color: var(--text-inverse);
|
|
text-decoration: none;
|
|
font-weight: var(--font-medium);
|
|
padding: 0.5rem 1rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: var(--radius-md);
|
|
transition: all 0.3s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-link:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.5);
|
|
text-decoration: none;
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
/* Кнопки действий */
|
|
.hero-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 1rem 2rem;
|
|
border: none;
|
|
border-radius: var(--radius-lg);
|
|
font-weight: var(--font-medium);
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.btn-large {
|
|
padding: 1.25rem 2.5rem;
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary-500);
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--primary-600);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.5);
|
|
transform: translateY(-2px);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Адаптивность */
|
|
@media (max-width: 768px) {
|
|
.hero-section {
|
|
min-height: calc(100vh - 70px);
|
|
padding: 1.5rem 0;
|
|
}
|
|
|
|
.step {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.step-content {
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-actions {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
max-width: 300px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.hero-section {
|
|
min-height: calc(100vh - 60px);
|
|
}
|
|
|
|
.step {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.step-number {
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
</style> |