added web pages

This commit is contained in:
polarDefender 2024-05-17 13:29:33 -07:00
parent e570167a5e
commit c96c340a43
19 changed files with 877 additions and 238 deletions

11
static/js/backup.js Normal file
View file

@ -0,0 +1,11 @@
$(() => {
$("#backup").click(() => {
const checked = $("#backup").prop("checked");
const nextButton = $("#next-button");
if (checked) {
nextButton.removeClass("hidden-button");
} else {
nextButton.addClass("hidden-button");
}
});
});

9
static/js/liquidity.js Normal file
View file

@ -0,0 +1,9 @@
$(() => {
$("#show-question").click(() => {
$("#question-content").show();
});
$("#close-question").click(() => {
$("#question-content").hide();
});
});

10
static/js/script.js Normal file
View file

@ -0,0 +1,10 @@
$(document).ready(function() {
var qrcode = new QRCode(document.getElementById("qrcode"), {
text: "strfry.shock.network npub123abcdefghhhhhhhhhhhhhhh",
width: 157,
height: 157,
colorDark : "#000000",
colorLight : "#ffffff",
// correctLevel : QRCode.CorrectLevel.H
});
});

15
static/js/seed.js Normal file
View file

@ -0,0 +1,15 @@
$(() => {
$("#reveal-button").click(() => {
$("#seed-box-container").removeClass("blur-filter");
});
$('#copied').click(() => {
const checked = $("#copied").prop('checked');
const nextButton = $("#next-button");
if (checked) {
nextButton.removeClass("hidden-button");
} else {
nextButton.addClass("hidden-button");
}
})
});