Compare commits
6 Commits
e9a8f5a104
...
vectorbric
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2cc2f8495d | ||
|
|
1edb20881d | ||
|
|
6e518a5d76 | ||
|
|
fad5afb0c1 | ||
|
|
9d68663b9c | ||
|
|
18e2e45585 |
14
.htaccess
@@ -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>
|
||||
@@ -1,5 +1,5 @@
|
||||
:root {
|
||||
--clr-general: #00071e;
|
||||
--clr-general: #141210;
|
||||
}
|
||||
|
||||
* {
|
||||
@@ -13,7 +13,7 @@ body {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: var(--clr-general);
|
||||
background: #f9f7f6;
|
||||
background: #fffaf7;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
@@ -47,14 +47,14 @@ body {
|
||||
h1 {
|
||||
font-family: 'DIN Pro', sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 66px;
|
||||
font-size: 62px;
|
||||
line-height: 110%;
|
||||
letter-spacing: -0.04em;
|
||||
text-transform: uppercase;
|
||||
background: linear-gradient(
|
||||
142deg,
|
||||
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%
|
||||
),
|
||||
var(--clr-general);
|
||||
@@ -66,6 +66,32 @@ h1 b,
|
||||
h1 strong {
|
||||
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 */
|
||||
.btn {
|
||||
@@ -165,7 +191,7 @@ h1 strong {
|
||||
content: '';
|
||||
width: 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;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
@@ -179,7 +205,7 @@ h1 strong {
|
||||
background: url('../img/bg_before.webp') center no-repeat;
|
||||
background-size: contain;
|
||||
position: absolute;
|
||||
bottom: 200px;
|
||||
bottom: 100px;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
animation: herobefore 6s ease-in-out infinite;
|
||||
@@ -207,13 +233,13 @@ h1 strong {
|
||||
.hero__content::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -60px;
|
||||
right: -595px;
|
||||
width: 1230px;
|
||||
top: -64px;
|
||||
right: -240px;
|
||||
width: 880px;
|
||||
height: 830px;
|
||||
pointer-events: none;
|
||||
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;
|
||||
}
|
||||
.hero__leftside {
|
||||
|
||||
@@ -77,6 +77,13 @@
|
||||
font-size: 39px;
|
||||
text-align: left;
|
||||
}
|
||||
h1 span {
|
||||
font-size: 32px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
border-radius: 10px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
.hero__leftside {
|
||||
align-items: flex-start;
|
||||
}
|
||||
@@ -92,7 +99,7 @@
|
||||
width: 200px;
|
||||
height: 140px;
|
||||
background-size: contain;
|
||||
top: 10px;
|
||||
top: 0px;
|
||||
}
|
||||
.hero::before {
|
||||
opacity: 0.4;
|
||||
@@ -173,6 +180,9 @@
|
||||
h1 {
|
||||
font-size: 36px;
|
||||
}
|
||||
h1 span {
|
||||
font-size: 29px;
|
||||
}
|
||||
.header__logo img {
|
||||
width: 42px;
|
||||
}
|
||||
@@ -188,10 +198,7 @@
|
||||
border-radius: 12px;
|
||||
}
|
||||
.hero__price-header p {
|
||||
font-size: 12px;
|
||||
}
|
||||
.hero__content::after {
|
||||
right: -140px;
|
||||
font-size: 12.5px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 375px) {
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
h1 {
|
||||
font-size: 52px;
|
||||
}
|
||||
h1 span {
|
||||
font-size: 42px;
|
||||
margin-top: 0;
|
||||
top: -2px;
|
||||
}
|
||||
.hero__content {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -122,6 +127,10 @@ h1 {
|
||||
h1 {
|
||||
font-size: 49px;
|
||||
}
|
||||
h1 span {
|
||||
font-size: 39px;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 620px) {
|
||||
*[class*='__container'] {
|
||||
@@ -158,6 +167,9 @@ h1 {
|
||||
h1 {
|
||||
font-size: 42px;
|
||||
}
|
||||
h1 span {
|
||||
font-size: 32px;
|
||||
}
|
||||
.header__socials-link,
|
||||
.footer__socials-link,
|
||||
.header__contacts .header__tel {
|
||||
|
||||
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 196 KiB |
BIN
assets/img/hero-img.webp
Normal file
|
After Width: | Height: | Size: 373 KiB |
43
index.html
@@ -5,7 +5,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Газобетонные блоки напрямую от производителя в Томске | Вектор</title>
|
||||
<title>Строительный кирпич напрямую от производителя в Томске | Вектор</title>
|
||||
<meta name="description" content="SEO Description">
|
||||
<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>
|
||||
@@ -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: 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>
|
||||
|
||||
<body>
|
||||
@@ -37,8 +62,8 @@
|
||||
<img src="assets/img/wh.svg" width="27" height="27" alt="Мы в Whatsapp" title="Мы в Whatsapp">
|
||||
</a>
|
||||
</div>
|
||||
<a href="tel:+79234352557" class="header__tel" title="Позвоните нам">
|
||||
<p>+7 (923) 435 25 57</p>
|
||||
<a href="tel:83822995831" class="header__tel" title="Позвоните нам">
|
||||
<p>8 (3822) 99 58 31</p>
|
||||
</a>
|
||||
<button class="btn btn-small modal__btn" data-modal="request">
|
||||
<p>Заказать звонок</p>
|
||||
@@ -52,7 +77,7 @@
|
||||
<div class="hero__content">
|
||||
<div class="hero__leftside">
|
||||
<div class="hero__title">
|
||||
<h1><b>Газобетонные блоки в Томске</b> напрямую от производителя</h1>
|
||||
<h1><b>Строительный кирпич в Томске</b> напрямую от производителя <span>от 24,88 ₽/шт.</span></h1>
|
||||
</div>
|
||||
<div class="hero__desc">
|
||||
<p>
|
||||
@@ -79,11 +104,11 @@
|
||||
<form class="generalform" id="generalform" action="">
|
||||
<select name="quantity" id="quantity" required>
|
||||
<option value disabled selected>Укажите количество</option>
|
||||
<option value="1-5 м3">1-5 м3</option>
|
||||
<option value="5-10 м3">5-10 м3</option>
|
||||
<option value="10-50 м3">10-50 м3</option>
|
||||
<option value="50-100 м3">50-100 м3</option>
|
||||
<option value="Более 100 м3">Более 100 м3</option>
|
||||
<option value="1">1-5 м3</option>
|
||||
<option value="5">5-10 м3</option>
|
||||
<option value="10">10-50 м3</option>
|
||||
<option value="50">50-100 м3</option>
|
||||
<option value="100">Более 100 м3</option>
|
||||
</select>
|
||||
<input type="tel" id="tel" name="tel" value="" placeholder="+7 (___) ___-____" required>
|
||||
<button class="btn btn-big">Забронировать стоимость</button>
|
||||
|
||||