badretdinov_roman 2 anos atrás
commit
941f4855b2

+ 8 - 0
.idea/.gitignore

@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml

+ 8 - 0
.idea/ktk.iml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$" />
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>

+ 8 - 0
.idea/modules.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/ktk.iml" filepath="$PROJECT_DIR$/.idea/ktk.iml" />
+    </modules>
+  </component>
+</project>

+ 18 - 0
.idea/php.xml

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="MessDetectorOptionsConfiguration">
+    <option name="transferred" value="true" />
+  </component>
+  <component name="PHPCSFixerOptionsConfiguration">
+    <option name="transferred" value="true" />
+  </component>
+  <component name="PHPCodeSnifferOptionsConfiguration">
+    <option name="transferred" value="true" />
+  </component>
+  <component name="PhpStanOptionsConfiguration">
+    <option name="transferred" value="true" />
+  </component>
+  <component name="PsalmOptionsConfiguration">
+    <option name="transferred" value="true" />
+  </component>
+</project>

BIN
assets/img/gallery/1.jpg


BIN
assets/img/gallery/2.jpg


BIN
assets/img/gallery/3.jpg


BIN
assets/img/gallery/4.jpg


BIN
assets/img/gallery/5.jpg


Diferenças do arquivo suprimidas por serem muito extensas
+ 4 - 0
assets/img/logo.svg


BIN
assets/img/news/1.png


BIN
assets/img/news/2.png


BIN
assets/img/news/3.jpg


BIN
assets/img/slider/1.jpg


BIN
assets/img/slider/2.jpg


BIN
assets/img/slider/3.jpg


BIN
assets/img/slider/4.jpg


BIN
assets/img/slider/5.jpg


BIN
assets/img/slider/6.jpg


BIN
assets/img/slider/7.jpg


+ 19 - 0
assets/scripts/slider.js

@@ -0,0 +1,19 @@
+const swiper = new Swiper('.swiper', {
+    loop: true,
+    navigation: {
+        nextEl: '.swiper-button-next',
+        prevEl: '.swiper-button-prev',
+    },
+});
+
+var swiper2 = new Swiper(".mySwiper", {
+    lazy: true,
+    pagination: {
+        el: ".swiper-pagination",
+        clickable: true,
+    },
+    navigation: {
+        nextEl: ".swiper-button-next",
+        prevEl: ".swiper-button-prev",
+    },
+});

+ 360 - 0
assets/styles/styles.css

@@ -0,0 +1,360 @@
+:root {
+    --accent-color: #509853;
+    --bg-color: #fff;
+    --dark-color: #393939;
+    --white-color: #fff;
+    --black-color: #000;
+    --border-color: #EFEFEF;
+}
+
+* {
+    margin: 0;
+    padding: 0;
+    box-sizing: border-box;
+}
+
+body {
+    font-family: sans-serif;
+}
+
+a {
+    text-decoration: none;
+}
+
+[class*='__container'] {
+    max-width: 1200px;
+    padding: 0 15px;
+    margin: auto;
+}
+
+.header {
+
+}
+
+.header__nav {
+    background-color: var(--accent-color);
+    height: 50px;
+}
+
+.header__container {
+    height: 100%;
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
+}
+
+.header__nav-links {
+    display: flex;
+    gap: 16px;
+    align-items: center;
+}
+
+.header__nav-link {
+    color: var(--white-color);
+}
+
+.header__burger {
+    color: var(--white-color);
+    font-size: 24px;
+    cursor: pointer;
+}
+
+.header__nav-buttons {
+    display: flex;
+    gap: 16px;
+    align-items: center;
+    margin-left: 32px;
+}
+
+.header__nav-button {
+    color: var(--white-color);
+    font-size: 24px;
+}
+
+.header__sub {
+    padding: 40px 0;
+    background-color: var(--white-color);
+    border-bottom: 5px solid var(--accent-color);
+}
+
+.header__sub-wrapper {
+    width: 100%;
+    display: flex;
+    flex-direction: column;
+    gap: 32px;
+}
+
+.header__sub-top {
+    display: flex;
+    justify-content: space-between;
+}
+
+.header__info {
+    display: flex;
+    gap: 32px;
+    font-size: 16px;
+}
+
+.header__info-item {
+    display: flex;
+    gap: 8px;
+    align-items: center;
+    color: var(--dark-color);
+}
+
+.header__info-item i {
+    font-size: 24px;
+}
+
+.header__sub-bottom {
+    display: flex;
+    gap: 32px;
+    justify-content: space-between;
+}
+
+.header__link {
+    color: var(--dark-color);
+    font-size: 18px;
+}
+
+.slider {
+    padding: 64px 0;
+}
+
+.swiper-slide {
+    position: relative;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+}
+
+.slide__image {
+    width: 100%;
+}
+
+.slide__info {
+    position: absolute;
+    z-index: 2;
+    padding: 16px;
+    background-color: rgba(31, 31, 31, 0.8);
+    color: var(--white-color);
+    display: flex;
+    flex-direction: column;
+    gap: 16px;
+    right: 0;
+    min-width: 500px;
+    max-width: 600px;
+    align-items: flex-start;
+}
+
+.button {
+    padding: 8px 16px;
+    border: 1px solid var(--white-color);
+    background-color: inherit;
+    color: var(--white-color);
+    font-size: 16px;
+    border-radius: 2px;
+    cursor: pointer;
+    transition: all 0.5s;
+}
+
+.button:hover {
+    background-color: var(--white-color);
+    color: var(--dark-color);
+}
+
+.slider-button {
+    color: var(--white-color)!important;
+}
+
+.info-list {
+
+}
+
+.info-list__container {
+    display: flex;
+    gap: 16px;
+}
+
+.info-list__item {
+    flex: 1;
+    padding: 16px;
+    background-color: var(--accent-color);
+    color: var(--white-color);
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    gap: 16px;
+    font-size: 20px;
+}
+
+.important {
+    padding: 64px 0;
+}
+
+.title-block {
+    display: flex;
+    align-items: center;
+    gap: 12px;
+    margin-bottom: 32px;
+}
+
+.title-block hr {
+    flex: 1;
+    border: 3px solid var(--border-color);
+    margin-top: 8px;
+}
+
+.title {
+    font-size: 28px;
+    color: var(--dark-color);
+}
+
+.important__news {
+    display: flex;
+    flex-direction: column;
+    gap: 48px;
+}
+
+.i-news__image {
+    max-width: 350px;
+}
+
+.i-news {
+    display: flex;
+    gap: 16px;
+}
+
+.i-news__content {
+    display: flex;
+    flex-direction: column;
+    gap: 16px;
+}
+
+.i-news__date {
+    color: var(--accent-color);
+    font-weight: 600;
+}
+
+.news {
+    padding: 64px 0;
+}
+
+.news__list {
+    display: flex;
+    gap: 48px;
+    justify-content: space-between;
+    flex-wrap: wrap;
+}
+
+.news__item {
+    max-width: 350px;
+    display: flex;
+    flex-direction: column;
+    background-color: var(--white-color);
+    box-shadow: 0px 0px 57px -7px rgba(0, 0, 0, 0.14);
+    border-radius: 2px;
+    border-bottom: 2px solid var(--accent-color);
+}
+
+.news__item-img {
+    margin-bottom: 32px;
+}
+
+.news__item-button {
+    border: 1px solid var(--accent-color);
+    color: var(--accent-color);
+}
+
+.news__item-info {
+    padding: 0 16px 16px;
+    flex: 1;
+    display: flex;
+    flex-direction: column;
+    justify-content: space-between;
+}
+
+.news__item-title {
+    font-size: 18px;
+    margin-bottom: 20px;
+}
+
+.news__item-text {
+    margin-bottom: 32px;
+}
+
+.news__item-bottom {
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
+}
+
+.news__item-date {
+    color: var(--accent-color);
+}
+
+.news__item-button:hover {
+    background-color: var(--accent-color);
+    color: var(--white-color);
+}
+
+.gallery {
+    padding: 64px 0;
+}
+
+.footer {
+    padding: 64px 0;
+    background-color: var(--dark-color);
+    color: var(--white-color);
+}
+
+.footer__container {
+    display: flex;
+    flex-direction: column;
+    gap: 16px;
+}
+
+.footer__nav {
+    display: flex;
+    justify-content: space-between;
+    margin-bottom: 48px;
+}
+
+.footer__nav-link {
+    color: var(--white-color);
+    font-size: 16px;
+}
+
+.footer__social {
+    display: flex;
+    justify-content: center;
+    align-items: center;
+    gap: 32px;
+    margin-bottom: 32px;
+}
+
+.footer__social-item {
+    font-size: 16px;
+    color: var(--white-color);
+    display: flex;
+    align-items: center;
+    gap: 8px;
+}
+
+.footer__social-item i {
+    font-size: 24px;
+}
+
+.footer__copyright {
+    text-align: center;
+}
+
+.gallery .slide__image {
+    height: 800px;
+    object-fit: cover;
+}
+
+.slider .slide__image {
+    height: 500px;
+    object-fit: cover;
+}

Diferenças do arquivo suprimidas por serem muito extensas
+ 150 - 0
index.html


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff