master
parent
d9de243965
commit
47a8ae7591
|
@ -336,7 +336,7 @@ import Layout from '../../layouts/Layout.astro';
|
|||
wrapWidth = 200;
|
||||
}
|
||||
|
||||
const descrptText = this.add.text(screenCenterX, isSmallMobile ? 100 : isMobile ? 130 : 90, data.description, { font: `${responsiveFontSize}px quicksand`, fill: '#60C6CB', align: "center", wordWrap: { width: window.innerWidth - wrapWidth }}).setOrigin(0.5);
|
||||
const descrptText = this.add.text(screenCenterX, isSmallMobile ? 70 : isMobile ? 80 : 90, data.description, { font: `${responsiveFontSize}px quicksand`, fill: '#60C6CB', align: "center", wordWrap: { width: window.innerWidth - wrapWidth }}).setOrigin(0.5);
|
||||
// this.add.text(customWidth / 2 - learningWidth, customHeight / 2 - learningHeight, data.LearningArea, {font: `20px`}).setTint(0X7C4C23)
|
||||
// this.add.text(customWidth / 2 - learningWidth, customHeight / 2 - learningHeight + 20, data.LearningSubArea, {font: `20px`}).setTint(0X7C4C23)
|
||||
})
|
||||
|
|
|
@ -5,10 +5,10 @@ import Layout from "../layouts/Layout.astro"
|
|||
<div style="width: 100%; height: 100%;">
|
||||
<iframe
|
||||
id="gameIframe"
|
||||
src="http://192.168.1.186:2022/drawing/game_drawing_png?id=2"
|
||||
src="https://interaktogames.beanstalkedu.com/drawing/game_drawing_png?id=2"
|
||||
frameborder="0"
|
||||
style="width: 100%; border: 1px solid red;"
|
||||
height="800px"
|
||||
height="670px"
|
||||
></iframe>
|
||||
</div>
|
||||
</Layout>
|
||||
|
|
Loading…
Reference in New Issue