feat: добавить слайдер для преимуществ, фонты и portable setup
All checks were successful
Build and Push Docker Image / build (push) Successful in 40s

- Интегрирован Swiper.js для слайдера преимуществ
- Обновлены преимущества: добавлены новые элементы и улучшена структура
- Добавлены новые шрифты (BerlinType, Noah) и подключены стили
- Добавлен start.bat для автоматической настройки Python, Git и запуска проекта
This commit is contained in:
2026-04-04 11:15:40 +02:00
parent 09ca1c6997
commit 777b753230
15 changed files with 296 additions and 43 deletions

View File

@@ -16,7 +16,7 @@
}
.hero-title {
font-family: "Inter", sans-serif;
font-style: normal;
font-weight: 500;
font-size: 50px;
@@ -35,7 +35,7 @@
}
.hero-subtitle {
font-family: "Inter", sans-serif;
font-style: normal;
font-weight: 500;
font-size: 17px;
@@ -59,7 +59,7 @@
.hero-button {
display: inline-block;
background: #63768d;
font-family: "Inter", sans-serif;
font-style: normal;
font-weight: 500;
font-size: 28px;
@@ -75,15 +75,15 @@
margin-top: 100px;
}
.advantages-list {
.advantages-header {
display: flex;
flex-direction: row;
justify-content: space-between;
/*align-items: flex-start;*/
}
.advantages-title {
width: 300px;
font-family: "Inter", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 44px;
@@ -93,10 +93,54 @@
color: #36213e;
}
.advantages-nav {
display: flex;
gap: 12px;
justify-content: end;
}
.advantages-nav-btn {
width: 48px;
height: 48px;
border-radius: 100%;
background: #63768d;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: white;
transition: background 0.2s, opacity 0.2s;
}
.advantages-nav-btn:hover {
background: #554971;
}
.advantages-nav-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.advantages-list {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.advantages-right {
max-width: 900px;
}
.advantages-carousel {
margin-top: 10px;
width: 900px;
height: 130px;
overflow: hidden;
}
.advantages-item {
width: 250px;
height: 150px;
margin-top: 10px;
}
.advantages-item-number {
@@ -110,7 +154,7 @@
/* Number in circle */
color: white;
font-family: "Inter", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 30px;
@@ -119,7 +163,7 @@
}
.advantages-item-title {
font-family: "Inter", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
@@ -133,7 +177,7 @@
.advantages-item-subtitle {
margin-top: 7px;
font-family: "Inter", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
@@ -176,13 +220,13 @@
}
.advantages-card-splash {
font-family: "Inter", sans-serif;
font-style: normal;
font-weight: 500;
font-size: 18px;
font-size: 25px;
line-height: 22px;
color: #b8f3ff;
color: #ffffff;
}
.advantages-card-title {
@@ -190,27 +234,31 @@
width: 291px;
height: 84px;
font-family: "Inter", sans-serif;
font-style: normal;
font-weight: 500;
font-size: 32px;
line-height: 1.3;
color: #b8f3ff;
color: #ffffff;
}
.advantages-card-button {
display: inline-block;
margin-top: 50px;
font-family: "Inter", sans-serif;
padding: 10px 10px;
border: 1px solid #ffffff;
font-style: normal;
font-weight: 500;
font-size: 20px;
line-height: 20px;
text-align: left;
text-decoration: underline;
/*text-decoration: underline;*/
color: #b8f3ff;
color: #ffffff;
}
@@ -577,7 +625,7 @@
justify-content: center;
& > a {
padding: 15px 45px;
padding: 15px 45px 15px 15px;
display: flex;
align-items: center;
justify-content: center;
@@ -608,7 +656,7 @@
line-height: 24px;
text-align: left;
margin-right: 5px;
margin-right: 13px;
color: #63768d;
}

View File

@@ -1,3 +1,58 @@
/* ── FONTS ── */
@font-face {
font-family: 'BerlinType';
src: url('../fonts/BerlinTypeWeb-Regular.eot');
src: url('../fonts/BerlinTypeWeb-Regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/BerlinTypeWeb-Regular.woff2') format('woff2'),
url('../fonts/BerlinTypeWeb-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'BerlinType';
src: url('../fonts/BerlinTypeWeb-Bold.eot');
src: url('../fonts/BerlinTypeWeb-Bold.eot?#iefix') format('embedded-opentype'),
url('../fonts/BerlinTypeWeb-Bold.woff2') format('woff2'),
url('../fonts/BerlinTypeWeb-Bold.woff') format('woff');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Noah';
src: url('../fonts/noah-regular.otf') format('opentype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Noah';
src: url('../fonts/noah-regularitalic.otf') format('opentype');
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Noah';
src: url('../fonts/noah-bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Noah';
src: url('../fonts/noah-bolditalic.otf') format('opentype');
font-weight: 700;
font-style: italic;
font-display: swap;
}
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
@@ -14,12 +69,16 @@
}
body {
font-family: 'Inter', sans-serif;
font-family: 'Noah', sans-serif;
color: var(--dark);
background: var(--bg);
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'BerlinType', serif;
}
/* Container to maintain consistent width */
.container {
max-width: 1160px;
@@ -81,7 +140,7 @@ header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 80px;
padding: 12px 0;
gap: 20px;
}
@@ -171,7 +230,7 @@ header {
.nav-bar {
display: flex;
align-items: center;
padding: 10px 80px;
padding: 10px 0;
gap: 0;
border-top: 1px solid rgba(54, 33, 62, .07);
justify-content: space-between;