diff --git a/elections2021/templates/elections2021/elections2021_home_page.html b/elections2021/templates/elections2021/elections2021_home_page.html index 833bbe8f369055c93d60895e26b2cc8202ef15ec..6a7babc24779b0001deed8cdd14366a16e00daa6 100644 --- a/elections2021/templates/elections2021/elections2021_home_page.html +++ b/elections2021/templates/elections2021/elections2021_home_page.html @@ -1,17 +1,17 @@ {% extends "elections2021/base.html" %} -{% load wagtailcore_tags %} +{% load wagtailcore_tags wagtailimages_tags %} {% block content %} -<main> - - <h1 class="head-alt-md md:head-alt-lg pb-4 lg:pb-8 pt-5">Aktuality</h1> - - <!-- list of articles --> - <div class="article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-8"> - {% for a in page.articles %} - {% include "shared/article_preview.html" with article=a %} - {% endfor %} +<article class="relative bg-lemon md:bg-split-color px-4 md:pl-8 md:pr-0 2xl:px-8 hero py-0 w-full "> + <div class="2xl:container w-auto bg-lemon md:pl-20 pr-0 grid lg:grid-rows-1 h-64 lg:grid-cols-7 items-center 2xl:mx-auto"> + <div class="lg:row-span-1 lg:col-span-4 order-1 md:pr-20"> + <h1 class="head-alt-md sm:head-alt-lg pt-1 max-w-sm">Hodně<br>budeš někde</h1> + </div> + <div class="hidden lg:block lg:row-span-2 lg:col-span-3 order-2 h-full 2xl:absolute 2xl:right-0 2xl:w-1/3"> </div> + </div> +</article> -</main> +<div class="py-16"> +</div> {% endblock %}