Skip to content

Commit 8935232

Browse files
committed
feat: updated calendar demo
1 parent f55241e commit 8935232

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

app/liturgical-calendar/app.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
const APP_ROOT = '/app/liturgical-calendar/'
88

9-
const WASM_URL = `${APP_ROOT}liturgical_calendar_wasm.wasm?v=19`
10-
const KALD_URL = `${APP_ROOT}romanus_universale.kald?v=19`
11-
const LITS_URL = `${APP_ROOT}romanus_universale_la.lits?v=19`
9+
const WASM_URL = `${APP_ROOT}liturgical_calendar_wasm.wasm?v=20`
10+
const KALD_URL = `${APP_ROOT}romanus_universale.kald?v=20`
11+
const LITS_URL = `${APP_ROOT}romanus_universale_la.lits?v=20`
1212

1313
const KAL_ENGINE_OK = 0
1414
const KAL_ERR_BUILD_ID_MISMATCH = -22
@@ -236,12 +236,12 @@ function renderYear(year, exports, memory) {
236236
</table>
237237
<hr>
238238
<nav class="flex gap text-center">
239-
<a class="button" href="${APP_ROOT}${year - 50}">Année ${year - 50}<span class="scale" style="--scale:95%;display:block;margin-top:-1em">(-50 ans)</span></a>
240-
<a class="button" href="${APP_ROOT}${year - 10}">Année ${year - 10}<span class="scale" style="--scale:95%;display:block;margin-top:-1em">(-10 ans)</span></a>
241-
<a class="button" href="${APP_ROOT}${year - 1}">Année ${year - 1}<span class="scale" style="--scale:95%;display:block;margin-top:-1em">(-1 ans)</span></a>
242-
<a class="button" href="${APP_ROOT}${year + 1}">Année ${year + 1}<span class="scale" style="--scale:95%;display:block;margin-top:-1em">(+1 ans)</span></a>
243-
<a class="button" href="${APP_ROOT}${year + 10}">Année ${year + 10}<span class="scale" style="--scale:95%;display:block;margin-top:-1em">(+10 ans)</span></a>
244-
<a class="button" href="${APP_ROOT}${year + 50}">Année ${year + 50}<span class="scale" style="--scale:95%;display:block;margin-top:-1em">(+50 ans)</span></a>
239+
<a class="button" href="${APP_ROOT}${year - 50}">Année ${year - 50}<span class="scale" style="--scale:85%;display:block;margin-top:-1em">(-50 ans)</span></a>
240+
<a class="button" href="${APP_ROOT}${year - 10}">Année ${year - 10}<span class="scale" style="--scale:85%;display:block;margin-top:-1em">(-10 ans)</span></a>
241+
<a class="button" href="${APP_ROOT}${year - 1}">Année ${year - 1}<span class="scale" style="--scale:85%;display:block;margin-top:-1em">(-1 ans)</span></a>
242+
<a class="button" href="${APP_ROOT}${year + 1}">Année ${year + 1}<span class="scale" style="--scale:85%;display:block;margin-top:-1em">(+1 ans)</span></a>
243+
<a class="button" href="${APP_ROOT}${year + 10}">Année ${year + 10}<span class="scale" style="--scale:85%;display:block;margin-top:-1em">(+10 ans)</span></a>
244+
<a class="button" href="${APP_ROOT}${year + 50}">Année ${year + 50}<span class="scale" style="--scale:85%;display:block;margin-top:-1em">(+50 ans)</span></a>
245245
</nav>`
246246

247247
yearContent.hidden = false

app/liturgical-calendar/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png" />
1414
<link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#5bbad5" />
1515
<link rel="stylesheet" href="../../styles/main.css" media="screen" />
16-
<link rel="stylesheet" href="liturgical-calendar.css?v=19" media="screen" />
16+
<link rel="stylesheet" href="liturgical-calendar.css?v=20" media="screen" />
1717
<link rel="stylesheet" href="/styles/main.css" media="screen" />
1818
<link rel="stylesheet" href="/styles/print.css" media="print" />
1919
<link rel="preload" href="/fonts/notoSans-Regular.woff2" as="font" type="font/woff2" crossorigin />
@@ -55,6 +55,6 @@ <h1 class="main-heading" id="h1">Calendarium Romanum Generale</h1>
5555
</div>
5656
</noscript>
5757
</div>
58-
<script type="module" src="/app/liturgical-calendar/app.js?v=19"></script>
58+
<script type="module" src="/app/liturgical-calendar/app.js?v=20"></script>
5959
</body>
6060
</html>

0 commit comments

Comments
 (0)