Skip to content
Snippets Groups Projects
Verified Commit e3a7a628 authored by Alexa Valentová's avatar Alexa Valentová
Browse files

add article title preview

parent caef8e32
Branches
No related tags found
1 merge request!29Feat/redesign
Pipeline #18385 passed
<div
class="
flex flex-col bg-grey-180 drop-shadow
{{ classes }}
"
>
<div class="flex flex-col px-8 pb-10 pt-6 h-full">
<div class="text-xl text-grey-350 mb-2">
{{ date }}
</div>
<a href="{{ url }}" class="mb-2 underline-offset-4">
<h2 class="font-alt text-4xl">{{ title }}</h2>
</a>
<div>
{% include 'patterns/molecules/tags/inline_tags.html' %}
</div>
</div>
</div>
context:
title: 'KONEC MEZINÁRODNÍ OSTUDY. EVROPSKÁ KOMISE UZAVŘELA ŘÍZENÍ O STŘETU ZÁJMŮ'
date: '29. června 2023'
url: '#'
<div class="flex justify-center">
<div class="container--wide w-full">
<div class="flex flex-col gap-8 mb-16">
<div class="grid grid-cols-1 md:grid-cols-2 gap-12">
{% include 'patterns/molecules/articles/article_title_preview.html' %}
{% include 'patterns/molecules/articles/article_title_preview.html' %}
{% include 'patterns/molecules/articles/article_title_preview.html' %}
{% include 'patterns/molecules/articles/article_title_preview.html' %}
{% include 'patterns/molecules/articles/article_title_preview.html' %}
{% include 'patterns/molecules/articles/article_title_preview.html' %}
</div>
<div class="flex justify-center">
{% include 'patterns/atoms/buttons/round_button.html' with button_text='Další články' %}
</div>
</div>
</div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment