micro fix
This commit is contained in:
parent
166427783a
commit
f9d3902033
2 changed files with 9 additions and 6 deletions
|
|
@ -17,6 +17,9 @@
|
|||
display: flex !important;
|
||||
align-items: center;
|
||||
}
|
||||
.swiper-slide-next {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
/* nav buttons */
|
||||
.swiper-button {
|
||||
|
|
|
|||
|
|
@ -11,21 +11,21 @@
|
|||
<meta name="robots" content="noindex,nofollow">
|
||||
|
||||
<!-- Alpine -->
|
||||
<script defer src="<?= url('assets/js/alpine.min.js') ?>"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
||||
|
||||
<!-- Calendar -->
|
||||
<?php if ($page->isHomePage() || $page->template() == 'event' || $page->template() == 'program'): ?>
|
||||
<!-- dayjs -->
|
||||
<script src="<?= url('assets/js/dayjs.min.js') ?>"></script>
|
||||
<script src="<?= url('assets/js/dayjs-fr.js') ?>"></script>
|
||||
<script src="<?= url('assets/js/dayjs-weekOfYear.js') ?>"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/locale/fr.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/weekOfYear.js"></script>
|
||||
<?= js('/assets/js/calendar.js') ?>
|
||||
<?php endif ?>
|
||||
|
||||
<!-- Swiper -->
|
||||
<?php if ($page->template() == 'event'): ?>
|
||||
<link rel="stylesheet" href="<?= url('assets/js/swiper.bundle.min.css') ?>" defer />
|
||||
<script src="<?= url('assets/js/swiper.bundle.min.js') ?>" defer></script>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" defer />
|
||||
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js" defer></script>
|
||||
<script src="<?= url('assets/js/swiper.js') ?>" defer></script>
|
||||
<?php endif ?>
|
||||
<script src="<?= url('assets/js/script.js') ?>" type="module" defer></script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue