Prechádzať zdrojové kódy

improved page layout

bach 3 rokov pred
rodič
commit
03c4a47e7c

+ 22 - 8
web/themes/custom/popsu/templates/layout/page.html.twig

@@ -34,10 +34,16 @@
 
   <header role="banner">
     <section id="header-top">
-      {{ page.header_top_left }}
-      {{ page.header_top_rigth }}
+      <div id="header-top-left">
+        {{ page.header_top_left }}
+      </div>
+      <div id="header-top-right">
+        {{ page.header_top_rigth }}
+      </div>
+    </section>
+    <section id="header-bottom">
+      {{ page.header_bottom }}
     </section>
-    {{ page.header_bottom }}
   </header>
 
   {{ page.help }}
@@ -64,11 +70,19 @@
   </main>
 
   <footer role="contentinfo">
-    {{ page.footer_top }}
-    <section id="fotter-bottom">
-      {{ page.footer_left }}
-      {{ page.footer_middle }}
-      {{ page.footer_right }}
+    <section id="footer-top">
+      {{ page.footer_top }}
+    </section>
+    <section id="footer-bottom">
+      <div id="footer-left">
+        {{ page.footer_left }}
+      </div>
+      <div id="footer-middle">
+        {{ page.footer_middle }}
+      </div>
+      <div id="footer-right">
+        {{ page.footer_right }}
+      </div>
     </section>
   </footer>