Changeset 93d6345 in Klonkt for src/views/partials/footer.ejs
- Timestamp:
- 06/17/2026 03:34:07 AM (3 months ago)
- Branches:
- main
- Children:
- dbde7f8
- Parents:
- c3ad46d
- File:
-
- 1 edited
-
src/views/partials/footer.ejs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/footer.ejs
rc3ad46d r93d6345 4 4 <span>© <%= new Date().getFullYear() %> <%= (site && site.title) || 'Klonkt' %></span> 5 5 </div> 6 <%# Install-app knop — in de footer-rij (midden), bespaart een hele extra rij. 7 JS detecteert platform & opent een modal met PWA-install-stappen. %> 8 <button type="button" class="install-app-btn install-app-btn--footer" data-pcms-install-app> 9 <svg viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"><path d="M5 20h14v-2H5v2zm7-18L5.33 9h3.84v6h5.66V9h3.84L12 2z" fill="currentColor"/></svg> 10 <span>Installeer app</span> 11 </button> 6 12 <div class="footer-meta"> 7 13 <span>Klonkt Beta<%= (typeof appVersion !== 'undefined' && appVersion) ? ' v' + appVersion : '' %></span> … … 20 26 </div> 21 27 22 <%# Install-app button. JS detects platform & opens a modal with PWA-install23 steps (iOS share-sheet / Android Chrome / desktop). PWA only — geen APK. %>24 <div class="site-footer-install container">25 <button type="button" class="install-app-btn" data-pcms-install-app>26 <svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><path d="M5 20h14v-2H5v2zm7-18L5.33 9h3.84v6h5.66V9h3.84L12 2z" fill="currentColor"/></svg>27 <span>Installeer app</span>28 </button>29 </div>30 28 </footer> 31 29 … … 102 100 } 103 101 104 /* Install-app button container — sits centered under the footer-inner row */ 105 .site-footer-install { 106 display: flex; 107 justify-content: center; 108 margin-top: 1.25rem; 102 /* Compacte install-knop ín de footer-rij (midden) i.p.v. een grote losse CTA 103 op een eigen regel — bespaart verticale ruimte. */ 104 .install-app-btn--footer { 105 flex: 0 0 auto; 106 width: auto !important; /* override de mobile .install-app-btn width:100% */ 107 padding: 0.42rem 0.95rem; 108 font-size: 0.82rem; 109 gap: 0.4rem; 110 } 111 .install-app-btn--footer svg { width: 15px; height: 15px; } 112 /* Op smal scherm: laat de drie items netjes centreren als ze wrappen. */ 113 @media (max-width: 600px) { 114 .site-footer-inner { justify-content: center; text-align: center; } 109 115 } 110 116 </style>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)