Skip to content

Commit

Permalink
Merge pull request #123 from TYPO3incubator/fix/slider
Browse files Browse the repository at this point in the history
Some slider fixes
  • Loading branch information
pixeldesu authored Apr 12, 2024
2 parents f30e9d5 + 48abb96 commit 6b7c37b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
17 changes: 10 additions & 7 deletions local_packages/football/Resources/Private/JavaScript/Src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ const dropdownList = [...dropdownElementList].map(dropdownToggleEl => new bootst
const collapseElementList = document.querySelectorAll('[data-bs-toggle="collapse"]')
const collapseList = [...collapseElementList].map(collapseEl => new bootstrap.Collapse(collapseEl))

new Splide( '.splide', {
perPage: 3,
breakpoints: {
768: {
perPage: 1,
if (document.querySelector('.splide')) {
new Splide( '.splide', {
perPage: 3,
breakpoints: {
768: {
perPage: 1,
},
},
}
}).mount();
pagination: false,
}).mount();
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html data-namespace-typo3-fluid="true" xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers">

<nav class="navbar navbar-expand-lg position-fixed top-0 start-0 end-0 bg-white d-lg-block">
<nav class="navbar navbar-expand-lg position-fixed top-0 start-0 end-0 bg-white d-lg-block z-3">
<div class="container-fluid">
<a class="navbar-brand main-logo" href="/">
<f:image src="{settings.general.logo}" height="68" width="68"/>
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 6b7c37b

Please sign in to comment.