5 Commits

Author SHA1 Message Date
Konstantin-39
e9a8f5a104 small changes in styles 2024-09-13 00:38:05 +07:00
Konstantin-39
a6fd62c235 edit logo desc 2024-09-12 23:19:13 +07:00
Konstantin-39
17f7db4e52 changing the structure and text 2024-09-12 23:16:13 +07:00
Konstantin-39
366152cb97 design changes based on edits from the prototype 2024-09-10 19:15:36 +07:00
freelancer
17c7665854 added all modified files 2024-09-10 01:55:52 +07:00
10 changed files with 38 additions and 94 deletions

14
.htaccess Normal file
View File

@@ -0,0 +1,14 @@
<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: #141210; --clr-general: #00071e;
} }
* { * {
@@ -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: #fffaf7; background: #f9f7f6;
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: 62px; font-size: 66px;
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.15) 32%, rgba(255, 255, 255, 0.22) 42%,
rgba(255, 255, 255, 0) 100% rgba(255, 255, 255, 0) 100%
), ),
var(--clr-general); var(--clr-general);
@@ -66,32 +66,6 @@ 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 {
@@ -191,7 +165,7 @@ h1 span {
content: ''; content: '';
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url('../img/bg_after.webp') top left no-repeat; background: url('../img/bg_after.webp') bottom left no-repeat;
background-size: contain; background-size: contain;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@@ -205,7 +179,7 @@ h1 span {
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: 100px; bottom: 200px;
left: 0; left: 0;
z-index: 1; z-index: 1;
animation: herobefore 6s ease-in-out infinite; animation: herobefore 6s ease-in-out infinite;
@@ -233,13 +207,13 @@ h1 span {
.hero__content::after { .hero__content::after {
content: ''; content: '';
position: absolute; position: absolute;
top: -64px; top: -60px;
right: -240px; right: -595px;
width: 880px; width: 1230px;
height: 830px; height: 830px;
pointer-events: none; pointer-events: none;
z-index: -1; z-index: -1;
background: url('../img/hero-img.webp') center no-repeat; background: url('../img/hero-img-full.webp') center no-repeat;
background-size: cover; background-size: cover;
} }
.hero__leftside { .hero__leftside {

View File

@@ -77,13 +77,6 @@
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;
} }
@@ -99,7 +92,7 @@
width: 200px; width: 200px;
height: 140px; height: 140px;
background-size: contain; background-size: contain;
top: 0px; top: 10px;
} }
.hero::before { .hero::before {
opacity: 0.4; opacity: 0.4;
@@ -180,9 +173,6 @@
h1 { h1 {
font-size: 36px; font-size: 36px;
} }
h1 span {
font-size: 29px;
}
.header__logo img { .header__logo img {
width: 42px; width: 42px;
} }
@@ -198,7 +188,10 @@
border-radius: 12px; border-radius: 12px;
} }
.hero__price-header p { .hero__price-header p {
font-size: 12.5px; font-size: 12px;
}
.hero__content::after {
right: -140px;
} }
} }
@media screen and (max-width: 375px) { @media screen and (max-width: 375px) {

View File

@@ -4,11 +4,6 @@
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;
@@ -127,10 +122,6 @@ h1 span {
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'] {
@@ -167,9 +158,6 @@ h1 span {
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: 46 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 17 KiB

BIN
assets/img/gift.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

Before

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,31 +15,6 @@
<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>
@@ -62,8 +37,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:83822995831" class="header__tel" title="Позвоните нам"> <a href="tel:+79234352557" class="header__tel" title="Позвоните нам">
<p>8 (3822) 99 58 31</p> <p>+7 (923) 435 25 57</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>
@@ -77,7 +52,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> напрямую от производителя <span>от 24,88 ₽/шт.</span></h1> <h1><b>Газобетонные блоки в&nbsp;Томске</b> напрямую от производителя</h1>
</div> </div>
<div class="hero__desc"> <div class="hero__desc">
<p> <p>
@@ -104,11 +79,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">1-5 м3</option> <option value="1-5 м3">1-5 м3</option>
<option value="5">5-10 м3</option> <option value="5-10 м3">5-10 м3</option>
<option value="10">10-50 м3</option> <option value="10-50 м3">10-50 м3</option>
<option value="50">50-100 м3</option> <option value="50-100 м3">50-100 м3</option>
<option value="100">Более 100 м3</option> <option value="Более 100 м3">Более 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>