Skip to content

Commit

Permalink
アニメーションを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-20 committed Jan 18, 2025
1 parent 589af90 commit 2f9c0a4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions dashboard/sablier-theme/neoshowcase.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
width: 416px;
}

.title {
#title {
color: #f1f1f1cc;
}

Expand Down Expand Up @@ -225,7 +225,7 @@
</svg>
</header>
<main>
<div class="title">{{ .DisplayName }} を起動しています</div>
<div id="title">{{ .DisplayName }} を起動しています</div>
<div class="loading-container">
<div class="bg-blur"></div>
<svg
Expand Down Expand Up @@ -256,5 +256,11 @@

const tip = tips[Math.floor(Math.random() * tips.length)];
document.getElementById('tips').innerText = tip;

const title = document.getElementById('title');
setInterval(() => {
title.innerText = title.innerText + '.';
title.innerText = title.innerText.replace('.....', '');
}, 500);
</script>
</html>

0 comments on commit 2f9c0a4

Please sign in to comment.