0.0.235 add scroll to element in static pages

This commit is contained in:
2023-11-19 16:44:26 +03:00
parent a3ef86ba37
commit 70df8a53c8
5 changed files with 26 additions and 18 deletions

View File

@@ -4,8 +4,12 @@
<div id=title_static>{% blocktrans %}Отправляй <span class="color_title">посылку</span> в любую точку мира!{% endblocktrans %}</div>
<span id="sub_title_static">{{ page.description }}</span>
<div class="button_container">
<button id="more_button">{% translate "Узнать подробнее" %}</button>
<button id="how_it_work_b">{% translate "Как это работает?" %}</button>
<button
onclick="document.location='{% url 'profile_page' 'create_route_for_customer' %}'"
id="more_button">{% translate "Отправить посылку" %}</button>
<button
onclick= "document.location='#title_static'"
id="how_it_work_b">{% translate "Как это работает?" %}</button>
</div>
</div>
</div>
@@ -13,7 +17,7 @@
<div class="mid_block_static">
<div id="title_static">{% translate "О сервисе Trip With Bonus" %}</div>
<div class="text_wrapper">
<div class="text_wrapper" id="scroll_to_wrapper">
<span>{% translate "Trip With Bonus- это сервис, который соединяет отправителя посылки и перевозчика." %}</span>
@@ -43,7 +47,9 @@
<div class="button_container">
<button id="more_button">{% translate "Читать подробнее" %}</button>
<button
onclick="document.location = '/ru/page/partners/'"
id="more_button">{% translate "Читать подробнее" %}</button>
</div>
<img src="/static/img/png/Box5.png" alt="">