Fix home button routes and login redirects
All checks were successful
Build and Push Docker Image / build (push) Successful in 41s
All checks were successful
Build and Push Docker Image / build (push) Successful in 41s
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
<ul>
|
||||
<li><a href="/catalog/">Каталог</a></li>
|
||||
<li><a href="{% url 'services' %}">Услуги</a></li>
|
||||
<li><a href="/catalog/">Акции</a></li>
|
||||
<li><a href="/catalog/">Новинки</a></li>
|
||||
<li><a href="/catalog/?sale=1">Акции</a></li>
|
||||
<li><a href="/catalog/?new=1">Новинки</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer-col">
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
<div class="flex-right">
|
||||
<h3 class="advantages-card-splash">Новинки в каталоге</h3>
|
||||
<h2 class="advantages-card-title text-align-right">Сантехническое оборудование</h2>
|
||||
<a href="/catalog?category=plumbing" class="advantages-card-button">Смотреть</a>
|
||||
<a href="{{ home_advantages_left_url }}" class="advantages-card-button">Смотреть</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -73,7 +73,7 @@
|
||||
<div class="advantages-card-content">
|
||||
<h3 class="advantages-card-splash">Большая распродажа</h3>
|
||||
<h2 class="advantages-card-title">Предметы декора</h2>
|
||||
<a href="/catalog?category=decoration" class="advantages-card-button">Смотреть</a>
|
||||
<a href="{{ home_advantages_right_url }}" class="advantages-card-button">Смотреть</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -93,4 +93,4 @@
|
||||
prevEl: '#advantages-nav-prev',
|
||||
},
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="kitchen-content">
|
||||
<p>Успей заказать с большой выгодой и получите доставку в подарок!</p>
|
||||
<h2>ГОТОВОЕ РЕШЕНИЕ ДЛЯ КУХНИ</h2>
|
||||
<a href="#">Перейти</a>
|
||||
<a href="/catalog/?sale=1">Перейти</a>
|
||||
</div>
|
||||
{# <img src="{% static 'img/kitchen-banner.jpg' %}" alt="">#}
|
||||
</section>
|
||||
</section>
|
||||
|
||||
@@ -25,6 +25,9 @@
|
||||
<section class="auth-panel" aria-labelledby="login-title">
|
||||
<form class="auth-form" action="" method="post">
|
||||
{% csrf_token %}
|
||||
{% if next_url %}
|
||||
<input type="hidden" name="next" value="{{ next_url }}">
|
||||
{% endif %}
|
||||
{% if form.non_field_errors %}
|
||||
<div class="auth-alert auth-alert--error">
|
||||
{% for error in form.non_field_errors %}
|
||||
|
||||
Reference in New Issue
Block a user