6 Commits

Author SHA1 Message Date
User A1032551
2cc2f8495d small changes options for form 2024-10-03 11:48:48 +03:00
User A1032551
1edb20881d phone and cost small changes 2 2024-09-26 15:15:36 +03:00
User A1032551
6e518a5d76 phone and cost changes 2024-09-26 14:13:58 +03:00
User A1032551
fad5afb0c1 GP | restore htaccess 2024-09-24 05:37:44 +03:00
User A1032551
9d68663b9c disable https redirect 2024-09-17 12:17:47 +03:00
Константин Белан
18e2e45585 init 2024-09-13 00:43:42 +07:00
10 changed files with 94 additions and 38 deletions

View File

@@ -1,14 +0,0 @@
<IfModule mod_rewrite.c>
# Редирект: ...// -> .../
RewriteCond %{REQUEST_URI} (.*)\/\/$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/%1/ [R=301,L]
# Редирект: с www -> без www
RewriteCond %{HTTP_HOST} ^www\.(.*)$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
# Редирект: HTTP -> HTTPS
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>

View File

@@ -1,5 +1,5 @@
:root { :root {
--clr-general: #00071e; --clr-general: #141210;
} }
* { * {
@@ -13,7 +13,7 @@ body {
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
color: var(--clr-general); color: var(--clr-general);
background: #f9f7f6; background: #fffaf7;
overflow-x: hidden; overflow-x: hidden;
} }
@@ -47,14 +47,14 @@ body {
h1 { h1 {
font-family: 'DIN Pro', sans-serif; font-family: 'DIN Pro', sans-serif;
font-weight: 500; font-weight: 500;
font-size: 66px; font-size: 62px;
line-height: 110%; line-height: 110%;
letter-spacing: -0.04em; letter-spacing: -0.04em;
text-transform: uppercase; text-transform: uppercase;
background: linear-gradient( background: linear-gradient(
142deg, 142deg,
rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.22) 42%, rgba(255, 255, 255, 0.15) 32%,
rgba(255, 255, 255, 0) 100% rgba(255, 255, 255, 0) 100%
), ),
var(--clr-general); var(--clr-general);
@@ -66,6 +66,32 @@ h1 b,
h1 strong { h1 strong {
font-weight: 900; font-weight: 900;
} }
h1 span {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0px 16px;
letter-spacing: -0.02em;
border-radius: 14px;
background: linear-gradient(
142deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.15) 41.5%,
rgba(255, 255, 255, 0) 100%
),
#ff875c;
font-weight: 500;
font-size: 54px;
line-height: 135%;
color: #fff;
position: relative;
background-clip: initial;
-webkit-background-clip: initial;
-webkit-text-fill-color: initial;
margin-top: 6px;
text-transform: initial;
}
/* Button */ /* Button */
.btn { .btn {
@@ -165,7 +191,7 @@ h1 strong {
content: ''; content: '';
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url('../img/bg_after.webp') bottom left no-repeat; background: url('../img/bg_after.webp') top left no-repeat;
background-size: contain; background-size: contain;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@@ -179,7 +205,7 @@ h1 strong {
background: url('../img/bg_before.webp') center no-repeat; background: url('../img/bg_before.webp') center no-repeat;
background-size: contain; background-size: contain;
position: absolute; position: absolute;
bottom: 200px; bottom: 100px;
left: 0; left: 0;
z-index: 1; z-index: 1;
animation: herobefore 6s ease-in-out infinite; animation: herobefore 6s ease-in-out infinite;
@@ -207,13 +233,13 @@ h1 strong {
.hero__content::after { .hero__content::after {
content: ''; content: '';
position: absolute; position: absolute;
top: -60px; top: -64px;
right: -595px; right: -240px;
width: 1230px; width: 880px;
height: 830px; height: 830px;
pointer-events: none; pointer-events: none;
z-index: -1; z-index: -1;
background: url('../img/hero-img-full.webp') center no-repeat; background: url('../img/hero-img.webp') center no-repeat;
background-size: cover; background-size: cover;
} }
.hero__leftside { .hero__leftside {

View File

@@ -77,6 +77,13 @@
font-size: 39px; font-size: 39px;
text-align: left; text-align: left;
} }
h1 span {
font-size: 32px;
padding-left: 12px;
padding-right: 12px;
border-radius: 10px;
margin-top: 6px;
}
.hero__leftside { .hero__leftside {
align-items: flex-start; align-items: flex-start;
} }
@@ -92,7 +99,7 @@
width: 200px; width: 200px;
height: 140px; height: 140px;
background-size: contain; background-size: contain;
top: 10px; top: 0px;
} }
.hero::before { .hero::before {
opacity: 0.4; opacity: 0.4;
@@ -173,6 +180,9 @@
h1 { h1 {
font-size: 36px; font-size: 36px;
} }
h1 span {
font-size: 29px;
}
.header__logo img { .header__logo img {
width: 42px; width: 42px;
} }
@@ -188,10 +198,7 @@
border-radius: 12px; border-radius: 12px;
} }
.hero__price-header p { .hero__price-header p {
font-size: 12px; font-size: 12.5px;
}
.hero__content::after {
right: -140px;
} }
} }
@media screen and (max-width: 375px) { @media screen and (max-width: 375px) {

View File

@@ -4,6 +4,11 @@
h1 { h1 {
font-size: 52px; font-size: 52px;
} }
h1 span {
font-size: 42px;
margin-top: 0;
top: -2px;
}
.hero__content { .hero__content {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
@@ -122,6 +127,10 @@ h1 {
h1 { h1 {
font-size: 49px; font-size: 49px;
} }
h1 span {
font-size: 39px;
top: 0;
}
} }
@media screen and (max-width: 620px) { @media screen and (max-width: 620px) {
*[class*='__container'] { *[class*='__container'] {
@@ -158,6 +167,9 @@ h1 {
h1 { h1 {
font-size: 42px; font-size: 42px;
} }
h1 span {
font-size: 32px;
}
.header__socials-link, .header__socials-link,
.footer__socials-link, .footer__socials-link,
.header__contacts .header__tel { .header__contacts .header__tel {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 KiB

BIN
assets/img/hero-img.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 KiB

View File

@@ -5,7 +5,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Газобетонные блоки напрямую от производителя в Томске | Вектор</title> <title>Строительный кирпич напрямую от производителя в Томске | Вектор</title>
<meta name="description" content="SEO Description"> <meta name="description" content="SEO Description">
<link rel="shortcut icon" href="assets/img/favicon.ico?v=1.0"> <link rel="shortcut icon" href="assets/img/favicon.ico?v=1.0">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
@@ -15,6 +15,31 @@
<link rel="stylesheet" media="screen and (max-width: 992px)" href="assets/css/gp-style-tablet.css?v=1.0"> <link rel="stylesheet" media="screen and (max-width: 992px)" href="assets/css/gp-style-tablet.css?v=1.0">
<link rel="stylesheet" media="screen and (max-width: 576px)" href="assets/css/gp-style-mobile.css?v=1.0"> <link rel="stylesheet" media="screen and (max-width: 576px)" href="assets/css/gp-style-mobile.css?v=1.0">
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (m, e, t, r, i, k, a) {
m[i] = m[i] || function () { (m[i].a = m[i].a || []).push(arguments) };
m[i].l = 1 * new Date();
for (var j = 0; j < document.scripts.length; j++) { if (document.scripts[j].src === r) { return; } }
k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(98435636, "init", {
clickmap: true,
trackLinks: true,
accurateTrackBounce: true,
webvisor: true
});
</script>
<noscript>
<div><img src="https://mc.yandex.ru/watch/98435636" style="position:absolute; left:-9999px;" alt="" /></div>
</noscript>
<!-- /Yandex.Metrika counter -->
</head> </head>
<body> <body>
@@ -37,8 +62,8 @@
<img src="assets/img/wh.svg" width="27" height="27" alt="Мы в Whatsapp" title="Мы в Whatsapp"> <img src="assets/img/wh.svg" width="27" height="27" alt="Мы в Whatsapp" title="Мы в Whatsapp">
</a> </a>
</div> </div>
<a href="tel:+79234352557" class="header__tel" title="Позвоните нам"> <a href="tel:83822995831" class="header__tel" title="Позвоните нам">
<p>+7 (923) 435 25 57</p> <p>8 (3822) 99 58 31</p>
</a> </a>
<button class="btn btn-small modal__btn" data-modal="request"> <button class="btn btn-small modal__btn" data-modal="request">
<p>Заказать звонок</p> <p>Заказать звонок</p>
@@ -52,7 +77,7 @@
<div class="hero__content"> <div class="hero__content">
<div class="hero__leftside"> <div class="hero__leftside">
<div class="hero__title"> <div class="hero__title">
<h1><b>Газобетонные блоки в&nbsp;Томске</b> напрямую от производителя</h1> <h1><b>Строительный кирпич в&nbsp;Томске</b> напрямую от производителя <span>от 24,88 ₽/шт.</span></h1>
</div> </div>
<div class="hero__desc"> <div class="hero__desc">
<p> <p>
@@ -79,11 +104,11 @@
<form class="generalform" id="generalform" action=""> <form class="generalform" id="generalform" action="">
<select name="quantity" id="quantity" required> <select name="quantity" id="quantity" required>
<option value disabled selected>Укажите количество</option> <option value disabled selected>Укажите количество</option>
<option value="1-5 м3">1-5 м3</option> <option value="1">1-5 м3</option>
<option value="5-10 м3">5-10 м3</option> <option value="5">5-10 м3</option>
<option value="10-50 м3">10-50 м3</option> <option value="10">10-50 м3</option>
<option value="50-100 м3">50-100 м3</option> <option value="50">50-100 м3</option>
<option value="Более 100 м3">Более 100 м3</option> <option value="100">Более 100 м3</option>
</select> </select>
<input type="tel" id="tel" name="tel" value="" placeholder="+7 (___) ___-____" required> <input type="tel" id="tel" name="tel" value="" placeholder="+7 (___) ___-____" required>
<button class="btn btn-big">Забронировать стоимость</button> <button class="btn btn-big">Забронировать стоимость</button>