feat: added header

gh-pages
Aliaksei Karzhou 1 year ago
parent 24da9d4df0
commit 8653542a07
  1. 133
      .gitignore
  2. 35
      README.md
  3. 11
      assets/css/gp-style-core.css
  4. 4
      assets/css/gp-style-desktop.css
  5. 5
      assets/css/gp-style-mobile.css
  6. 5
      assets/css/gp-style-tablet.css
  7. 2
      assets/css/gp-style-ultra.css
  8. 157
      assets/css/index.css
  9. BIN
      assets/img/favicon.ico
  10. 12
      assets/img/icons/phone.svg
  11. 10
      assets/img/icons/telegram.svg
  12. 10
      assets/img/icons/vk.svg
  13. 3
      assets/img/icons/whatsapp.svg
  14. 10
      assets/img/icons/youtube.svg
  15. 5
      assets/img/logo.svg
  16. 0
      assets/js/main.js
  17. 29
      assets/scss/_b-mixins.scss
  18. 44
      assets/scss/_b-reset.scss
  19. 9
      assets/scss/_b-vars.scss
  20. 2
      assets/scss/_l-footer.scss
  21. 28
      assets/scss/_l-header.scss
  22. 2
      assets/scss/_l-main.scss
  23. 15
      assets/scss/_m-button.scss
  24. 7
      assets/scss/_m-container.scss
  25. 42
      assets/scss/_m-logo.scss
  26. 35
      assets/scss/_m-social-link.scss
  27. 18
      assets/scss/index.scss
  28. 49
      index.html
  29. 37
      ui_kit.html

133
.gitignore vendored

@ -0,0 +1,133 @@
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# parcel-bundler cache (https://parceljs.org/)
.cache
# next.js build output
.next
# nuxt.js build output
.nuxt
# Nuxt generate
dist
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless
# IDE
.idea
.vscode
config.js
/yarn-error.log
package-lock.json
jsconfig.json
# GP | Files ext
*.sql
*.tgz
*.tar.gz
*.tar
*.rar
*.zip
*.wav
*.flv
*.db
*.psd
*.pdf
*.doc
*.docx
*.txt
*.text
*.log
*.config
*.xml
*.tbk
*.csv
*.json
# GP | Dirs & files
/bower_components/
/node_modules/
/nbproject/
/cache/
.cache/
/phpMyAdmin-*
/timthumb_cache/
/webstat/
/.idea/
/.csscomb.json
/.htaccess
/sitemap*.xml
/sftp-config.json
/robots.txt
/bower.json
/.bowerrc
/backup_rsync/
.bash_history
.idea/
.fleet/
.DS_Store
.config/
.bash*
.vim*
test*.php
gp-test*.php

@ -1 +1,34 @@
# triumph-clinic
# Требования к верстке
## С точки зрения веб-разработки:
* верстаем на чистом HTML/CSS с использованием flex и grid (без подключение библиотек типа bootstrap и т.п.)
* при именовании блоков используем методологию **БЭМ в стиле "Two Dashes"**:
`block-name__elem-name--mod-name--mod-val`
+ имена записываются латиницей в нижнем регистре
+ для разделения слов в именах БЭМ-сущностей используется дефис (-)
+ имя элемента отделяется от имени блока двумя подчеркиваниями (__)
+ модификаторы отделяются от имения блока или элемента двумя дефисами (--)
+ значение модификатора отделяется от его имени двумя дефисами (--)
* из конечного HTML-файла убрать все комментарии, если такие имеются
<!-- * для всех страниц прописывать уникальный класс в \<body\>, от которого строить CSS-правила -->
## С точки зрения SEO:
* все теги использовать строго по назначению! Текстовые (strong, b, i, em, h1-h6… p) используем только в текстовых блоках и заголовках. Для дизайна используем div и span. Например не нужно втыкать в подвал, шапку или формы захвата h4 или закрывать просто крупный текст, который не является заголовком в h2.
* на странице должен быть только один заголовок первого уровня (h1)
* должны присутствовать все основные теги и атрибуты — html, head, body, title, description, lang=ru, content=html, charset=utf8
* для кнопок, нажатие на которые не требует редиректа используем тег \<button\>, а не \<a\>
* для \<img\> самостоятельно проставляем атрибут alt="", со значением описывающим того что изображено на картинке
## Оптимальный порядок действий
1. Сначала определить CSS-переменные для основных цветов/градиентов, начертаний шрифтов (толщина, размер, модификация, межтрочный интервал) и занести в специально подгтовленный CSS-файл style-core.css
2. Все шрифты выкачать и сохранить локально в директорию /assets/fonts/ и подключить их в файле style-core.css
3. Далее начинать стоит с верстки UI kit (должен быть предоставлен в макете дизайнером), для того чтобы переиспользовать готовые элементы по ходу верстки макетов. Для удобства подготовлен файл "ui_kit.html"
3. Как UI kit будет готов, можно смело переходить к верстке основных листов макета "*.html"
### Примечания
Для работы с Figma рекомендуем использовать плагин ["Inspect Styles"](https://www.figma.com/community/plugin/1254262542670221199) для инспевтирования CSS-свойсв.

@ -0,0 +1,11 @@
/*
ШАБЛОН использования глобальных переменных:
:root {
--main-text: #e1667c;
--main-color: #8da6cb;
--font-family: "Craftwork Grotesk", sans-serif;
}
*/

@ -0,0 +1,4 @@
/* Стили для лептопов */
@media only screen and (max-width: 1720px) {
}

@ -0,0 +1,5 @@
/* Стили для мобильных устройств */
@media only screen and (max-width: 480px) {
}

@ -0,0 +1,5 @@
/* Стили для планшетов */
@media only screen and (max-width: 1024px) {
}

@ -0,0 +1,2 @@
/* Стили для ультрашироких экранов */
@media only screen and (min-width: 1720px) {}

@ -0,0 +1,157 @@
html {
font-size: 16px;
font-family: "Montserrat", sans-serif;
font-weight: 400;
font-style: normal;
scroll-behavior: smooth;
}
body {
position: relative;
margin: 0;
overflow-y: scroll;
color: #2d2d2d;
background-color: #ededed;
}
a,
button,
input,
textarea {
font-family: "Montserrat", sans-serif;
text-decoration: none;
}
a {
transition: all ease-in-out 0.1s;
}
a:hover {
color: #609eff;
}
a:active {
color: #3081ff;
}
figure {
margin: 0;
}
img {
max-width: 100%;
height: auto;
}
.container {
max-width: 1236px;
width: 100%;
margin: 0 auto;
padding: 0 15px;
box-sizing: border-box;
}
.logo__link {
display: flex;
align-items: center;
gap: 22px;
}
.logo__figure {
display: flex;
align-items: center;
justify-content: center;
}
.logo__figure-image {
display: block;
max-width: 100%;
width: 35px;
height: auto;
}
.logo__text {
display: flex;
flex-direction: column;
gap: 5px;
}
.logo__text-name {
font-weight: 600;
font-size: 26px;
letter-spacing: 0.04em;
text-transform: uppercase;
color: #2d2d2d;
}
.logo__text-slogan {
font-weight: 400;
font-size: 9px;
letter-spacing: 0.05em;
text-transform: uppercase;
color: #878787;
}
.social-link {
display: inline-block;
height: 29px;
width: 29px;
border-radius: 32px;
background-position: center;
background-repeat: no-repeat;
}
.social-link--whatsapp {
background-image: url(../img/icons/whatsapp.svg);
background-color: #2aa81a;
}
.social-link--whatsapp:active {
background-color: #42d030;
}
.social-link--tg {
background-image: url(../img/icons/telegram.svg);
background-color: #178ec9;
}
.social-link--tg:active {
background-color: #45b3ea;
}
.social-link--phone {
width: auto;
height: auto;
margin-left: 17px;
font-weight: 600;
font-size: 24px;
color: #2d2d2d;
}
.button {
border-radius: 100px;
background-color: #ffffff;
transition: all ease-in-out 0.1s;
cursor: pointer;
}
.button--order {
display: inline-block;
padding: 14px 29px;
font-weight: 500;
font-size: 14px;
letter-spacing: 0.01em;
border: 1px solid #cacaca;
}
.header {
padding: 26px 0 29px;
}
.header .container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
}
.header__nav {
display: flex;
align-items: center;
gap: 36px;
padding: 0 30px 0 35px;
}
.header__nav-link {
font-weight: 400;
font-size: 15px;
}
.header__social {
display: flex;
align-items: center;
gap: 17px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

@ -0,0 +1,12 @@
<svg width="11" height="11" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_189_16491)">
<path d="M5.88577 0.202488C5.88577 0.214269 5.86417 0.373311 5.83668 0.559843C5.8092 0.746374 5.7876 0.91327 5.7876 0.932905C5.7876 0.960394 5.81705 0.972175 5.94075 0.99181C6.54158 1.08802 7.2661 1.37076 7.79035 1.7183C8.11237 1.93232 8.31657 2.09725 8.5836 2.36232C9.27475 3.04562 9.72832 3.87225 9.94037 4.83043C9.97572 4.99929 9.9875 5.02678 10.0209 5.02285C10.1171 5.01499 10.7277 4.91093 10.7395 4.90111C10.7474 4.89522 10.7317 4.79116 10.7061 4.67138C10.335 2.95726 9.20014 1.50232 7.62935 0.730666C7.13259 0.48523 6.62993 0.31637 6.16066 0.235867C6.05856 0.218196 5.95449 0.198561 5.93093 0.19267C5.90541 0.18678 5.88577 0.190707 5.88577 0.202488Z" fill="white"/>
<path d="M2.24167 1.16862C2.05121 1.20789 1.96482 1.27465 1.4602 1.77534C1.19317 2.04041 0.941841 2.30352 0.906498 2.36046C0.55307 2.90238 0.659099 3.80166 1.21673 5.01313C1.84308 6.36794 2.9662 7.73452 4.25621 8.70841C5.01608 9.28175 5.92124 9.77459 6.6713 10.0259C7.29176 10.2321 7.87491 10.291 8.24601 10.183C8.52483 10.1025 8.5857 10.0554 9.1394 9.50559C9.60474 9.04221 9.65972 8.97937 9.71666 8.85764C9.77164 8.73983 9.78146 8.6986 9.78146 8.57097C9.78146 8.44334 9.77164 8.40211 9.71666 8.2843C9.65776 8.15864 9.60082 8.09581 8.94305 7.44C8.36382 6.86274 8.21263 6.72136 8.12428 6.68013C7.97505 6.60748 7.83564 6.58392 7.70802 6.60748C7.49596 6.64872 7.41546 6.70762 6.92459 7.19064C6.66933 7.44196 6.44549 7.64813 6.42782 7.64813C6.37874 7.64813 5.91732 7.41055 5.73864 7.29274C5.04356 6.84114 4.25621 6.07341 3.75159 5.35871C3.5788 5.11327 3.4983 4.97779 3.38245 4.73824C3.30981 4.58902 3.29213 4.536 3.30392 4.49281C3.31177 4.45746 3.4767 4.27682 3.76533 3.98623C4.16785 3.58175 4.22283 3.51892 4.27584 3.39915C4.37991 3.17334 4.35634 2.95736 4.20908 2.73352C4.17178 2.67658 3.83798 2.32904 3.46688 1.95991C2.86213 1.35712 2.77966 1.28251 2.66578 1.22949C2.52637 1.1647 2.36733 1.1431 2.24167 1.16862Z" fill="white"/>
<path d="M5.78184 2.24647C5.75435 2.38784 5.68367 2.95529 5.69152 2.96314C5.69545 2.96903 5.77006 2.9867 5.85646 3.00437C6.86372 3.2125 7.66679 3.99593 7.9083 5.00517C7.9299 5.0896 7.94757 5.16224 7.9515 5.16421C7.96131 5.17206 8.69369 5.04247 8.70351 5.03265C8.71726 5.02087 8.68388 4.85398 8.63086 4.67334C8.27744 3.4226 7.22501 2.46441 5.94089 2.2229L5.79166 2.19542L5.78184 2.24647Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_189_16491">
<rect width="10.0531" height="10.0531" fill="white" transform="translate(0.702148 0.186768)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

@ -0,0 +1,10 @@
<svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_141_8294)">
<path d="M5.24532 8.06264L5.04081 10.9392C5.33341 10.9392 5.46014 10.8136 5.61211 10.6626L6.98396 9.35155L9.82657 11.4333C10.3479 11.7238 10.7152 11.5708 10.8558 10.9537L12.7217 2.21052L12.7222 2.21C12.8876 1.43933 12.4435 1.13797 11.9356 1.32703L0.968014 5.52603C0.219498 5.81658 0.230831 6.23385 0.840771 6.42291L3.64474 7.29506L10.1578 3.2197C10.4643 3.01673 10.743 3.12903 10.5138 3.332L5.24532 8.06264Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_141_8294">
<rect width="12.3636" height="12.3636" fill="white" transform="translate(0.394043 0.242188)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 722 B

@ -0,0 +1,10 @@
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_141_6953)">
<path d="M14.1283 10.8488C14.0901 10.7848 13.8533 10.2704 12.7142 9.21306C11.5216 8.10592 11.6818 8.2857 13.1182 6.37135C13.9931 5.20547 14.3428 4.49349 14.2334 4.18911C14.1292 3.89898 13.4858 3.97552 13.4858 3.97552L11.3463 3.98798C11.3463 3.98798 11.1878 3.96662 11.0695 4.03693C10.9547 4.10634 10.8808 4.26654 10.8808 4.26654C10.8808 4.26654 10.5417 5.16898 10.0896 5.93615C9.13644 7.55502 8.75464 7.64046 8.59889 7.53989C8.23667 7.30583 8.32745 6.59829 8.32745 6.09634C8.32745 4.52731 8.56507 3.87317 7.86377 3.70407C7.63059 3.648 7.45972 3.61062 6.86432 3.60439C6.10071 3.59638 5.4537 3.60706 5.08792 3.78595C4.84406 3.90521 4.65627 4.17131 4.77108 4.18644C4.91259 4.20513 5.23298 4.27277 5.40297 4.50417C5.62279 4.80231 5.61478 5.47336 5.61478 5.47336C5.61478 5.47336 5.74116 7.32007 5.3202 7.54968C5.03096 7.70721 4.63491 7.38593 3.78498 5.91657C3.34978 5.16453 3.02049 4.3324 3.02049 4.3324C3.02049 4.3324 2.9573 4.17754 2.84427 4.09477C2.70721 3.99421 2.51498 3.96217 2.51498 3.96217L0.480481 3.97463C0.480481 3.97463 0.175217 3.98353 0.0630793 4.11613C-0.0365986 4.2345 0.0550695 4.47836 0.0550695 4.47836C0.0550695 4.47836 1.64814 8.20471 3.45124 10.0835C5.10572 11.8056 6.98358 11.6925 6.98358 11.6925H7.8344C7.8344 11.6925 8.0916 11.6641 8.22243 11.5226C8.34347 11.3926 8.33902 11.1488 8.33902 11.1488C8.33902 11.1488 8.32211 10.0069 8.85254 9.83872C9.37496 9.67318 10.046 10.9423 10.7571 11.4309C11.2946 11.8002 11.7031 11.7192 11.7031 11.7192L13.605 11.6925C13.605 11.6925 14.6 11.6311 14.1283 10.8488Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_141_6953">
<rect width="14.2386" height="14.2386" fill="white" transform="translate(0.0166016 0.544922)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

@ -0,0 +1,3 @@
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.29622 0.570297C5.31234 0.664608 4.5706 0.878718 3.76514 1.29419C2.53655 1.93143 1.54502 2.94335 0.93073 4.18723C0.693679 4.66388 0.584075 4.957 0.459178 5.42601C0.306242 6.01736 0.260361 6.37676 0.257812 7.02928C0.257812 7.35555 0.270557 7.7073 0.2884 7.84494C0.428591 8.89 0.754854 9.78977 1.30287 10.6309L1.4864 10.9139L1.08112 12.1093C0.856811 12.7695 0.678386 13.3098 0.683484 13.3149C0.688581 13.32 1.24425 13.1467 1.92226 12.9301C2.60028 12.7134 3.16359 12.535 3.17634 12.535C3.18653 12.535 3.29104 12.5936 3.40829 12.6675C3.52554 12.7389 3.77024 12.8714 3.95121 12.9581C5.60037 13.7457 7.48403 13.8145 9.17142 13.1442C11.0831 12.3871 12.5513 10.7278 13.0764 8.73452C13.237 8.12277 13.2752 7.78886 13.2752 7.08026C13.2752 6.37166 13.237 6.03775 13.0764 5.42601C12.4595 3.08864 10.5861 1.27125 8.22067 0.718136C7.82303 0.626374 7.41011 0.577945 6.90797 0.570297C6.62758 0.5652 6.3523 0.5652 6.29622 0.570297ZM4.74138 3.59333C4.78471 3.61627 4.84334 3.67744 4.87392 3.73352C4.94784 3.86861 5.56978 5.35974 5.58762 5.4515C5.61056 5.5662 5.49586 5.76247 5.24352 6.04795C4.97843 6.34617 4.92235 6.44048 4.94529 6.54754C4.98862 6.74125 5.57743 7.52378 5.94192 7.86788C6.50524 8.40061 7.35658 8.90785 7.73637 8.93588C7.93264 8.94863 8.00146 8.8951 8.30223 8.49747C8.43732 8.31649 8.58006 8.13552 8.6234 8.09474C8.72026 7.99533 8.86554 7.97494 9.03123 8.03611C9.24024 8.11513 10.5223 8.73962 10.6141 8.80844L10.7008 8.87216L10.6855 9.14235C10.6498 9.83566 10.4051 10.1951 9.76277 10.5086C9.15102 10.8068 8.67183 10.7992 7.73637 10.4754C6.4772 10.0396 5.81193 9.62409 4.90706 8.71413C4.45335 8.26042 4.13218 7.87553 3.76514 7.3479C3.15849 6.48126 2.92654 5.8109 2.99536 5.13033C3.05144 4.58486 3.24261 4.18213 3.6275 3.79724C3.81357 3.61117 4.05572 3.5347 4.42276 3.54745C4.57825 3.55254 4.69295 3.56784 4.74138 3.59333Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -0,0 +1,10 @@
<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_141_6948)">
<path d="M3.14194 2.57611C1.61123 2.6973 0.876171 3.15836 0.628517 4.15952C0.512593 4.62585 0.507324 4.76812 0.507324 7.0655C0.507324 9.41822 0.515228 9.55522 0.652228 10.0953C0.965748 11.3151 1.75877 11.8658 3.4054 12.0054C3.64252 12.0265 4.91504 12.0318 7.52858 12.0239C11.5437 12.0133 11.4436 12.016 12.0206 11.8895C13.0244 11.6708 13.5935 11.1123 13.8253 10.1243C13.9571 9.55522 13.965 9.42349 13.9755 7.39483C13.9913 4.9341 13.9571 4.41244 13.7436 3.86444C13.4591 3.12411 12.9032 2.78688 11.6781 2.60773C11.4225 2.56821 10.9193 2.56294 7.41002 2.55767C5.22329 2.55504 3.30265 2.56294 3.14194 2.57611ZM6.22181 5.34246C6.343 5.37671 9.08037 6.7915 9.20947 6.88635C9.42287 7.04706 9.43605 7.35795 9.23582 7.545C9.2042 7.57662 8.52447 7.94283 7.72618 8.3591C6.49054 9.00458 6.2587 9.11787 6.14541 9.12577C5.96625 9.13895 5.82398 9.05727 5.74495 8.89656L5.68435 8.78064V7.2552C5.68435 6.18554 5.69225 5.69814 5.71333 5.627C5.75022 5.50317 5.8556 5.40042 5.98996 5.353C6.11643 5.30821 6.09798 5.30821 6.22181 5.34246Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_141_6948">
<rect width="13.4892" height="13.4892" fill="white" transform="translate(0.494141 0.544922)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

@ -0,0 +1,5 @@
<svg width="35" height="41" viewBox="0 0 35 41" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8.99414 3.23438C2.65918 5.25293 0.62793 5.95117 0.462891 6.16699C0.24707 6.4209 0.234375 7.09375 0.234375 16.5518V26.6572L0.805664 27.6602C1.73242 29.2852 2.69727 30.4912 4.60156 32.3701C7.30566 35.0488 9.99707 36.9277 13.8818 38.832C15.0752 39.416 16.3701 40.0254 16.7637 40.1904L17.4873 40.4697L18.4141 40.1143C19.7979 39.5557 23.2256 37.8037 24.7109 36.877C28.7607 34.3379 32.4424 30.7832 34.1689 27.6982L34.7656 26.6572V16.5518C34.7656 7.04297 34.7529 6.4209 34.5371 6.1543C34.3721 5.93848 32.3916 5.26562 25.9678 3.22168C21.3721 1.76172 17.5381 0.568359 17.4619 0.581055C17.373 0.581055 13.5645 1.77441 8.99414 3.23438ZM25.2949 4.88477C29.4717 6.20508 32.9121 7.29688 32.9375 7.29688C32.9629 7.29688 32.9883 11.5244 32.9883 16.7041V26.1113L32.6074 26.835C31.96 28.0537 30.6777 29.6406 29.1035 31.1641C26.9707 33.2461 24.7109 34.8965 21.8164 36.4961C20.6104 37.1689 17.7031 38.5273 17.4873 38.5273C17.2588 38.5273 14.2373 37.0674 12.8027 36.2676C8.34668 33.7793 4.5127 30.3389 2.50684 27.0381L2.01172 26.2129V16.7803V7.34766L4.08105 6.6748C13.1201 3.78027 17.2207 2.49805 17.4365 2.48535C17.5889 2.47266 21.1182 3.55176 25.2949 4.88477Z" fill="#5D9CFF"/>
<path d="M10.8604 6.89062C6.48047 8.2998 4.60156 8.95996 4.47461 9.13769C4.32227 9.34082 4.29688 10.7119 4.29688 17.5039V25.6416L5.02051 26.7207C6.44238 28.8027 8.87988 31.0752 11.7617 32.9795C13.3613 34.0459 17.0684 35.9883 17.5 35.9883C17.8428 35.9883 20.4453 34.6934 22.1719 33.665C25.2061 31.8496 28.5068 28.917 29.9795 26.7207L30.7031 25.6416V17.5039C30.7031 9.9248 30.6904 9.34082 30.4873 9.09961C30.2334 8.79492 18.4395 4.99902 17.5635 4.93554C17.1826 4.91015 15.4941 5.40527 10.8604 6.89062ZM23.3018 8.51562L28.9258 10.2803V17.7324V25.1846L28.1768 26.1748C27.3516 27.2666 25.3457 29.2598 24.1523 30.1738C22.8193 31.1895 20.7246 32.4971 19.0869 33.335L17.5 34.1475L15.9131 33.335C14.1992 32.459 12.0918 31.1387 10.7715 30.1104C9.47656 29.0947 7.63574 27.2539 6.82324 26.1748L6.07422 25.1719V17.7324V10.2803L11.7617 8.47754C14.8848 7.4873 17.5 6.70019 17.5635 6.71289C17.6396 6.72558 20.2168 7.53808 23.3018 8.51562Z" fill="#5D9CFF"/>
<path d="M12.8407 13.251C12.0028 13.4668 11.0253 14.0508 10.4794 14.6602C9.15907 16.1328 8.84169 17.8467 9.52723 19.7383C9.76844 20.3604 10.162 20.8174 13.4755 24.1436C16.4081 27.1016 17.246 27.8633 17.4999 27.8633C17.7538 27.8633 18.5917 27.1016 21.5243 24.1436C24.8378 20.8174 25.2313 20.3604 25.4725 19.7383C25.8153 18.7861 25.9169 17.8975 25.7645 17.1104C25.079 13.5557 21.0038 11.9814 18.16 14.1523L17.4872 14.6729L16.9667 14.2158C16.6747 13.9746 16.1161 13.6572 15.7352 13.5049C14.9608 13.2129 13.5009 13.0859 12.8407 13.251ZM14.872 15.0664C15.1766 15.1553 15.7098 15.5234 16.2431 16.0186C17.411 17.085 17.5888 17.085 18.7694 15.9932C19.7723 15.0791 20.3309 14.8506 21.3847 14.9395C22.705 15.0537 23.7079 15.9805 23.9999 17.3389C24.1141 17.9102 24.1015 18.1514 23.9237 18.7861C23.7079 19.5225 23.5936 19.6494 20.5975 22.6582L17.5126 25.7686L14.5927 22.8613C12.6757 20.9443 11.5585 19.7256 11.33 19.3066C10.0604 16.9707 12.2948 14.292 14.872 15.0664Z" fill="#5D9CFF"/>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

@ -0,0 +1,29 @@
@mixin desktop {
@media (max-width: 1240px) {
@content;
}
}
@mixin laptop {
@media (max-width: 992px) {
@content;
}
}
@mixin tablet {
@media (max-width: 768px) {
@content;
}
}
@mixin mobile {
@media (max-width: 576px) {
@content;
}
}
@mixin mobilesm {
@media (max-width: 400px) {
@content;
}
}

@ -0,0 +1,44 @@
html {
font-size: 16px;
font-family: 'Montserrat', sans-serif;
font-weight: 400;
font-style: normal;
scroll-behavior: smooth;
}
body {
position: relative;
margin: 0;
overflow-y: scroll;
color: $black;
background-color: $greybg;
}
a,
button,
input,
textarea {
font-family: 'Montserrat', sans-serif;
text-decoration: none;
}
a {
transition: all ease-in-out 0.1s;
&:hover {
color: $blue;
}
&:active {
color: $darkblue;
}
}
figure {
margin: 0;
}
img {
max-width: 100%;
height: auto;
}

@ -0,0 +1,9 @@
// colors
$black: #2d2d2d;
$grey: #878787;
$lightgrey: #cacaca;
$blue: #609eff;
$darkblue: #3081ff;
$greybg: #ededed;
$white: #ffffff;

@ -0,0 +1,28 @@
.header {
padding: 26px 0 29px;
& .container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
}
&__nav {
display: flex;
align-items: center;
gap: 36px;
padding: 0 30px 0 35px;
&-link {
font-weight: 400;
font-size: 15px;
}
}
&__social {
display: flex;
align-items: center;
gap: 17px;
}
}

@ -0,0 +1,15 @@
.button {
border-radius: 100px;
background-color: $white;
transition: all ease-in-out 0.1s;
cursor: pointer;
&--order {
display: inline-block;
padding: 14px 29px;
font-weight: 500;
font-size: 14px;
letter-spacing: 0.01em;
border: 1px solid #cacaca;
}
}

@ -0,0 +1,7 @@
.container {
max-width: 1236px;
width: 100%;
margin: 0 auto;
padding: 0 15px;
box-sizing: border-box;
}

@ -0,0 +1,42 @@
.logo {
&__link {
display: flex;
align-items: center;
gap: 22px;
}
&__figure {
display: flex;
align-items: center;
justify-content: center;
&-image {
display: block;
max-width: 100%;
width: 35px;
height: auto;
}
}
&__text {
display: flex;
flex-direction: column;
gap: 5px;
&-name {
font-weight: 600;
font-size: 26px;
letter-spacing: 0.04em;
text-transform: uppercase;
color: $black;
}
&-slogan {
font-weight: 400;
font-size: 9px;
letter-spacing: 0.05em;
text-transform: uppercase;
color: $grey;
}
}
}

@ -0,0 +1,35 @@
.social-link {
display: inline-block;
height: 29px;
width: 29px;
border-radius: 32px;
background-position: center;
background-repeat: no-repeat;
&--whatsapp {
background-image: url(../img/icons/whatsapp.svg);
background-color: #2aa81a;
&:active {
background-color: #42d030;
}
}
&--tg {
background-image: url(../img/icons/telegram.svg);
background-color: #178ec9;
&:active {
background-color: #45b3ea;
}
}
&--phone {
width: auto;
height: auto;
margin-left: 17px;
font-weight: 600;
font-size: 24px;
color: $black;
}
}

@ -0,0 +1,18 @@
// Base
@import './b-vars';
@import './b-mixins';
@import './b-reset';
// Modules
@import './m-container';
@import './m-logo';
@import './m-social-link';
@import './m-button';
// Layouts
@import './l-header';
@import './l-main';
@import './l-footer';

@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<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>
<meta name="description" content="SEO Description" />
<link rel="shortcut icon" href="/assets/img/favicon.ico?v=1.0" />
<link rel="stylesheet" href="/assets/css/index.css" />
</head>
<body>
<header class="header">
<div class="container">
<div class="logo">
<a class="logo__link" href="./">
<figure class="logo__figure">
<img class="logo__figure-image" src="./assets/img/logo.svg" alt="logo" />
</figure>
<div class="logo__text">
<span class="logo__text-name">Триумф</span>
<span class="logo__text-slogan">Cобственная победа</span>
</div>
</a>
</div>
<nav class="header__nav">
<a class="header__nav-link" href="#">О центре</a>
<a class="header__nav-link" href="#">Цены</a>
<a class="header__nav-link" href="#">Частые вопросы</a>
<a class="header__nav-link" href="#">Контакты</a>
</nav>
<div class="header__social">
<a class="social-link social-link--whatsapp" href="#"></a>
<a class="social-link social-link--tg" href="#"></a>
<a class="social-link social-link--phone" href="tel:88001012127">8 (800) 101-21-27</a>
</div>
<div class="header__buttons">
<button class="button button--order">Заказать звонок</button>
</div>
</div>
</header>
<script src="/assets/js/main.js"></script>
</body>
</html>

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<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>UI kit</title>
<link rel="stylesheet" type="text/css" href="/assets/css/style-core.css">
</head>
<style>
/* Стили для выравнивания UI-элеметнов */
.ui__ui-wrapper{
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-column-gap: 30px;
grid-row-gap: 30px;
width: 100vw;
min-height: 100vh;
}
.ui,
.ui__item{
display: flex;
justify-content: center;
align-items: center;
}
</style>
<body class="ui">
<div class="ui__ui-wrapper">
<div class="ui__item"></div>
<div class="ui__item"></div>
<div class="ui__item"></div>
<!-- ... -->
<div class="ui__item"></div>
</div>
</body>
</html>
Loading…
Cancel
Save