master
Subhodip Ghosh 2025-06-20 11:47:58 +05:30
parent 6ab33ed3ff
commit 5099565817
3 changed files with 17 additions and 3 deletions

View File

@ -10,7 +10,7 @@ const { title } = Astro.props;
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/ico+xml" href="/favicon.ico" />
<meta name="generator" content={Astro.generator} />

View File

@ -418,13 +418,13 @@ import Layout from '../../layouts/Layout.astro';
if(isSmallMobile){
outlineImage.setDepth(1).setScale(0.26);
}else if(isMobile){
outlineImage.setDepth(1).setScale(0.28 );
outlineImage.setDepth(1).setScale(0.28);
}else if(isTablet){
outlineImage.setDepth(1).setScale(0.30);
} else if(isSmallLaptop){
outlineImage.setDepth(1).setScale(0.26);
} else{
outlineImage.setDepth(1).setScale(0.4);
outlineImage.setDepth(1).setScale(0.3);
}
const maskGraphics = this.make.graphics();

14
src/pages/test-game.astro Normal file
View File

@ -0,0 +1,14 @@
---
import Layout from "../layouts/Layout.astro"
---
<Layout title="">
<div style="width: 100%; height: 100%;">
<iframe
id="gameIframe"
src="http://192.168.1.186:2022/drawing/game_drawing_png?id=2"
frameborder="0"
style="width: 100%; border: 1px solid red;"
height="800px"
></iframe>
</div>
</Layout>