1.1.23 add h1 for all pages

This commit is contained in:
2024-07-01 17:53:54 +03:00
parent 2400c334a9
commit 38c4f3426d
11 changed files with 39 additions and 15 deletions

View File

@@ -1515,6 +1515,10 @@
@media (max-width: 950px){ @media (max-width: 950px){
#title_static_small{
display: none;
}
.info_profile{ .info_profile{
width: 65%; width: 65%;
float: none; float: none;

View File

@@ -2265,7 +2265,7 @@ button.cancel_remove.show, button.confirm_remove.show{
font-size: 26px; font-size: 26px;
} }
#title_static{ #title_static, #title_static_small{
text-align: center; text-align: center;
font-size: 44px; font-size: 44px;
font-style: normal; font-style: normal;
@@ -2275,6 +2275,10 @@ button.cancel_remove.show, button.confirm_remove.show{
} }
#title_static_small{
font-size: 34px;
}
.ta_center{ .ta_center{
margin: 120px auto 40px; margin: 120px auto 40px;
} }
@@ -2337,12 +2341,12 @@ span#sub_title_static{
height: 60px; height: 60px;
} }
.top_block_static{ .top_block_static {
position: relative; position: relative;
width: 90%; width: 90%;
height: 194px; height: 270px;
margin: 0 auto 0; margin: 0 auto 0;
padding: 60px 40px 0 40px; padding: 40px 40px 0 40px;
} }
.top_block_static_wrapper{ .top_block_static_wrapper{
@@ -2376,10 +2380,10 @@ span#sub_title_static{
url(/static/img/png/Box8.png), url(/static/img/png/Box8.png),
url(/static/img/png/Box4.png); url(/static/img/png/Box4.png);
background-position: background-position:
bottom -31px left -13px, bottom 26px left -13px,
top 159px left 242px, top 159px left 242px,
top 0px right -15px, top 34px right -19px,
top 146px right 215px; top 145px right 215px;
background-repeat: background-repeat:
no-repeat, no-repeat,
no-repeat, no-repeat,

View File

@@ -5,6 +5,11 @@
<link rel="stylesheet" href="{% static 'css/ion.rangeSlider.min.css' %}"> <link rel="stylesheet" href="{% static 'css/ion.rangeSlider.min.css' %}">
{% if owner_type == 'customer' %}
<h1 id=title_static_small>{% trans "Отправки посылки TripWB по всему миру"%}</h1>
{% elif owner_type == 'mover' %}
<h1 id=title_static_small>{% trans "Перевозки посылок TripWB"%}</h1>
{% endif %}
<form class = "new_route" name="new_route" method="post"> <form class = "new_route" name="new_route" method="post">
{% csrf_token %} {% csrf_token %}

View File

@@ -2,6 +2,7 @@
<div class="top_block_static_wrapper"> <div class="top_block_static_wrapper">
<div class="top_block_static"> <div class="top_block_static">
<div id=title_static>{% blocktrans %}Отправляй <span class="color_title">посылку</span> в любую точку мира!{% endblocktrans %}</div> <div id=title_static>{% blocktrans %}Отправляй <span class="color_title">посылку</span> в любую точку мира!{% endblocktrans %}</div>
<h1 id=title_static>{% blocktrans %}О сервисе <span class="color_title">TripWB</span> {% endblocktrans %}</h1>
<span id="sub_title_static">{{ page.description }}</span> <span id="sub_title_static">{{ page.description }}</span>
<div class="button_container"> <div class="button_container">
<button <button

View File

@@ -5,7 +5,8 @@
<div class="top_block_static_wrapper"> <div class="top_block_static_wrapper">
<div class="top_block_static"> <div class="top_block_static">
<h2 id=title_static>{{ page.title }}</h2> {# <h2 id=title_static>{{ page.title }}</h2>#}
<h1 id=title_static>{% blocktrans %}Услуги по рекламе и сотрудничеству с <span class="color_title">TripWB</span>{% endblocktrans %}</h1>
<span id="sub_title_static">{{ page.description }}</span> <span id="sub_title_static">{{ page.description }}</span>
<div class="button_container"> <div class="button_container">
<a class="btn_a_anchor partners" href="#scroll_to_form" id="how_it_work_b"> <a class="btn_a_anchor partners" href="#scroll_to_form" id="how_it_work_b">

View File

@@ -2,7 +2,8 @@
{% load static %} {% load static %}
{% if page.url == 'contacts' or page.url == 'about_service' %} {% if page.url == 'contacts' or page.url == 'about_service' %}
<div id=title_static>{% blocktrans %}Мы всегда на <span class="color_title">связи!</span>{% endblocktrans %}</div> {# <div id=title_static>{% blocktrans %}Мы всегда на <span class="color_title">связи!</span>{% endblocktrans %}</div>#}
<h1 id=title_static>{% blocktrans %}Форма <span class="color_title">связи!</span> TripWB {% endblocktrans %}</h1>
<span id="sub_title_static">{% translate "У вас есть вопрос? Отправьте нам сообщение" %}</span> <span id="sub_title_static">{% translate "У вас есть вопрос? Отправьте нам сообщение" %}</span>
{% endif %} {% endif %}

View File

@@ -6,7 +6,8 @@
{% endif %} {% endif %}
{% if page.url == 'customer_service' %} {% if page.url == 'customer_service' %}
<h2 id=title_static>{% translate "Служба поддержки" %}</h2> {# <h2 id=title_static>{% translate "Служба поддержки" %}</h2>#}
<h1 id=title_static>{% blocktrans %}Служба поддержки <span class="color_title">TripWB</span>{% endblocktrans %}</h1>
<span id="sub_title_static">{% translate "Пожалуйста опишите Ваш вопрос максимально подробно, а также укажите Ваш e-mail для обратной связи." %}</span> <span id="sub_title_static">{% translate "Пожалуйста опишите Ваш вопрос максимально подробно, а также укажите Ваш e-mail для обратной связи." %}</span>
{% endif %} {% endif %}

View File

@@ -6,10 +6,12 @@
<div class="top_block_static"> <div class="top_block_static">
{% if page.url == 'for_customers' %} {% if page.url == 'for_customers' %}
<div id=title_static>{% blocktrans %}Отправляй <span class="color_title">посылку</span> в любую точку мира!{% endblocktrans %}</div> {# <div id=title_static>{% blocktrans %}Отправляй <span class="color_title">посылку</span> в любую точку мира!{% endblocktrans %}</div>#}
<h1 id=title_static>{% blocktrans %}Отправить <span class="color_title">посылку</span> TripWB по всему миру{% endblocktrans %}</h1>
{% endif %} {% endif %}
{% if page.url == 'for_movers' %} {% if page.url == 'for_movers' %}
<div id=title_static>{% blocktrans %}Путешествуй по миру и <span class="color_title">перевози</span> посылки!{% endblocktrans %}</div> {# <div id=title_static>{% blocktrans %}Путешествуй по миру и <span class="color_title">перевози</span> посылки!{% endblocktrans %}</div>#}
<h1 id=title_static>{% blocktrans %}Перевезти <span class="color_title">посылку</span> TripWB{% endblocktrans %}</h1>
{% endif %} {% endif %}
{% if page.url == 'for_customers' %} {% if page.url == 'for_customers' %}

View File

@@ -2,7 +2,8 @@
<div class="top_block_static_wrapper"> <div class="top_block_static_wrapper">
<div class="top_block_static"> <div class="top_block_static">
<div id=title_static>{% blocktrans %}Станьте <span class="color_title">партнером</span> Trip With Bonus{% endblocktrans %}</div> {# <div id=title_static>{% blocktrans %}Станьте <span class="color_title">партнером</span> Trip With Bonus{% endblocktrans %}</div>#}
<h1 id=title_static>{% blocktrans %}Партнерство с <span class="color_title">TripWB</span>{% endblocktrans %}</h1>
<span id="sub_title_static">{{ page.description }}</span> <span id="sub_title_static">{{ page.description }}</span>
<div class="button_container"> <div class="button_container">

View File

@@ -12,6 +12,7 @@
</div> </div>
</div> </div>
<h1 id=title_static_small>{% trans "Новости TripWB"%}</h1>
<div class="three_pinned_news"> <div class="three_pinned_news">
{% for art in articles %} {% for art in articles %}

View File

@@ -13,8 +13,11 @@
<div class="top_block_static"> <div class="top_block_static">
<div class="title_static_wrapper"> <div class="title_static_wrapper">
<div id=title_static>{% blocktrans %}Отправляй <span class="color_title">посылку</span> в любую точку мира!{% endblocktrans %}</div> {# <div id=title_static>{% blocktrans %}Отправляй <span class="color_title">посылку</span> в любую точку мира!{% endblocktrans %}</div>#}
</div>
<h1 id=title_static>{% blocktrans %}Сервис по доставке и перевозке посылок <span class="color_title">TripWB</span>{% endblocktrans %}</h1>
</div>
<span id="sub_title_static"> <span id="sub_title_static">
<p> <p>
{% translate "Сервис, который позволяет передавать посылки с путешественниками" %} {% translate "Сервис, который позволяет передавать посылки с путешественниками" %}