figma_final

This commit is contained in:
2025-09-23 22:53:05 +03:00
parent e0dd42d9b1
commit d132cc9d31
3 changed files with 358 additions and 121 deletions

View File

@@ -1691,6 +1691,7 @@
<footer class="footer"> <footer class="footer">
<div class="footer_top"> <div class="footer_top">
<div class="container"> <div class="container">
<div class="footer_top_wrapper">
<div class="footer_top_inner"> <div class="footer_top_inner">
<!-- 1 --> <!-- 1 -->
<div class="fotter_top_col"> <div class="fotter_top_col">
@@ -1826,111 +1827,114 @@
</li> </li>
</ul> </ul>
</div> </div>
<!-- 2 --> <div class="footer_top_col_inner">
<div class="fotter_top_col"> <!-- 2 -->
<h3 class="footer_top_title">SITE MAP</h3> <div class="fotter_top_col">
<ul class="footer_top_list"> <h3 class="footer_top_title footer_top_title--slide">SITE MAP</h3>
<li class="footer_top_item"> <ul class="footer_top_list">
<a class="footer_item_link" href="#">About Us</a> <li class="footer_top_item">
</li> <a class="footer_item_link" href="#">About Us</a>
<li class="footer_top_item"> </li>
<a class="footer_item_link" href="#">Courses</a> <li class="footer_top_item">
</li> <a class="footer_item_link" href="#">Courses</a>
<li class="footer_top_item"> </li>
<a class="footer_item_link" href="#">Events</a> <li class="footer_top_item">
</li> <a class="footer_item_link" href="#">Events</a>
<li class="footer_top_item"> </li>
<a class="footer_item_link" href="#">Blog</a> <li class="footer_top_item">
</li> <a class="footer_item_link" href="#">Blog</a>
<li class="footer_top_item"> </li>
<a class="footer_item_link" href="#">Contacts</a> <li class="footer_top_item">
</li> <a class="footer_item_link" href="#">Contacts</a>
</ul> </li>
</ul>
</div>
<!-- 3 -->
<div class="fotter_top_col">
<h3 class="footer_top_title footer_top_title--slide">COURSES</h3>
<ul class="footer_top_list">
<li class="footer_top_item">
<a class="footer_item_link" href="#">Marketing</a>
</li>
<li class="footer_top_item">
<a class="footer_item_link" href="#">Management</a>
</li>
<li class="footer_top_item">
<a class="footer_item_link" href="#">HR & Recruting</a>
</li>
<li class="footer_top_item">
<a class="footer_item_link" href="#">Design</a>
</li>
<li class="footer_top_item">
<a class="footer_item_link" href="#">Development</a>
</li>
</ul>
</div>
<!-- 4 -->
<div class="fotter_top_col">
<h3 class="footer_top_title footer_top_title--slide">CONTACT US</h3>
<ul class="footer_top_list">
<li class="footer_top_item">
<a class="footer_item_link" href="tel:4055550128">
<svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M8.5 2.92188C7.67157 2.92188 7 3.59345 7 4.42188V19.5781C7 20.4066 7.67157 21.0781 8.5 21.0781H15.5C16.3284 21.0781 17 20.4066 17 19.5781V4.42188C17 3.59345 16.3284 2.92188 15.5 2.92188H15.4166L15.1731 3.50633C15.0178 3.87894 14.6537 4.12165 14.25 4.12165H9.75C9.34632 4.12165 8.98223 3.87894 8.82695 3.50633L8.58338 2.92188H8.5ZM5 4.42188C5 2.48888 6.567 0.921875 8.5 0.921875H15.5C17.433 0.921875 19 2.48888 19 4.42188V19.5781C19 21.5111 17.433 23.0781 15.5 23.0781H8.5C6.567 23.0781 5 21.5111 5 19.5781V4.42188Z"
fill="white"
/>
</svg>
(405) 555-0128
</a>
</li>
<li class="footer_top_item">
<a class="footer_item_link" href="mailto:hello@createx.com">
<svg
width="16"
height="16"
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M15.1668 11.9993V4.66602C15.1668 3.56145 14.2714 2.66602 13.1668 2.66602L2.83349 2.66603C1.72893 2.66603 0.833496 3.56146 0.833496 4.66603V11.9993C0.833496 13.1039 1.72893 13.9993 2.8335 13.9993L13.1668 13.9993C14.2714 13.9993 15.1668 13.1039 15.1668 11.9993ZM13.8335 6.17232V11.9993C13.8335 12.3675 13.535 12.666 13.1668 12.666L2.8335 12.666C2.46531 12.666 2.16683 12.3675 2.16683 11.9993L2.16683 6.17223L6.87561 9.3742C7.55433 9.83573 8.44613 9.83573 9.12485 9.3742L13.8335 6.17232ZM13.8259 4.56509C13.7773 4.24479 13.5007 3.99935 13.1668 3.99935L2.83349 3.99936C2.49965 3.99936 2.22311 4.24476 2.17443 4.56501L7.62535 8.27164C7.85159 8.42548 8.14886 8.42548 8.3751 8.27164L13.8259 4.56509Z"
fill="white"
/>
</svg>
hello@createx.com
</a>
</li>
</ul>
</div>
</div> </div>
<!-- 3 --> <!-- 5 -->
<div class="fotter_top_col"> <div class="fotter_top_col">
<h3 class="footer_top_title">COURSES</h3> <h3 class="footer_top_title--title1">SIGN UP TO OUR NEWSLETTER</h3>
<ul class="footer_top_list"> <form class="footer_top_form">
<li class="footer_top_item"> <input
<a class="footer_item_link" href="#">Marketing</a> class="footer_form_input"
</li> type="email"
<li class="footer_top_item"> placeholder="Email address"
<a class="footer_item_link" href="#">Management</a>
</li>
<li class="footer_top_item">
<a class="footer_item_link" href="#">HR & Recruting</a>
</li>
<li class="footer_top_item">
<a class="footer_item_link" href="#">Design</a>
</li>
<li class="footer_top_item">
<a class="footer_item_link" href="#">Development</a>
</li>
</ul>
</div>
<!-- 4 -->
<div class="fotter_top_col">
<h3 class="footer_top_title">CONTACT US</h3>
<ul class="footer_top_list">
<li class="footer_top_item">
<a class="footer_item_link" href="tel:4055550128">
<svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M8.5 2.92188C7.67157 2.92188 7 3.59345 7 4.42188V19.5781C7 20.4066 7.67157 21.0781 8.5 21.0781H15.5C16.3284 21.0781 17 20.4066 17 19.5781V4.42188C17 3.59345 16.3284 2.92188 15.5 2.92188H15.4166L15.1731 3.50633C15.0178 3.87894 14.6537 4.12165 14.25 4.12165H9.75C9.34632 4.12165 8.98223 3.87894 8.82695 3.50633L8.58338 2.92188H8.5ZM5 4.42188C5 2.48888 6.567 0.921875 8.5 0.921875H15.5C17.433 0.921875 19 2.48888 19 4.42188V19.5781C19 21.5111 17.433 23.0781 15.5 23.0781H8.5C6.567 23.0781 5 21.5111 5 19.5781V4.42188Z"
fill="white"
/>
</svg>
(405) 555-0128
</a>
</li>
<li class="footer_top_item">
<a class="footer_item_link" href="mailto:hello@createx.com">
<svg
width="16"
height="16"
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M15.1668 11.9993V4.66602C15.1668 3.56145 14.2714 2.66602 13.1668 2.66602L2.83349 2.66603C1.72893 2.66603 0.833496 3.56146 0.833496 4.66603V11.9993C0.833496 13.1039 1.72893 13.9993 2.8335 13.9993L13.1668 13.9993C14.2714 13.9993 15.1668 13.1039 15.1668 11.9993ZM13.8335 6.17232V11.9993C13.8335 12.3675 13.535 12.666 13.1668 12.666L2.8335 12.666C2.46531 12.666 2.16683 12.3675 2.16683 11.9993L2.16683 6.17223L6.87561 9.3742C7.55433 9.83573 8.44613 9.83573 9.12485 9.3742L13.8335 6.17232ZM13.8259 4.56509C13.7773 4.24479 13.5007 3.99935 13.1668 3.99935L2.83349 3.99936C2.49965 3.99936 2.22311 4.24476 2.17443 4.56501L7.62535 8.27164C7.85159 8.42548 8.14886 8.42548 8.3751 8.27164L13.8259 4.56509Z"
fill="white"
/>
</svg>
hello@createx.com
</a>
</li>
</ul>
</div>
<!-- 5 -->
<div class="fotter_top_col">
<h3 class="footer_top_title--title1">SIGN UP TO OUR NEWSLETTER</h3>
<form class="footer_top_form">
<input
class="footer_form_input"
type="email"
placeholder="Email address"
> >
<a class="footer_form_btn" href=""> <a class="footer_form_btn" href="">
<img class="footer_form_img" src="./images/footer/Line (Stroke).svg" alt=""> <img class="footer_form_img" src="./images/footer/Line (Stroke).svg" alt="">
</a> </a>
</form> </form>
<div class="footer_form_desc"> <div class="footer_form_desc">
*Subscribe to our newsletter to receive communications and *Subscribe to our newsletter to receive communications and
early updates from Createx SEO Agency. early updates from Createx SEO Agency.
</div> </div>
</div> </div>
</div>
</div> </div>
</div> </div>
</div> </div>

6
js.js
View File

@@ -117,12 +117,16 @@
}, 0); }, 0);
$(".burger, .overlay").on("click", function (e) { $(".burger, .overlay, .header_top a").on("click", function (e) {
e.preventDefault(); e.preventDefault();
$(".header_top").toggleClass("header_top--open"); $(".header_top").toggleClass("header_top--open");
$(".overlay").toggleClass("overlay--show"); $(".overlay").toggleClass("overlay--show");
}); });
$(".footer_top_title--slide").on("click", function () {
$(this).next().slideToggle();
});
// <!-- <script async // <!-- <script async
// src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&loading=async&callback=initMap"> // src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&loading=async&callback=initMap">
// let map; // let map;

261
style.css
View File

@@ -971,7 +971,6 @@ body {
margin-bottom: 60px; margin-bottom: 60px;
} }
.blog_heading { .blog_heading {
margin-right: 30px;
} }
.heading { .heading {
} }
@@ -985,25 +984,34 @@ body {
white-space: nowrap; white-space: nowrap;
} }
.blog_row { .blog_row {
display: flex; display: grid;
margin: 0 -15px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
} }
.blog_item { .blog_item {
padding: 0 15px; display: flex;
display: block; }
.blog_item:first-child {
} }
.blog_item_link { .blog_item_link {
display: block; display: flex;
flex-direction: column;
width: 100%;
transition: all .3s; transition: all .3s;
height: 100%;
} }
.blog_item_link:hover { .blog_item_link:hover {
box-shadow: 0px 30px 30px 10px rgba(154, 156, 165, 0.08), 0px 30px 24px -10px rgba(154, 156, 165, 0.05), 0px 12px 10px -6px rgba(154, 156, 165, 0.04), 0px 4px 4px -4px rgba(30, 33, 44, 0.03); box-shadow: 0px 30px 30px 10px rgba(154, 156, 165, 0.08), 0px 30px 24px -10px rgba(154, 156, 165, 0.05), 0px 12px 10px -6px rgba(154, 156, 165, 0.04), 0px 4px 4px -4px rgba(30, 33, 44, 0.03);
} }
.blog_item_inner { .blog_item_inner {
display: flex;
flex-direction: column;
height: 100%;
justify-content: space-between;
} }
.blog_image_box { .blog_image_box {
display: block;
border-radius: 4px; border-radius: 4px;
overflow: hidden; overflow: hidden;
margin-bottom: 16px; margin-bottom: 16px;
@@ -1011,6 +1019,9 @@ body {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
height: 300px;
width: 100%;
max-width: none;
} }
.blog_image_box span { .blog_image_box span {
position: absolute; position: absolute;
@@ -1022,23 +1033,28 @@ body {
font-size: 14px; font-size: 14px;
background-color: white; background-color: white;
border-radius: 4px; border-radius: 4px;
padding: 0px 8px; padding: 0px 12px;
} }
.blog_image_box span img { .blog_image_box span img {
width: 16px; width: 16px;
height: 16px; height: 16px;
margin-top: 2px; margin-top: 2px;
margin-right: 4px; margin-right: 8px;
} }
.blog_image_box img { .blog_image_box img {
width: auto; width: 100%;
height: auto; height: 100%;
object-fit: cover; object-fit: cover;
} }
.blog_item_content { .blog_item_content {
flex-grow: 1;
display: flex;
flex-direction: column;
} }
.blog_item_info { .blog_item_info {
display: flex; display: flex;
flex-grow: 1;
margin: 0 -12px 8px; margin: 0 -12px 8px;
} }
.blog_info_el { .blog_info_el {
@@ -1091,9 +1107,19 @@ body {
line-height: 1.5; line-height: 1.5;
color: #1E212C; color: #1E212C;
margin-bottom: 8px; margin-bottom: 8px;
min-height: 60px;
display: -webkit-box;
-webkit-line-clamp: 3; /* максимум 2 строки */
-webkit-box-orient: vertical;
overflow: hidden;
} }
.blog_item_text { .blog_item_text {
margin-bottom: 16px; margin-bottom: 16px;
min-height: 70px;
display: -webkit-box;
-webkit-line-clamp: 4; /* максимум 2 строки */
-webkit-box-orient: vertical;
overflow: hidden;
} }
.blog_item_btn { .blog_item_btn {
display: flex; display: flex;
@@ -1102,6 +1128,7 @@ body {
line-height: 1.6; line-height: 1.6;
color: #1E212C; color: #1E212C;
transition: all .3s; transition: all .3s;
margin-top: auto;
} }
.blog_item_btn:hover { .blog_item_btn:hover {
color: #FF3F3A; color: #FF3F3A;
@@ -1234,6 +1261,12 @@ body {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
}
.questions_inner img {
min-width: 350px;
width: 100%;
height: 100%;
} }
.questions_content { .questions_content {
margin-left: 30px; margin-left: 30px;
@@ -1293,7 +1326,7 @@ body {
width: 16px; width: 16px;
height: 16px; height: 16px;
flex: 0 0 auto; flex: 0 0 auto;
margin-top: 5px; margin-top: 0;
margin-right: 12px; margin-right: 12px;
accent-color: red; accent-color: red;
} }
@@ -1324,9 +1357,18 @@ body {
} }
.container { .container {
} }
.footer_top_wrapper {
display: flex;
flex-direction: row;
gap: 80px;
}
.footer_top_inner { .footer_top_inner {
display: grid; display: flex;
grid-template-columns: repeat(5, auto); gap: 80px;
}
.footer_top_col_inner {
display: flex;
white-space: nowrap;
gap: 80px; gap: 80px;
} }
.fotter_top_col { .fotter_top_col {
@@ -1370,7 +1412,7 @@ body {
font-weight: 701; font-weight: 701;
line-height: 1.5; line-height: 1.5;
margin-bottom: 12px; margin-bottom: 12px;
pointer-events: none;
} }
.footer_top_title--title1 { .footer_top_title--title1 {
font-size: 16px; font-size: 16px;
@@ -1472,11 +1514,33 @@ body {
.footer_go_top:hover { .footer_go_top:hover {
opacity: 1; opacity: 1;
} }
/* ----------------------------------------BURGER MENU------------------------------------------------------- */ /* ----------------------------------------BURGER MENU------------------------------------------------------- */
.burger { .burger {
display: none; display: none;
} }
/* ---------------------------------------------------1000---------------------------------------------------------------- */
@media (max-width: 1000px) {
.program_image {
display: none;
}
.program_content {
margin: 0;
}
.blog_row {
grid-template-columns: repeat(1, auto);
}
.blog_row {
place-content: center;
}
.blog_item {
align-items: center;
max-width: 650px;
}
}
/* ----------------------------------------------------900--------------------------------------------------------- */ /* ----------------------------------------------------900--------------------------------------------------------- */
@@ -1505,6 +1569,33 @@ body {
.companies_grid { .companies_grid {
grid-template: repeat(3, auto) / repeat(4, 1fr); grid-template: repeat(3, auto) / repeat(4, 1fr);
} }
.blog_top {
flex-direction: column;
align-items: flex-start;
margin-bottom: 30px;
}
.blog_heading {
margin-bottom: 30px;
}
.info_inner {
flex-direction: column;
align-items: flex-start;
}
.info_content {
margin-bottom: 30px;
}
.info_map {
height: 200px;
max-width: none;
}
.questions_inner img {
display: none;
}
.questions_content {
margin: 0;
width: 100%;
}
} }
/* ----------------------------------------------------1200--------------------------------------------------------- */ /* ----------------------------------------------------1200--------------------------------------------------------- */
@@ -1518,6 +1609,16 @@ body {
.header_img { .header_img {
max-width: 450px; max-width: 450px;
} }
.blog_item_info {
flex-direction: column;
margin: 0 0 8px;
}
.blog_info_el {
padding: 0;
}
.blog_info_el::after {
content: none;
}
} }
/* --------------------------------------------------1100------------------------------------------------------- */ /* --------------------------------------------------1100------------------------------------------------------- */
@@ -1636,8 +1737,35 @@ body {
} }
.program_image { .program_image {
max-width: 400px; max-width: 400px;
flex-shrink: 0;
}
.footer_top_wrapper {
max-width: 515px;
}
.footer_top_inner {
flex-direction: column;
gap: 0;
}
.footer_top_text {
max-width: 100%;
}
.footer_top_text {
margin-bottom: 18px;
}
.footer_socials {
margin-bottom: 18px;
}
.footer_top_col_inner {
margin-bottom: 18px;
} }
.footer_top_form,
.footer_form_desc {
max-width: 315px;
}
.footer_form_desc {
margin-bottom: 60px;
}
} }
/* --------------------------------------------------------700--------------------------------------------------------------------------- */ /* --------------------------------------------------------700--------------------------------------------------------------------------- */
@@ -1668,6 +1796,9 @@ body {
.testimonials_slide { .testimonials_slide {
padding: 30px 15px; padding: 30px 15px;
} }
.blog_item {
max-width: 520px;
}
} }
/* -------------------------------------------------------550------------------------------------------------------------------------ */ /* -------------------------------------------------------550------------------------------------------------------------------------ */
@@ -1731,6 +1862,97 @@ body {
.companies_grid { .companies_grid {
grid-template: repeat(4, auto) / repeat(3, 1fr); grid-template: repeat(4, auto) / repeat(3, 1fr);
} }
.program_acc_head {
font-size: inherit;
line-height: inherit;
}
.blog_item {
max-width: 420px;
}
.questions_form_row {
flex-direction: column;
}
.questions_form_label {
margin: 0 0 24px 0;
}
.questions_form_label:last-child {
margin: 0;
}
.questions_checkbox_label {
margin: 0 0 24px 0;
}
.questions_text_label {
font-size: 14px;
}
.questions_form_label {
font-size: 14px;
}
.questions_checkbox_label {
font-size: 14px;
}
.questions_form_input,
.questions_form_text {
margin-top: 0;
}
.footer_top_col_inner {
flex-direction: column;
}
.footer_top_col_inner {
gap: 30px;
}
.footer_top_title--slide {
margin: 0;
pointer-events: auto;
}
.footer_top_list {
margin-top: 12px;
display: none;
}
.footer_bottom_inner {
flex-direction: column-reverse;
align-items: center;
}
.footer_go_top {
margin-bottom: 15px;
}
.footer_copy {
text-align: center;
}
.main_about {
padding: 60px 0;
}
.about_createx {
margin-bottom: 40px;
}
.main_cert {
margin-top: 100px;
}
.main_team {
padding-top: 120px;
padding-bottom: 100px;
}
.main_testimonials {
padding-bottom: 100px;
}
.main_companies {
padding-bottom: 40px;
}
.main_program {
margin-top: 60px;
margin-bottom: 100px;
}
.main_blog {
margin-bottom: 100px;
}
.main_info {
margin-bottom: 100px;
}
.main_questions {
margin-bottom: 40px;
}
.footer_top {
margin-top: 60px;
}
} }
/* ------------------------------------------------------450------------------------------------------------------------- */ /* ------------------------------------------------------450------------------------------------------------------------- */
@@ -1766,9 +1988,16 @@ body {
.cert_logos-item:last-child { .cert_logos-item:last-child {
margin: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;
} }
.companies_grid { .companies_grid {
grid-template: repeat(6, auto) / repeat(2, 1fr); grid-template: repeat(6, auto) / repeat(2, 1fr);
} }
.blog_item {
max-width: 380px;
}
.info_socials_item {
margin-right: 15px;
}
} }