fix(challenges/xeact): add noscript warning

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-08-29 19:22:34 +00:00
parent 7905a1c6b6
commit ee662f2b56
3 changed files with 26 additions and 1 deletions

View File

@@ -17,5 +17,8 @@ templ page(redir, challenge string, difficulty int, loc *localization.SimpleLoca
"pensive_url": anubis.BasePrefix + "/.within.website/x/cmd/anubis/static/img/pensive.webp?cacheBuster=" + anubis.Version,
})
@templ.ComponentFunc(renderAppJS)
<noscript>
{ loc.T("javascript_required") }
</noscript>
</div>
}