index.pug 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. div(id="app")
  2. header(class="header")
  3. nav(class="header__nav")
  4. div(class="header__nav-block")
  5. div(class="header__brand")
  6. img(src="/images/logo.png" alt="Браер-Колор" class="header__logo")
  7. span(class="header__company-name") Браер-Колор
  8. div(class="header__nav-menu")
  9. div(class="header__menu-item")
  10. router-link(to="/catalog" class="header__menu-link") Каталог
  11. div(class="header__menu-item")
  12. router-link(to="/blog" class="header__menu-link") Блог
  13. div(class="header__menu-item")
  14. router-link(to="/contacts" class="header__menu-link") Контакты
  15. div(class="header__menu-item")
  16. button(
  17. @click="toggleTheme"
  18. class="header__theme-toggle"
  19. ) {{ theme === 'light' ? '🌙' : '☀️' }}
  20. main(class="main")
  21. router-view(v-slot='{ Component }')
  22. transition(name='page-slide' mode='out-in')
  23. component(:is='Component')
  24. footer(class="footer")
  25. div(class="footer__content")
  26. div(class="footer__sections")
  27. div(class="footer__section")
  28. div(class="footer__brand")
  29. img(src="/images/logo.png" alt="Браер-Колор" class="footer__logo")
  30. h3(class="footer__section-title") Браер-Колор
  31. p(class="footer__section-text") Интернет-магазин лакокрасочной продукции
  32. div(class="footer__section")
  33. h3(class="footer__section-title") Контакты
  34. p(class="footer__section-text") Email: info@braer-color.ru
  35. p(class="footer__section-text") Телефон: +7 (999) 999-99-99
  36. div(class="footer__section")
  37. h3(class="footer__section-title") Быстрые ссылки
  38. div(class="footer__links")
  39. router-link(to="/catalog" class="footer__link") Каталог
  40. router-link(to="/blog" class="footer__link") Блог
  41. router-link(to="/about" class="footer__link") О компании