feat: add footer menu, change paginator design

This commit is contained in:
2024-12-15 20:44:43 +01:00
parent 696881e4f8
commit 8905c5731d
6 changed files with 43 additions and 15 deletions

View File

@@ -19,7 +19,7 @@
</li>
</f:if>
<f:for each="{pagination.allPageNumbers}" as="page">
<li class="{f:if(condition: page == paginator.currentPageNumber, then:'current')}">
<li class="{f:if(condition: '{page} == {paginator.currentPageNumber}', then:'current')}">
<a href="{f:uri.action(action:actionName, arguments:{currentPage: page},addQueryString:'untrusted')}">{page}</a>
</li>
</f:for>

View File

@@ -26,7 +26,13 @@
<div class="site-footer__bottom">
<div class="site-footer__bottom-grid">
<ul class="site-footer__legal">
<f:cObject typoscriptObjectPath="lib.footerMenu" />
<f:for each="{metanavigation}" as="item">
<li{f:if(condition: item.active, then:' class="active"')}>
<a href="{item.link}"{f:if(condition: '{item.target}', then: ' target="{item.target}"')}{f:if(condition: '{item.target} == "_blank"', then: ' rel="noopener noreferrer"')} title="{item.title}">
<span>{item.title}</span>
</a>
</li>
</f:for>
</ul>
<p class="site-footer__copyright">© All Right Reserved</p>
</div>