fix
[wolnelektury.git] / src / wolnelektury / templates / 2022 / main_page.html
index ccd527c..8a826e6 100644 (file)
   <main class="l-main">
 
     {% if widget %}
+      <div class="l-change-pop show"><p>{{ widget.description }}</p></div>
       <section class="l-section">
-        <iframe src="{{ widget}}" style="width: 100%; height: 600px; border: none;"></iframe>
+        <iframe src="{{ widget.url }}" style="width: 100%; height: 600px; border: none;"></iframe>
       </section>
     {% endif %}
 
               <p>
                 Jesteśmy częścią ruchu <strong>wolnej kultury</strong>!
               </p>
-              <a href="https://nowoczesnapolska.org.pl/o-fundacji/?pk_campaign=wl-infobox" class="l-button l-button--default">Dowiedz się więcej</a>
+              <a href="https://fundacja.wolnelektury.pl/o-fundacji/?pk_campaign=wl-infobox" class="l-button l-button--default">Dowiedz się więcej</a>
             </div>
           </div>
           <div class="p-homepage__info__box p-homepage__info__box--full--sm">
 
 
   <section class="l-section">
-    <div class="l-collections js-new-books-slider">
+    <div class="l-collections js-collections">
       <div class="l-collections__header">
         <h3><a href="/katalog/nowe/">Nowości</a></h3>
         <div class="l-your-books__header__actions">
           <button class="js-next-slide"><i class="icon icon-arrow-right"></i></button>
         </div>
       </div>
-      <div class="l-books">
+      <div class="l-books" style="display:block;">
         {% for book in last_published %}
           {% include 'catalogue/2022/book_box.html' %}
         {% endfor %}