Skip to content

Commit

Permalink
fix: show coming soon message for Ahiqar editions (#449)
Browse files Browse the repository at this point in the history
Co-authored-by: malkja <[email protected]>
  • Loading branch information
orlinmalkja and malkja authored Jul 11, 2024
1 parent 94f1467 commit a23ca62
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
10 changes: 9 additions & 1 deletion examples/ahiqar-arabic-karshuni.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,16 @@
</select>
</nav>
</header>
<div id="app"></div>

<div id="app">
<div class="empty-container">
<h1>Coming soon.</h1>
</div>
</div>
<script src="dist/tido.js"></script>
<script>
window.addEventListener('load', function () {

const select = document.getElementById('nav-select');
const pathArr = window.location.pathname.split('/')

Expand All @@ -37,6 +43,8 @@
window.location = event.target.value
}

return;

const tido = new Tido({
"collection": "https://api.dev.ahiqar.sub.uni-goettingen.de/textapi/ahiqar/arabic-karshuni/collection.json",
colors: {
Expand Down
9 changes: 8 additions & 1 deletion examples/ahiqar-syriac.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@
</select>
</nav>
</header>
<div id="app"></div>
<div id="app">
<div class="empty-container">
<h1>Coming soon.</h1>
</div>
</div>
<script src="dist/tido.js"></script>
<script>
window.addEventListener('load', function () {

const select = document.getElementById('nav-select');
const pathArr = window.location.pathname.split('/')

Expand All @@ -38,6 +43,8 @@
window.location = event.target.value
}

return;

const tido = new Tido({
"collection": "https://api.dev.ahiqar.sub.uni-goettingen.de/textapi/ahiqar/syriac/collection.json",
"labels": {
Expand Down

0 comments on commit a23ca62

Please sign in to comment.