Skip to content
Snippets Groups Projects
Commit 0ab451fa authored by xaralis's avatar xaralis
Browse files

Clean up image cards

parent e51877ed
No related branches found
No related tags found
No related merge requests found
Pipeline #773 passed
<div class="card card--hoveractive {{ classes }}">
<div class="card__body">
{{ description }}
</div>
</div>
<div class="card card--hoveractive {{ classes }}"> <div class="card {{ classes }}">
<a href="#"> <a href="#">
<img src="{{ img.landscape-16x9.src }}" alt="{{ img.landscape-16x9.alt }}" /> <img class="w-full" src="{{ img.landscape-16x9.src }}" alt="{{ img.landscape-16x9.alt }}" />
</a> </a>
<div class="card__body p-4"> <div class="card__body {{ bodyClasses }}">
<h1 class="card-headline mb-2"><a href="#">{{ title }}{{^ title }}{{ headline.short }}{{/ title }}</a></h1> <h1 class="card-headline mb-2"><a href="#">{{ title }}{{^ title }}{{ headline.short }}{{/ title }}</a></h1>
<p class="card-body-text">{{ excerpt.short }}</p> <p class="card-body-text">{{ excerpt.short }}</p>
</div> </div>
......
...@@ -9,14 +9,14 @@ ...@@ -9,14 +9,14 @@
<h1 class="head-alt-md text-center pt-24 pb-8">Volební program</h1> <h1 class="head-alt-md text-center pt-24 pb-8">Volební program</h1>
<div class="candidate-card-list grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> <div class="candidate-card-list grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
{{> molecules-program-point-card(title: "Otevřenost a zapojení občanů") }} {{> molecules-image-card(classes: "card--hoveractive", bodyClasses: "p-4", title: "Otevřenost a zapojení občanů" )}}
{{> molecules-program-point-card(title: "Smart city") }} {{> molecules-image-card(classes: "card--hoveractive", bodyClasses: "p-4", title: "Smart city" )}}
{{> molecules-program-point-card(title: "Řízení a organizační struktura města") }} {{> molecules-image-card(classes: "card--hoveractive", bodyClasses: "p-4", title: "Řízení a organizační struktura města" )}}
{{> molecules-program-point-card(title: "Rozvoj města a bydlení") }} {{> molecules-image-card(classes: "card--hoveractive", bodyClasses: "p-4", title: "Rozvoj města a bydlení" )}}
{{> molecules-program-point-card(title: "Doprava") }} {{> molecules-image-card(classes: "card--hoveractive", bodyClasses: "p-4", title: "Doprava" )}}
{{> molecules-program-point-card(title: "Veřejný prostor a zeleň") }} {{> molecules-image-card(classes: "card--hoveractive", bodyClasses: "p-4", title: "Veřejný prostor a zeleň" )}}
{{> molecules-program-point-card(title: "Vzdělávání") }} {{> molecules-image-card(classes: "card--hoveractive", bodyClasses: "p-4", title: "Vzdělávání" )}}
{{> molecules-program-point-card(title: "Kultura a volný čas") }} {{> molecules-image-card(classes: "card--hoveractive", bodyClasses: "p-4", title: "Kultura a volný čas" )}}
</div> </div>
<div class="flex flex-col pt-24 space-y-8 md:space-y-0 md:flex-row md:space-x-8"> <div class="flex flex-col pt-24 space-y-8 md:space-y-0 md:flex-row md:space-x-8">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment