57 lines
5.1 KiB
HTML
57 lines
5.1 KiB
HTML
{% macro section(user) -%}
|
||
{% if user %}
|
||
<div class="st">
|
||
{% if 'partner' in user.get('profile', '') %}
|
||
<a class="ba" href="/form/competition">Добавить конкурс</a>
|
||
<a class="ba" href="/form/exhibition">Добавить выставку</a>
|
||
{% else %}
|
||
<a class="ba" href="/form/post">Добавить пост</a>
|
||
<a class="ba" href="/form/news">Добавить новость</a>
|
||
{%endif%}
|
||
</div>
|
||
{% endif %}
|
||
<footer class="c_t5jtn">
|
||
<div class="c_00gkd"><span class="c_62bje">KULTMOST</span><span class="c_jtxml">.АВТОПОСТ </span></div>
|
||
<nav class="c_wmdgs"><a class="c_bygqa" href="/">Главная</a><a class="c_bygqa" href="https://kultmost.ru/post">Маркетплейс</a><a class="c_bygqa" href="/my-paints">Мои
|
||
картины</a><a class="c_bygqa" href="/artists">Художники</a><a class="c_bygqa" href="/partner">Партнеры</a><a class="c_bygqa" href="/about">О
|
||
платформе</a><a class="c_bygqa" href="/news">Новости</a></nav>
|
||
<p class="c_vii7u">Автономная некоммерческая организация развития художественного творчества и ремесел «Культурный мост «Передвижные выставки» © 2026</p>
|
||
</footer>
|
||
{%- endmacro %}
|
||
|
||
{% macro style() -%}
|
||
<style>
|
||
.st {position: sticky;bottom: 0;background: white;width: 100%;padding: 0 15px;border-top: 1px solid #5F1798;display: flex;flex-direction: column;z-index: 99;display: flex;align-items: center;transition: none;}
|
||
.st>a {padding: 13px 15px;width: 335px;justify-content: center;align-items: center;border-radius: 5px;background: #5F1798;color: white;display: flex;margin: 4px 0;font-size: 13px;}
|
||
@media (min-width: 901px) {
|
||
.c_62bje { color: #5F1798; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 700; line-height: normal; }
|
||
.c_jtxml { color: #000; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 700; line-height: normal; }
|
||
.c_00gkd { display: flex; padding: 18px 0; align-items: flex-start; flex-shrink: 0; }
|
||
.c_bygqa { color: #5F1798; font-family: Inter; font-size: 12px; font-style: normal; font-weight: 400; line-height: normal; text-decoration-line: underline; text-decoration-style: solid; text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font; }
|
||
.c_wmdgs { display: flex; align-items: flex-start; align-content: flex-start; gap: 5px 20px; flex-wrap: wrap; }
|
||
.c_vii7u { width: 100%; text-align: center; color: #969696; font-family: Inter; font-size: 12px; font-style: normal; font-weight: 400; line-height: normal; }
|
||
.c_t5jtn { gap: 10px; display: flex; box-sizing: unset; padding: 40px 60px; justify-content: space-between; align-items: center; align-content: center; flex-wrap: wrap; background: #FFF; }
|
||
}
|
||
|
||
@media (min-width: 700px) and (max-width: 900px) {
|
||
.c_62bje { color: #5F1798; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 700; line-height: normal; }
|
||
.c_jtxml { color: #000; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 700; line-height: normal; }
|
||
.c_00gkd { display: flex; padding: 18px 0; justify-content: center; align-items: center; flex-shrink: 0; }
|
||
.c_bygqa { color: #5F1798; font-family: Inter; font-size: 12px; font-style: normal; font-weight: 400; line-height: normal; text-decoration-line: underline; text-decoration-style: solid; text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font; }
|
||
.c_wmdgs { display: flex; align-items: flex-start; align-content: flex-start; gap: 5px 20px; flex-wrap: wrap; }
|
||
.c_vii7u { width: 100%; text-align: center; color: #969696; font-family: Inter; font-size: 12px; font-style: normal; font-weight: 400; line-height: normal; }
|
||
.c_t5jtn { gap: 10px; display: flex; box-sizing: unset; padding: 40px 50px; justify-content: space-between; align-items: center; align-content: center; flex-wrap: wrap; background: #FFF; }
|
||
}
|
||
|
||
@media (max-width: 699px) {
|
||
.c_62bje { color: #5F1798; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 700; line-height: normal; }
|
||
.c_jtxml { color: #000; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 700; line-height: normal; }
|
||
.c_00gkd { display: flex; justify-content: center; align-items: flex-start; flex: 1 0 0; }
|
||
.c_bygqa { color: #5F1798; font-family: Inter; font-size: 12px; font-style: normal; font-weight: 400; line-height: normal; text-decoration-line: underline; text-decoration-style: solid; text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font; }
|
||
.c_wmdgs { display: none; align-items: flex-start; align-content: flex-start; gap: 5px 20px; flex-wrap: wrap; }
|
||
.c_vii7u { color: #969696; font-family: Inter; font-size: 12px; font-style: normal; font-weight: 400; line-height: normal; }
|
||
.c_t5jtn { gap: 10px; display: flex; box-sizing: unset; justify-content: space-between; align-items: center; align-content: center; flex-wrap: wrap; background: #FFF; }
|
||
}
|
||
footer{padding: 40px 20px;}
|
||
.c_t5jtn{margin-bottom: 20px;}</style>
|
||
{%- endmacro %} |