Skip to content
Snippets Groups Projects
Commit 7978a503 authored by Štěpán Farka's avatar Štěpán Farka
Browse files

[FIX] footer multiple people

parent a357ba31
No related branches found
No related tags found
2 merge requests!607Pirati.cz,!575Feature/pirati cz
Checking pipeline status
<div class="flex space-x-2 mb-4 xl:mb-0"> <div class="flex space-x-2 mb-4 xl:mr-4 xl:mb-0">
<div class="mr-5"> <div class="mr-5">
<img class="rounded-full shadow-sm w-16 mb-2" src="https://randomuser.me/api/portraits/women/26.jpg" <img class="rounded-full shadow-sm w-16 mb-2" src="https://randomuser.me/api/portraits/women/26.jpg"
alt="user image"> alt="user image">
......
...@@ -149,7 +149,8 @@ ...@@ -149,7 +149,8 @@
</div> </div>
<section class="bg-black py-8 xl:pb-36"> <section class="bg-black py-8 xl:pb-36">
<div class="container--wide flex flex-col lg:flex-row lg:justify-between lg:items-end"> <div class="container--wide flex flex-col lg:flex-row lg:justify-between lg:items-end">
<div class="mb-10 flex flex-col lg:flex-row lg:order-2 lg:mb-0"> <div class="mb-10 flex flex-col lg:flex-row lg:flex-wrap lg:order-2 lg:mb-0">
{{> molecules-footer-person-contact }}
{{> molecules-footer-person-contact }} {{> molecules-footer-person-contact }}
{{> molecules-footer-person-contact }} {{> molecules-footer-person-contact }}
</div> </div>
......
...@@ -45,9 +45,9 @@ ...@@ -45,9 +45,9 @@
{% if page.root_page.footer_person_list %} {% if page.root_page.footer_person_list %}
<section class="bg-black py-8 xl:pb-36"> <section class="bg-black py-8 xl:pb-36">
<div class="container--wide flex flex-col lg:flex-row lg:justify-between lg:items-end"> <div class="container--wide flex flex-col lg:flex-row lg:justify-between lg:items-end">
<div class="mb-10 flex flex-col lg:flex-row lg:order-2 lg:mb-0"> <div class="mb-10 flex flex-wrap flex-col lg:flex-row lg:flex-wrap lg:order-2 lg:mb-0">
{% for person in page.root_page.footer_person_list %} {% for person in page.root_page.footer_person_list %}
<div class="flex space-x-2 mb-4 xl:mb-0"> <div class="flex space-x-2 mb-4 xl:mr-4 xl:mb-0">
<div class="mr-5"> <div class="mr-5">
{% image person.value.person.profile_image fill-75x75 as person_profile_image %} {% image person.value.person.profile_image fill-75x75 as person_profile_image %}
<img class="rounded-full shadow-sm w-16 mb-2" src="{{ person_profile_image.url }}" <img class="rounded-full shadow-sm w-16 mb-2" src="{{ person_profile_image.url }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment