master
parent
6ab33ed3ff
commit
5099565817
|
@ -10,7 +10,7 @@ const { title } = Astro.props;
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<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/svg+xml" href="/favicon.svg" />
|
||||||
<link rel="icon" type="image/ico+xml" href="/favicon.ico" />
|
<link rel="icon" type="image/ico+xml" href="/favicon.ico" />
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
|
|
|
@ -418,13 +418,13 @@ import Layout from '../../layouts/Layout.astro';
|
||||||
if(isSmallMobile){
|
if(isSmallMobile){
|
||||||
outlineImage.setDepth(1).setScale(0.26);
|
outlineImage.setDepth(1).setScale(0.26);
|
||||||
}else if(isMobile){
|
}else if(isMobile){
|
||||||
outlineImage.setDepth(1).setScale(0.28 );
|
outlineImage.setDepth(1).setScale(0.28);
|
||||||
}else if(isTablet){
|
}else if(isTablet){
|
||||||
outlineImage.setDepth(1).setScale(0.30);
|
outlineImage.setDepth(1).setScale(0.30);
|
||||||
} else if(isSmallLaptop){
|
} else if(isSmallLaptop){
|
||||||
outlineImage.setDepth(1).setScale(0.26);
|
outlineImage.setDepth(1).setScale(0.26);
|
||||||
} else{
|
} else{
|
||||||
outlineImage.setDepth(1).setScale(0.4);
|
outlineImage.setDepth(1).setScale(0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
const maskGraphics = this.make.graphics();
|
const maskGraphics = this.make.graphics();
|
||||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue