Tessier vor 4 Jahren
Ursprung
Commit
db22994426

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
web/app/themes/la_mine/dist/assets/css/index.css


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
web/app/themes/la_mine/dist/assets/css/index.min.css


+ 1 - 1
web/app/themes/la_mine/src/assets/scss/components/_thumbnails.scss

@@ -67,7 +67,7 @@
         h3{
         h3{
           font-size: 1.5rem;
           font-size: 1.5rem;
         }
         }
-        h5{
+        h5, h2{
             font-family: 'universalis-bold';
             font-family: 'universalis-bold';
             font-size: 1.25rem;
             font-size: 1.25rem;
             line-height: 1;
             line-height: 1;

+ 1 - 1
web/app/themes/la_mine/templates/agenda.twig

@@ -34,7 +34,7 @@
 		{% for item in posts %}
 		{% for item in posts %}
 			{% set end = item.informations_fin_event|date("Ymd") %}
 			{% set end = item.informations_fin_event|date("Ymd") %}
 			{% if now <= end %}
 			{% if now <= end %}
-				{% include 'components/thumbnails/thumbnails.twig'%}
+				{% include 'components/thumbnails/thumbnails.twig' with { hn : 'h2'} %}
 			{% endif %}
 			{% endif %}
 		{% endfor %}
 		{% endfor %}
 
 

+ 1 - 1
web/app/themes/la_mine/templates/archive.twig

@@ -35,7 +35,7 @@
     {% for item in posts %}
     {% for item in posts %}
       {% set end = item.informations_fin_event|date("Ymd") %}
       {% set end = item.informations_fin_event|date("Ymd") %}
       {% if now >= end %}
       {% if now >= end %}
-        {% include 'components/thumbnails/thumbnails.twig'%}
+        {% include 'components/thumbnails/thumbnails.twig'  with { hn : 'h2'} %}
       {% endif %}
       {% endif %}
     {% endfor %}
     {% endfor %}
 
 

+ 7 - 1
web/app/themes/la_mine/templates/components/thumbnails/thumbnails.twig

@@ -12,6 +12,12 @@
   {% set class = 'col-12 col-md-6 col-lg-6' %}
   {% set class = 'col-12 col-md-6 col-lg-6' %}
 {% endif %} #}
 {% endif %} #}
 
 
+{% if hn == true %}
+  {% set hn = hn %}
+{% else %}
+  {% set hn = 'h5' %}
+{% endif %}
+
 <article class="thumbnails col-12 col-md-6 col-lg-4 {{cat}}">
 <article class="thumbnails col-12 col-md-6 col-lg-4 {{cat}}">
   <a rel="noreferrer" href="{{site.url}}/{{item.post_name}}">
   <a rel="noreferrer" href="{{site.url}}/{{item.post_name}}">
     <figure>
     <figure>
@@ -25,7 +31,7 @@
       </div>
       </div>
 
 
       <figcaption class="wrap_content">
       <figcaption class="wrap_content">
-        <h5>{{title}}</h5>
+        <{{hn}}>{{title}}</{{hn}}>
         <div class="content">
         <div class="content">
           <div class="date">
           <div class="date">
             {% set start = item.informations_debut_event|date("Ydj") %}
             {% set start = item.informations_debut_event|date("Ydj") %}

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.