Skip to content
Snippets Groups Projects
Commit 27e092e9 authored by Tomi Valentová's avatar Tomi Valentová
Browse files

add profile image

parent aad886f4
Branches
No related tags found
1 merge request!29Feat/redesign
Pipeline #18916 passed
<li class="flex gap-2 items-center">
<img
width="30"
height="30"
src="{{ image_src }}"
>
<div>
{{ text }}
</div>
</li>
\ No newline at end of file
context:
image_src: '/static/images/person-table.png'
text: 'Lorem ipsum dolor sit amet'
\ No newline at end of file
<div <div
class=" class="
flex gap-6 w-full flex-col flex gap-4 w-full flex-col
lg:flex-row lg:flex-row
" "
> >
......
<ul class="flex flex-col gap-2">
{% include "patterns/atoms/lists/image_list_item.html" %}
{% include "patterns/atoms/lists/image_list_item.html" %}
{% include "patterns/atoms/lists/image_list_item.html" %}
{% include "patterns/atoms/lists/image_list_item.html" %}
{% include "patterns/atoms/lists/image_list_item.html" %}
</ul>
\ No newline at end of file
...@@ -7,60 +7,77 @@ ...@@ -7,60 +7,77 @@
style="background-image: url('../../../../../static/images/background-images/bg-bartos.jpg')" style="background-image: url('../../../../../static/images/background-images/bg-bartos.jpg')"
> >
<div class="container--wide w-full"> <div class="container--wide w-full">
<h1 class="text-white flex flex-col"> <div class="text-white flex flex-col">
{% include 'patterns/atoms/header/navigation.html' with classes='mb-10' first_text='Lidé' second_text='Sněmovna' %} {% include 'patterns/atoms/header/navigation.html' with classes='mb-10' first_text='Lidé' second_text='Sněmovna' %}
<span <div
class=" class="
text-xl font-alt flex gap-12 flex-nowrap flex-col
sm:text-4xl
lg:flex-row
" "
>{{ degree_before }}</span> >
<img
class="rounded-full w-52 h-52"
src="../../../../../static/images/person-table.png"
alt="Profilový obrázek"
>
<div class="flex items-baseline flex-col xl:flex-row font-alt"> <div class="flex flex-col">
<span class="font-alt text-6xl xl:text-9xl grow xl:grow-0">{{ name }}</span> <span
class="
text-xl font-alt
sm:text-4xl
"
>{{ degree_before }}</span>
<span class="text-2xl xl:text-4xl"> <div class="flex items-baseline flex-col xl:flex-row font-alt">
<span class="hidden xl:inline">, </span>{{ degree_after }} <h1 class="font-alt text-6xl xl:text-9xl grow xl:grow-0">{{ name }}</h1>
</span>
</div>
<span <span class="text-2xl xl:text-4xl">
class=" <span class="hidden xl:inline">, </span>{{ degree_after }}
text-lg font-bold mt-8 </span>
xl:mt-[-0.7rem] </div>
"
>{{ function }}</span>
<span <span
class=" class="
text-lg font-bold mt-8 text-lg font-bold mt-8
" xl:mt-[-0.7rem]
> "
{% if is_pirate %} >{{ function }}</span>
<div class="flex gap-3 items-center">
<img
src="../../../../../static/images/badge.png"
alt="Logo Pirátské strany"
width="35"
height="35"
>
Člen(ka) Pirátské strany <span
</div> class="
{% else %} text-lg font-bold mt-8
<div class="flex gap-3 items-center"> "
<img >
src="../../../../../static/images/badge_other.png" {% if is_pirate %}
alt="Logo strany '{{ other_party_name }}'" <div class="flex gap-3 items-center">
width="35" <img
height="35" src="../../../../../static/images/badge.png"
> alt="Logo Pirátské strany"
width="35"
height="35"
>
Člen(ka) Pirátské strany
</div>
{% else %}
<div class="flex gap-3 items-center">
<img
src="../../../../../static/images/badge_other.png"
alt="Logo strany '{{ other_party_name }}'"
width="35"
height="35"
>
{{ other_party_name }} {{ other_party_name }}
</div>
{% endif %}
</div>
</div> </div>
{% endif %} </div>
</span> </span>
</h1> </div>
</div> </div>
</header> </header>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment