фикс хоум страницы
This commit is contained in:
parent
1af632ee63
commit
5915e66a2b
@ -20,7 +20,7 @@
|
|||||||
<i class="bi-heart-fill"></i>
|
<i class="bi-heart-fill"></i>
|
||||||
</div>
|
</div>
|
||||||
<h3>Встречайте людей</h3>
|
<h3>Встречайте людей</h3>
|
||||||
<p>Найдите подходящие пары на основе общих интересов и предпочтений</p>
|
<p>Найдите подходящие пары на основе общих интересов</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="feature">
|
<div class="feature">
|
||||||
@ -36,7 +36,7 @@
|
|||||||
<i class="bi-shield-check"></i>
|
<i class="bi-shield-check"></i>
|
||||||
</div>
|
</div>
|
||||||
<h3>Безопасность</h3>
|
<h3>Безопасность</h3>
|
||||||
<p>Ваша конфиденциальность и безопасность — наши главные приоритеты</p>
|
<p>Ваша конфиденциальность — наши главные приоритеты</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -50,12 +50,6 @@
|
|||||||
Зарегистрироваться
|
Зарегистрироваться
|
||||||
</router-link>
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wave-container">
|
|
||||||
<div class="wave"></div>
|
|
||||||
<div class="wave"></div>
|
|
||||||
<div class="wave"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mobile-showcase">
|
<div class="mobile-showcase">
|
||||||
@ -73,6 +67,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="wave-container">
|
||||||
|
<div class="wave"></div>
|
||||||
|
<div class="wave"></div>
|
||||||
|
<div class="wave"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Экран для авторизованных пользователей -->
|
<!-- Экран для авторизованных пользователей -->
|
||||||
@ -88,7 +88,7 @@
|
|||||||
<i class="bi-person-circle"></i>
|
<i class="bi-person-circle"></i>
|
||||||
</div>
|
</div>
|
||||||
<h3>Мой профиль</h3>
|
<h3>Мой профиль</h3>
|
||||||
<p>Управление личными данными и настройками</p>
|
<p>Управление личными данными</p>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
||||||
<router-link to="/swipe" class="action-tile">
|
<router-link to="/swipe" class="action-tile">
|
||||||
@ -96,7 +96,7 @@
|
|||||||
<i class="bi-suit-heart"></i>
|
<i class="bi-suit-heart"></i>
|
||||||
</div>
|
</div>
|
||||||
<h3>Поиск пары</h3>
|
<h3>Поиск пары</h3>
|
||||||
<p>Находите интересных людей рядом с вами</p>
|
<p>Находите интересных людей рядом</p>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
||||||
<router-link to="/chats" class="action-tile">
|
<router-link to="/chats" class="action-tile">
|
||||||
@ -137,6 +137,7 @@ onMounted(async () => {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Стили для анимированного REFLEX */
|
/* Стили для анимированного REFLEX */
|
||||||
@ -147,32 +148,17 @@ onMounted(async () => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
padding: 0 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.landing-content {
|
.landing-content {
|
||||||
width: 50%;
|
width: 55%;
|
||||||
padding: 5% 5%;
|
padding: 5% 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
display: flex;
|
||||||
|
|
||||||
@media (max-width: 992px) {
|
|
||||||
.landing-page {
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
justify-content: center;
|
||||||
.landing-content {
|
|
||||||
width: 100%;
|
|
||||||
padding: 10% 5% 20%;
|
|
||||||
}
|
|
||||||
.mobile-showcase {
|
|
||||||
position: relative !important;
|
|
||||||
width: 100% !important;
|
|
||||||
height: 400px !important;
|
|
||||||
transform: none !important;
|
|
||||||
}
|
|
||||||
.phone-mockup {
|
|
||||||
transform: scale(0.8) !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-name {
|
.app-name {
|
||||||
@ -181,6 +167,7 @@ onMounted(async () => {
|
|||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.letter {
|
.letter {
|
||||||
@ -222,38 +209,28 @@ onMounted(async () => {
|
|||||||
.landing-features {
|
.landing-features {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr);
|
||||||
gap: 2rem;
|
gap: 1.5rem;
|
||||||
margin-bottom: 3rem;
|
margin-bottom: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
.landing-features {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
.app-name {
|
|
||||||
font-size: 3rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.feature {
|
.feature {
|
||||||
background: rgba(255, 255, 255, 0.1);
|
background: rgba(255, 255, 255, 0.1);
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
padding: 2rem;
|
padding: 1.5rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
backdrop-filter: blur(5px);
|
backdrop-filter: blur(5px);
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature:hover {
|
.feature:hover {
|
||||||
transform: translateY(-10px);
|
transform: translateY(-5px);
|
||||||
background: rgba(255, 255, 255, 0.15);
|
background: rgba(255, 255, 255, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature-icon {
|
.feature-icon {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
width: 70px;
|
width: 60px;
|
||||||
height: 70px;
|
height: 60px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -262,26 +239,39 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.feature-icon i {
|
.feature-icon i {
|
||||||
font-size: 2rem;
|
font-size: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature h3 {
|
.feature h3 {
|
||||||
font-size: 1.3rem;
|
font-size: 1.2rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 0.75rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature p {
|
.feature p {
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
line-height: 1.6;
|
line-height: 1.4;
|
||||||
|
font-size: 0.95rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cta-buttons {
|
.cta-buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1.5rem;
|
gap: 1.25rem;
|
||||||
margin-bottom: 5rem;
|
margin-bottom: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.cta-buttons {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-btn {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.action-btn {
|
.action-btn {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -296,6 +286,7 @@ onMounted(async () => {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-btn.primary {
|
.action-btn.primary {
|
||||||
@ -331,8 +322,9 @@ onMounted(async () => {
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 200px;
|
height: 150px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wave {
|
.wave {
|
||||||
@ -340,9 +332,9 @@ onMounted(async () => {
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 200%;
|
width: 200%;
|
||||||
height: 200px;
|
height: 150px;
|
||||||
background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" opacity=".25" fill="white"/><path d="M0 0v15.81c13 21.11 27.64 41.05 47.69 56.24C99.41 111.27 165 111 224.58 91.58c31.15-10.15 60.09-26.07 89.67-39.8 40.92-19 84.73-46 130.83-49.67 36.26-2.85 70.9 9.42 98.6 31.56 31.77 25.39 62.32 62 103.63 73 40.44 10.79 81.35-6.69 119.13-24.28s75.16-39 116.92-43.05c59.73-5.85 113.28 22.88 168.9 38.84 30.2 8.66 59 6.17 87.09-7.5 22.43-10.89 48-26.93 60.65-49.24V0z" opacity=".5" fill="white"/><path d="M0 0v5.63C149.93 59 314.09 71.32 475.83 42.57c43-7.64 84.23-20.12 127.61-26.46 59-8.63 112.48 12.24 165.56 35.4C827.93 77.22 886 95.24 951.2 90c86.53-7 172.46-45.71 248.8-84.81V0z" fill="white"/></svg>') repeat-x;
|
background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" opacity=".25" fill="white"/><path d="M0 0v15.81c13 21.11 27.64 41.05 47.69 56.24C99.41 111.27 165 111 224.58 91.58c31.15-10.15 60.09-26.07 89.67-39.8 40.92-19 84.73-46 130.83-49.67 36.26-2.85 70.9 9.42 98.6 31.56 31.77 25.39 62.32 62 103.63 73 40.44 10.79 81.35-6.69 119.13-24.28s75.16-39 116.92-43.05c59.73-5.85 113.28 22.88 168.9 38.84 30.2 8.66 59 6.17 87.09-7.5 22.43-10.89 48-26.93 60.65-49.24V0z" opacity=".5" fill="white"/><path d="M0 0v5.63C149.93 59 314.09 71.32 475.83 42.57c43-7.64 84.23-20.12 127.61-26.46 59-8.63 112.48 12.24 165.56 35.4C827.93 77.22 886 95.24 951.2 90c86.53-7 172.46-45.71 248.8-84.81V0z" fill="white"/></svg>') repeat-x;
|
||||||
background-size: 1200px 200px;
|
background-size: 1200px 150px;
|
||||||
animation: wave 10s linear infinite;
|
animation: wave 10s linear infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -365,19 +357,19 @@ onMounted(async () => {
|
|||||||
|
|
||||||
/* Мобильный телефон/макет */
|
/* Мобильный телефон/макет */
|
||||||
.mobile-showcase {
|
.mobile-showcase {
|
||||||
position: absolute;
|
width: 45%;
|
||||||
width: 50%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
right: 0;
|
right: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
transform: translateX(5%);
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phone-mockup {
|
.phone-mockup {
|
||||||
width: 300px;
|
width: 280px;
|
||||||
height: 600px;
|
height: 550px;
|
||||||
background: #222;
|
background: #222;
|
||||||
border-radius: 40px;
|
border-radius: 40px;
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -445,7 +437,8 @@ onMounted(async () => {
|
|||||||
.home-view {
|
.home-view {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||||
padding: 3rem 0;
|
padding: 3rem 1rem;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.welcome-card {
|
.welcome-card {
|
||||||
@ -456,6 +449,8 @@ onMounted(async () => {
|
|||||||
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
|
max-width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.welcome-card h1 {
|
.welcome-card h1 {
|
||||||
@ -480,16 +475,10 @@ onMounted(async () => {
|
|||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
.action-tiles {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.action-tile {
|
.action-tile {
|
||||||
background: white;
|
background: white;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
padding: 2rem;
|
padding: 2rem 1.5rem;
|
||||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
@ -503,8 +492,8 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tile-icon {
|
.tile-icon {
|
||||||
width: 80px;
|
width: 70px;
|
||||||
height: 80px;
|
height: 70px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -515,11 +504,11 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tile-icon i {
|
.tile-icon i {
|
||||||
font-size: 2.5rem;
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-tile h3 {
|
.action-tile h3 {
|
||||||
font-size: 1.3rem;
|
font-size: 1.2rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
@ -528,4 +517,172 @@ onMounted(async () => {
|
|||||||
color: #6c757d;
|
color: #6c757d;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Медиа-запросы для улучшения адаптивности */
|
||||||
|
|
||||||
|
/* Планшеты и небольшие ноутбуки */
|
||||||
|
@media (max-width: 1100px) {
|
||||||
|
.landing-content {
|
||||||
|
padding-left: 3%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phone-mockup {
|
||||||
|
width: 240px;
|
||||||
|
height: 480px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app-name {
|
||||||
|
font-size: 4rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Планшеты */
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
.landing-page {
|
||||||
|
flex-direction: column;
|
||||||
|
height: auto;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.landing-content,
|
||||||
|
.mobile-showcase {
|
||||||
|
width: 100%;
|
||||||
|
padding: 2rem 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.landing-content {
|
||||||
|
padding-top: 4rem;
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-showcase {
|
||||||
|
height: 350px;
|
||||||
|
order: 1;
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phone-mockup {
|
||||||
|
transform: rotate(-5deg) scale(0.9);
|
||||||
|
}
|
||||||
|
|
||||||
|
.wave-container {
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wave {
|
||||||
|
height: 100px;
|
||||||
|
background-size: 1200px 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-tiles {
|
||||||
|
gap: 1.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Мобильные устройства */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.landing-features {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
.welcome-card {
|
||||||
|
padding: 2rem 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.welcome-card h1 {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-tiles {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
gap: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-tile {
|
||||||
|
padding: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app-name {
|
||||||
|
font-size: 3.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tagline {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.feature {
|
||||||
|
padding: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cta-buttons {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1rem;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-btn {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Мелкие мобильные устройства */
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.app-name {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.feature-icon {
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.feature-icon i {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-showcase {
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phone-mockup {
|
||||||
|
transform: rotate(-5deg) scale(0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
.welcome-card h1 {
|
||||||
|
font-size: 1.7rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.welcome-card .subtitle {
|
||||||
|
font-size: 1rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-tile {
|
||||||
|
padding: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tile-icon {
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tile-icon i {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Исправления Safari */
|
||||||
|
@supports (-webkit-touch-callout: none) {
|
||||||
|
.letter {
|
||||||
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.welcome-card h1 {
|
||||||
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
Loading…
x
Reference in New Issue
Block a user