drawing currect version

This commit is contained in:
Suvodip
2024-06-19 13:56:55 +05:30
parent 5ed1ee1e6c
commit 6bd0c1c23b
75 changed files with 161 additions and 139 deletions

View File

@@ -32,11 +32,11 @@ import Layout from '../../layouts/Layout.astro';
let defaultColor;
if(isMobile){
topLogoWidth = 5;
muteIconWidth = 2;
resetIconWidth = 1.6;
tickIconWidth = 1.34;
cancelIconWidth = 1.16;
topLogoWidth = 4.5;
muteIconWidth = 1.8;
resetIconWidth = 1.47;
tickIconWidth = 1.24;
cancelIconWidth = 1.08;
submitWidth = 250;
submitHeight = 110;
noticeWidth = 100;
@@ -45,11 +45,11 @@ import Layout from '../../layouts/Layout.astro';
downloadHeight = 200;
learningWidth = 200;
learningHeight = 365
image1Width = 3.7;
image1Height = 2.5;
image1Width = 3.5;
image1Height = 2.2;
image2Width = 2;
image2Right = 65;
image2Height = 2;
image2Height = 1.7;
image2Bottom = 110;
} else {
topLogoWidth = 6;
@@ -154,7 +154,7 @@ import Layout from '../../layouts/Layout.astro';
.then(({ data }) => {
// console.log(data.colors)
const screenCenterX = this.cameras.main.worldView.x + this.cameras.main.width / 2;
const baseFontSize = 20;
const baseFontSize = 24;
const responsiveFontSize = (window.innerWidth / 940) * baseFontSize;
let wrapWidth;
if(isMobile){