mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-19 15:24:22 +01:00
Fallback the animation to static text if js is disabled
This commit is contained in:
@@ -29,12 +29,11 @@ templ homepageTemplate(params HomePageParams) {
|
||||
<div class="text-[3.5em] sm:text-[4em] leading-[1em] text-neutral-300">
|
||||
NOSTR <span class="text-neutral-400">IS</span>
|
||||
</div>
|
||||
<div class="text-[3.5em] sm:text-[5em] leading-[1em] break-words" id="tw"></div>
|
||||
<div class="text-[3.5em] sm:text-[5em] leading-[1em] break-words" id="tw">A PROTOCOL</div>
|
||||
<script>
|
||||
var tw = document.getElementById('tw')
|
||||
new Typewriter(tw, {
|
||||
strings: [
|
||||
'',
|
||||
'',
|
||||
'A PROTOCOL',
|
||||
'MANY PLATFORMS',
|
||||
|
||||
Reference in New Issue
Block a user