c
This commit is contained in:
@@ -31,9 +31,14 @@ import Layout from '../../layouts/Layout.astro';
|
||||
let shortUniqueID;
|
||||
let defaultColor;
|
||||
let scoreTotal = 0;
|
||||
|
||||
let currenturl = window.location.href.split('/');
|
||||
console.log(currenturl);
|
||||
let image1Width;
|
||||
let image1Height;
|
||||
let image2Width;
|
||||
let image2Height;
|
||||
let image2Right;
|
||||
let image2Bottom;
|
||||
let noticeWidth;
|
||||
let noticeHeight;
|
||||
|
||||
if(isMobile){
|
||||
topLogoWidth = 4.5;
|
||||
@@ -41,6 +46,20 @@ import Layout from '../../layouts/Layout.astro';
|
||||
resetIconWidth = 1.47;
|
||||
tickIconWidth = 1.24;
|
||||
cancelIconWidth = 1.08;
|
||||
}else if(isTab){
|
||||
topLogoWidth = 4.5;
|
||||
muteIconWidth = 1.6;
|
||||
resetIconWidth = 1.43;
|
||||
tickIconWidth = 1.29;
|
||||
cancelIconWidth = 1.18;
|
||||
}else{
|
||||
topLogoWidth = 6;
|
||||
muteIconWidth = 1.3;
|
||||
resetIconWidth = 1.26;
|
||||
tickIconWidth = 1.222;
|
||||
cancelIconWidth = 1.185;
|
||||
}
|
||||
if(isMobile){
|
||||
submitWidth = 250;
|
||||
submitHeight = 110;
|
||||
noticeWidth = 100;
|
||||
@@ -56,11 +75,6 @@ import Layout from '../../layouts/Layout.astro';
|
||||
image2Height = 1.7;
|
||||
image2Bottom = 110;
|
||||
} else {
|
||||
topLogoWidth = 6;
|
||||
muteIconWidth = 1.3;
|
||||
resetIconWidth = 1.26;
|
||||
tickIconWidth = 1.222;
|
||||
cancelIconWidth = 1.185;
|
||||
submitWidth = 380;
|
||||
submitHeight = 95;
|
||||
noticeWidth = 0;
|
||||
|
||||
Reference in New Issue
Block a user