aboutsummaryrefslogtreecommitdiff
path: root/web/index_templ.go
diff options
context:
space:
mode:
authorCyra Westmere <mykeyboardisqwerty@gmail.com>2025-03-30 19:29:55 -0700
committerGitHub <noreply@github.com>2025-03-31 02:29:55 +0000
commit28828a2e93de32e758b62107f0af0a429b911b90 (patch)
tree521211856b748e4614500ac812481b11bfa0574b /web/index_templ.go
parentfeca1ddeead4a0138a7fbb3754509a814e0a4154 (diff)
downloadanubis-28828a2e93de32e758b62107f0af0a429b911b90.tar.xz
anubis-28828a2e93de32e758b62107f0af0a429b911b90.zip
web/js: Added a wait with button continue + 30 second auto continue after 30s if you click "Why am I seeing this? (#166)
* web/js: update page to allow users to read the "Why am I seeing this?", complete with a button to send them through after challenge completed, and a 30s timeout that does the same. * .gitignore: added .DS_store. * docs/docs/CHANGELOG: added to the Unreleased section as requested in code quality guidelines * web: pushing index_templ.go alongside this update. * package.json: added postcss to dependencies list. * package-lock: added postcss to dependencies * Revert "package-lock: added postcss to dependencies" This reverts commit bf02e7ba56e8bf8705821d4f4864c66b1ef614bf. * Revert "package.json: added postcss to dependencies list." This reverts commit 1a38c63049dc75099dc652ed725c7862eef4b3e4. * web/js: OG comments are important --------- Signed-off-by: Xe Iaso <me@xeiaso.net> Co-authored-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'web/index_templ.go')
-rw-r--r--web/index_templ.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/index_templ.go b/web/index_templ.go
index 2e3ac49..eb99b3a 100644
--- a/web/index_templ.go
+++ b/web/index_templ.go
@@ -251,7 +251,7 @@ func bench() templ.Component {
templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.JoinStringErrs("/.within.website/x/cmd/anubis/static/img/pensive.webp?cacheBuster=" +
anubis.Version)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `index.templ`, Line: 247, Col: 19}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `index.templ`, Line: 148, Col: 19}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var13))
if templ_7745c5c3_Err != nil {
@@ -264,7 +264,7 @@ func bench() templ.Component {
var templ_7745c5c3_Var14 string
templ_7745c5c3_Var14, templ_7745c5c3_Err = templ.JoinStringErrs("/.within.website/x/cmd/anubis/static/js/bench.mjs?cacheBuster=" + anubis.Version)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `index.templ`, Line: 250, Col: 118}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `index.templ`, Line: 151, Col: 118}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14))
if templ_7745c5c3_Err != nil {