This commit is contained in:
dev sp
2023-12-06 13:49:30 +00:00
parent 58b0779a9b
commit 401b4c8e39
62 changed files with 370 additions and 370 deletions

View File

@@ -64,7 +64,7 @@ import Layout from "../../layouts/Layout.astro";
submitWidth = customWidth / 2 - 100;
submitHeight = customHeight / 1.1;
noticeWidth = window.innerWidth * 0.5 - 100;
noticeHeight = window.innerHeight * 0.85 - 0;
noticeHeight = window.innerHeight * 0.38;
} else{
cloudeSize = 500;
cloudHeight = 250;
@@ -86,8 +86,8 @@ import Layout from "../../layouts/Layout.astro";
startButtonWidth = customWidth / 1.32;
submitWidth = customWidth / 1.32;
submitHeight = customHeight / 2 - 20;
noticeWidth = 0;
noticeHeight = 0;
noticeWidth = window.innerWidth * 0.5 - 120;
noticeHeight = window.innerHeight * 0.32;
}
window.onload = function() {
currentDate = new Date();
@@ -146,10 +146,10 @@ import Layout from "../../layouts/Layout.astro";
console.error('An error occured', error)
});
};
const submitNotic = this.add.text(window.innerWidth * 0.5 - noticeWidth, window.innerHeight * 0.85 - noticeHeight, 'Submitted Successfully', {
font: '600 20px Quicksand',
fill: 'blue'
}).setDepth(1);
const submitNotic = this.add.text(noticeWidth, noticeHeight, 'Submitted Successfully', {
font: '600 20px Quicksand',
fill: '#05b3a4'
}).setDepth(1);
submitNotic.setVisible(false);
submitButton = this.add.text(submitWidth, submitHeight, "Submit", {
font: '900 24px Quicksand',