feat: добавить хлебные крошки и стили для страницы "Услуги"
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
- Создан фрагмент `_fragments/breadcrumbs.html` для отображения цепочки навигации - Обновлён шаблон `services.html` с интеграцией хлебных крошек и новым содержанием - Добавлен файл `services.css` для стилизации раздела "Услуги" - Расширены стили breadcrumbs в `style.css` - Уточнены размеры и отступы в стилях главной страницы (index.css) - Добавлено фоновое изображение `services-bg.png` для секции "Услуги"
This commit is contained in:
17
templates/_fragments/breadcrumbs.html
Normal file
17
templates/_fragments/breadcrumbs.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<div class="container breadcrumbs-container">
|
||||
<div class="breadcrumbs-line">
|
||||
<a href="{{ url_1 }}">{{ text_1 }}</a>
|
||||
{% if text_2 != None %}
|
||||
<span> > </span>
|
||||
<a href="{{ url_2 }}">{{ text_2 }}</a>
|
||||
{% if text_3 != None %}
|
||||
<span> > </span>
|
||||
<a href="{{ url_3 }}">{{ text_3 }}</a>
|
||||
{% if text_4 != None %}
|
||||
<span> > </span>
|
||||
<a href="{{ url_4 }}">{{ text_4 }}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user