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

fix color classes

parent 50cfeb8f
Branches
No related tags found
1 merge request!29Feat/redesign
Pipeline #19017 passed
Showing
with 36 additions and 5 deletions
<div class="text-grey-185 mb-4 italic">
Autor: <span rel="author">
{% if author_url %}
<a
href="{{ author_url }}"
class="underline text-grey-100"
>{{ author_name }}</a>
{% else %}
{{ author_name }}
{% endif %}
</span>
</div>
\ No newline at end of file
context:
author_name: 'Redakce'
author_url: 'https://example.com'
\ No newline at end of file
{% for color in color_classes %}
<div class="{{ color }}">
{% include "patterns/atoms/text/paragraph.html" %}
</div>
{% endfor %}
\ No newline at end of file
context:
color_classes:
- "bg-black text-white [&_p]:text-white"
- "bg-pirati-yellow text-black [&_p]:text-black"
\ No newline at end of file
<div class="prose max-w-[100ch]">
<div class="prose max-w-[100ch] [&_p]:text-black">
{% include 'patterns/atoms/text/paragraph.html' with text=text %}
</div>
context:
name: 'Mikuláš Peksa'
name: 'Ing. Mgr. et Mgr. Mikuláš Peksa'
image_source: '../../../../../static/images/mikulas-arrow.png'
position: 'Europoslanec'
description: 'Mikuláš Peksa (18. 6. 1986) vystudoval fyziku na Matematicko-fyzikální fakultě Univerzity Karlovy. V Německu pracoval jako správce Linuxových serverů a programátor v C++. Po návratu do Čech byl v roce 2017 zvolen poslancem PSP ČR, následně v roce 2019 poslancem Evropského parlamentu. Věnuje se zejména tématům spojeným s fungováním společnosti v digitálním věku.'
......
......@@ -4,4 +4,9 @@
{% include 'patterns/atoms/header/navigation.html' with classes='mb-6' first_text=first_nav_text second_text=second_nav_text second_link=second_link %}
{% endblock %}
{% block after_heading %}
{% include 'patterns/atoms/articles/header_author.html' %}
{% include 'patterns/molecules/tags/tags.html' with classes='mb-4 mt-4' %}
{% endblock %}
{% block heading_classes %}head-8xl{% endblock %}
......@@ -6,4 +6,4 @@ context:
second_link: '#'
sub_heading: 'Podtitulek'
has_navigation: false
has_tags: false
has_tags: false
\ No newline at end of file
......@@ -44,6 +44,8 @@
</h1>
{% endblock %}
{% block after_heading %}{% endblock %}
{% block description %}
{% if description %}
<p
......
......@@ -18,8 +18,8 @@
"
ref="text"
>
<div class="flex flex-col lg:w-min">
<h2 class="head-9xl whitespace-nowrap">
<div class="flex flex-col">
<h2 class="head-9xl">
{{ name }}
</h2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment