diff --git a/public/assets/brainstrom-logo.svg b/public/assets/brainstrom-logo.svg new file mode 100644 index 0000000..8d153b4 --- /dev/null +++ b/public/assets/brainstrom-logo.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/assets/svg/draw-cursor.svg b/public/assets/svg/draw-cursor.svg new file mode 100644 index 0000000..95633a0 --- /dev/null +++ b/public/assets/svg/draw-cursor.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/assets/svg/eraser-cursor.svg b/public/assets/svg/eraser-cursor.svg new file mode 100644 index 0000000..32beb78 --- /dev/null +++ b/public/assets/svg/eraser-cursor.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/assets/svg/tracing-done.svg b/public/assets/svg/tracing-done.svg new file mode 100644 index 0000000..43c58d6 --- /dev/null +++ b/public/assets/svg/tracing-done.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/galleryFunction.js b/public/galleryFunction.js new file mode 100644 index 0000000..c5e8dfe --- /dev/null +++ b/public/galleryFunction.js @@ -0,0 +1,45 @@ + const jsonData = [ + { + "src": "/assets/back.jpeg", + "title": "Image Title 1", + "description": "Description for image 1 goes here." + }, + { + "src": "/assets/background.jpg", + "title": "Image Title 2", + "description": "Description for image 2 goes here." + }, + { + "src": "/assets/backgroundImage.png", + "title": "Image Title 3", + "description": "Description for image 3 goes here." + }, + { + "src": "/assets/beanieImage.png", + "title": "Image Title 4", + "description": "Description for image 4 goes here." + } + ]; + let currentSlide = 0; + function updateSlide(){ + const slide = jsonData[currentSlide]; + document.getElementById('slideImage').src = slide.src; + document.getElementById('imageTitle').textContent = slide.title; + document.getElementById('imageDescription').textContent = slide.description; + } + document.getElementById('nextButton').addEventListener('click', () => { + currentSlide = (currentSlide + 1) % jsonData.length; + console.log(currentSlide) + updateSlide(); + }) + document.getElementById('prevButton').addEventListener('click', () => { + currentSlide = (currentSlide - 1 + jsonData.length) % jsonData.length; + updateSlide(); + }) + updateSlide(); + let parentMainContainer = document.getElementById('parentMainContainer'); + let gallerySliderId = document.getElementById('gallerySliderId'); + function closeGallery(){ + gallerySliderId.classList.add('hidden'); + + } \ No newline at end of file diff --git a/public/saveGameAI.js b/public/saveGameAI.js index da2a630..6e01465 100644 --- a/public/saveGameAI.js +++ b/public/saveGameAI.js @@ -1,7 +1,6 @@ function retryGame(){ window.location.reload(); } - const queryString = window.location.search; const urlParams = new URLSearchParams(queryString); const userId = urlParams.get('userId'); @@ -50,11 +49,14 @@ function submitUserData(drawingZone) { submitButton.setVisible(false); - snapshotButton.setVisible(false); - customCursor.setVisible(false); + if(!gameType[0] === 'guided-tracing'){ + snapshotButton.setVisible(false); + customCursor.setVisible(false); + galleryButton.setVisible(false); + } muteIcon.setVisible(false); retryButton.setVisible(false); - galleryButton.setVisible(false); + const endTime = Date.now(); const timeDifference = endTime - startTime; const timeDifferenceInSeconds = timeDifference / 1000; @@ -64,11 +66,15 @@ function submitUserData(drawingZone) { // console.log('This is from main point', scoreTotal); drawingZone.renderer.snapshot((image) => { submitButton.setVisible(true); - snapshotButton.setVisible(true); - customCursor.setVisible(true); + if(!gameType[0] == "guided-tracing"){ + snapshotButton.setVisible(true); + customCursor.setVisible(true); + galleryButton.setVisible(true); + } + muteIcon.setVisible(true); retryButton.setVisible(true); - galleryButton.setVisible(true); + if(gameType[0] == 'drawing'){ // submitButton.setVisible(true); // snapshotButton.setVisible(true); diff --git a/public/saveGameData.js b/public/saveGameData.js index d01bea7..2393add 100644 --- a/public/saveGameData.js +++ b/public/saveGameData.js @@ -6,7 +6,7 @@ const queryString = window.location.search; const urlParams = new URLSearchParams(queryString); const userId = urlParams.get('userId'); const gameVersion = urlParams.get('gameName'); -let gameId; +const gameId = urlParams.get('id'); let submitNotic; console.log(userId); diff --git a/public/saveTracingGameData.js b/public/saveTracingGameData.js new file mode 100644 index 0000000..4da6785 --- /dev/null +++ b/public/saveTracingGameData.js @@ -0,0 +1,134 @@ +function retryGame(){ + window.location.reload(); +} + +const queryString = window.location.search; +const urlParams = new URLSearchParams(queryString); +const userId = urlParams.get('userId'); +const gameVersion = urlParams.get('gameName'); +let gameId; +let submitNotic; + +console.log(userId); +let startTime = Date.now(); + + +const url = window.location.href; +const gameName = url.split('/'); +const gameType = gameName[3].split('?id='); +// let gameVersion; + +// console.log("Here is game name ", gameType[0]) + +// if(gameType[0] == "guided-tracing"){ +// gameVersion = gameType[0].split('?')[0]; +// gameId = gameName[4]; +// console.log('Type - 1'); + +// } else if(gameName.length == 4){ +// gameVersion = gameName[3].split('?')[0]; +// gameId = urlParams.get('id'); +// } +// else if(gameName.length == 5){ +// gameVersion = gameName[3] + '-' + gameName[4].split('?')[0]; +// gameId = urlParams.get('id'); +// console.log('Type - 2'); +// }else if(gameName.length == 6){ +// gameVersion = gameType[0] + '-' + gameName[4]; +// gameId = urlParams.get('id'); +// console.log('Type - 3'); +// } + +console.log(gameVersion) + +function submitUserData(drawingZone) { + const endTime = Date.now(); + const timeDifference = endTime - startTime; + const timeDifferenceInSeconds = timeDifference / 1000; + // console.log(`Time difference: ${timeDifferenceInSeconds} seconds`); + + let imageCode; + let gameScore; + + if(scoreTotal){ + gameScore = scoreTotal; + }else{ + gameScore = 0; + } + // console.log('This is from main point', scoreTotal); + drawingZone.renderer.snapshot((image) => { + if(gameType[0] == 'drawing'){ + submitButton.setVisible(true); + snapshotButton.setVisible(true); + customCursor.setVisible(true); + image.style.width = '160px'; + image.style.height = '120px'; + image.style.paddingLeft = '2px'; + document.body.appendChild(image); + // Download the snapshot as an image + // const link = document.createElement('a'); + // link.href = image.src; + // link.download = 'my_drawing.png'; + // link.click(); + document.body.removeChild(image); + imageCode = image.src; + }else if( gameType[0] == "guided-tracing"){ + // submitButton.setVisible(true); + // snapshotButton.setVisible(true); + // customCursor.setVisible(true); + image.style.width = '160px'; + image.style.height = '120px'; + image.style.paddingLeft = '2px'; + document.body.appendChild(image); + // Download the snapshot as an image + // const link = document.createElement('a'); + // link.href = image.src; + // link.download = `guided-tracing-${gameId}.png`; + // link.click(); + document.body.removeChild(image); + imageCode = image.src; + } + let starValue; + if(scoreTotal === maxScore){ + starValue = 5; + } else if(scoreTotal === maxScore - 1){ + starValue = 4; + } else{ + starValue = 3; + } + let userData = { + 'gameName': gameVersion, + 'gameID': gameId, + 'screenShot': imageCode, + 'userId' : userId, + 'gameTime' : timeDifferenceInSeconds, + 'score' : scoreTotal, + 'gameStar' : starValue + }; + // console.log(userData); + fetch(`https://api.teachertrainingkolkata.in/api/saveGameScore`, { + method: 'POST', + headers: { + 'Content-Type': 'application/json' + }, + body: JSON.stringify(userData) + }) + .then(response => { + setTimeout(() => { + if (response.ok) { + if (response.status == 200) { + document.getElementById('wsSavedImg').classList.remove('-z-10'); + } + } else { + console.log('Something went wrong', response); + } + }, 100); + }) + .catch(error => { + console.error('An error occurred', error); + }); + + // Clear the drawing + // graphics.clear(); + }); +}; \ No newline at end of file diff --git a/src/pages/buzzboard.astro b/src/pages/buzzboard.astro new file mode 100644 index 0000000..9e06036 --- /dev/null +++ b/src/pages/buzzboard.astro @@ -0,0 +1,1012 @@ +--- +import Layout from '../layouts/Layout.astro'; +--- + +
+ + + +
+ +
+ + + \ No newline at end of file diff --git a/src/pages/cross/cross_phonics_v1.astro b/src/pages/cross/cross_phonics_v1.astro index 619ee50..1dc5271 100644 --- a/src/pages/cross/cross_phonics_v1.astro +++ b/src/pages/cross/cross_phonics_v1.astro @@ -22,7 +22,7 @@ import Layout from "../../layouts/Layout.astro";

@@ -143,7 +143,7 @@ import Layout from "../../layouts/Layout.astro"; document.getElementById("label6").innerHTML = gameData.label6; } // document.getElementById('LearningArea').innerHTML = gameData.LearningArea; - // document.getElementById('LearningSubArea_copy').innerHTML = gameData.LearningSubArea_copy; + // document.getElementById('LearningSubArea').innerHTML = gameData.LearningSubArea; const assetsURL = 'https://game-du.teachertrainingkolkata.in/assets/'; for (let i = 1; i <= 6; i++) { @@ -430,7 +430,7 @@ import Layout from "../../layouts/Layout.astro"; color: #7C4C23; padding-top: 10px; } - #LearningArea, #LearningSubArea_copy{ + #LearningArea, #LearningSubArea{ font-size: 20px; color: #7C4C23; font-weight: bold; diff --git a/src/pages/cross/cross_phonics_v2.astro b/src/pages/cross/cross_phonics_v2.astro index a145f29..54af8a9 100644 --- a/src/pages/cross/cross_phonics_v2.astro +++ b/src/pages/cross/cross_phonics_v2.astro @@ -22,7 +22,7 @@ import Layout from "../../layouts/Layout.astro";

@@ -169,7 +169,7 @@ import Layout from "../../layouts/Layout.astro"; document.getElementById("label9").innerHTML = gameData.label9; } // document.getElementById('LearningArea').innerHTML = gameData.LearningArea; - // document.getElementById('LearningSubArea_copy').innerHTML = gameData.LearningSubArea_copy; + // document.getElementById('LearningSubArea').innerHTML = gameData.LearningSubArea; const assetsURL = 'https://game-du.teachertrainingkolkata.in/assets/'; for (let i = 1; i <= 9; i++) { const imageId = `image${i}`; @@ -464,7 +464,7 @@ import Layout from "../../layouts/Layout.astro"; color: #7C4C23; padding-top: 10px; } - #LearningArea, #LearningSubArea_copy{ + #LearningArea, #LearningSubArea{ font-size: 20px; color: #7C4C23; font-weight: bold; diff --git a/src/pages/cross/v1.astro b/src/pages/cross/v1.astro index 509a3c1..e179f91 100644 --- a/src/pages/cross/v1.astro +++ b/src/pages/cross/v1.astro @@ -22,7 +22,7 @@ import Layout from "../../layouts/Layout.astro";

@@ -144,7 +144,7 @@ import Layout from "../../layouts/Layout.astro"; document.getElementById("label6").innerHTML = gameData.label6; } // document.getElementById('LearningArea').innerHTML = gameData.LearningArea; - // document.getElementById('LearningSubArea_copy').innerHTML = gameData.LearningSubArea_copy; + // document.getElementById('LearningSubArea').innerHTML = gameData.LearningSubArea; const assetsURL = 'https://game-du.teachertrainingkolkata.in/assets/'; for (let i = 1; i <= 6; i++) { @@ -431,7 +431,7 @@ import Layout from "../../layouts/Layout.astro"; color: #7C4C23; padding-top: 10px; } - #LearningArea, #LearningSubArea_copy{ + #LearningArea, #LearningSubArea{ font-size: 20px; color: #7C4C23; font-weight: bold; diff --git a/src/pages/cross/v2.astro b/src/pages/cross/v2.astro index c64e4e4..46160ec 100644 --- a/src/pages/cross/v2.astro +++ b/src/pages/cross/v2.astro @@ -451,7 +451,7 @@ import Layout from "../../layouts/Layout.astro"; color: #7C4C23; padding-top: 10px; } - #LearningArea, #LearningSubArea_copy{ + #LearningArea, #LearningSubArea{ font-size: 20px; color: #7C4C23; font-weight: bold; diff --git a/src/pages/drag/index.astro b/src/pages/drag/index.astro index d771211..143f8ab 100644 --- a/src/pages/drag/index.astro +++ b/src/pages/drag/index.astro @@ -61,24 +61,24 @@ const numberOfTimes = starNumberOfTime; let cancelIconWidth; if(isMobile){ - topLogoWidth = 4.5; - muteIconWidth = 1.8; - 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; - } + topLogoWidth = 4.5; + muteIconWidth = 1.8; + 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){ noticeWidth = 100; noticeHeight = 0; @@ -340,7 +340,7 @@ const numberOfTimes = starNumberOfTime; }, ]; // this.add.text(displayW / 14 - 15, 50, data.LearningArea, {font: `20px`}).setTint(0x7c4c23); - // this.add.text(displayW / 14 - 15, 70, data.LearningSubArea_copy, {font: `19px`}).setTint(0x7c4c23); + // this.add.text(displayW / 14 - 15, 70, data.LearningSubArea, {font: `19px`}).setTint(0x7c4c23); // Left Image Name this.add.text(displayW / 14 - 15, 240, data.left_image1_name).setTint(0x7c4c23); this.add.text(displayW / 14 - 15, 409, data.left_image2_name).setTint(0x7c4c23); @@ -465,7 +465,7 @@ const numberOfTimes = starNumberOfTime; counter++; return 'borderCorrect'; } else { - console.log(`Score Total: ${scoreTotal}`); + // console.log(`Score Total: ${scoreTotal}`); return 'borderWrong'; } }; diff --git a/src/pages/drag/match_phonics.astro b/src/pages/drag/match_phonics.astro index f5e7ed1..b6db3dd 100644 --- a/src/pages/drag/match_phonics.astro +++ b/src/pages/drag/match_phonics.astro @@ -327,7 +327,7 @@ import Layout from '../../layouts/Layout.astro'; const responsiveFontSize = (window.innerWidth / textSizeScale) * baseFontSize; const descrptText = this.add.text(screenCenterX, 85, data.description, { font: `${responsiveFontSize}px quicksand`, fill: '#60C6CB', align: "center", wordWrap: {width: window.innerWidth-wrapWidth}}, ).setOrigin(0.5); // this.add.text(displayW / 14 - 15, 50, data.LearningArea, {font: `20px`}).setTint(0x7c4c23); - // this.add.text(displayW / 14 - 15, 70, data.LearningSubArea_copy, {font: `19px`}).setTint(0x7c4c23); + // this.add.text(displayW / 14 - 15, 70, data.LearningSubArea, {font: `19px`}).setTint(0x7c4c23); // Left Image Name this.add.text(displayW / 14 - 15, 240, data.left_image1_name).setTint(0x7c4c23); this.add.text(displayW / 14 - 15, 409, data.left_image2_name).setTint(0x7c4c23); diff --git a/src/pages/drag/testv3.astro b/src/pages/drag/testv3.astro index 2a9281d..d10ff63 100644 --- a/src/pages/drag/testv3.astro +++ b/src/pages/drag/testv3.astro @@ -365,7 +365,7 @@ import Layout from '../../layouts/Layout.astro'; fill: '#7c4c23', }).setOrigin(0.5); // this.add.text(displayW / 14 - 15, 50, data.LearningArea, {font: `20px`}).setTint(0x7c4c23); - // this.add.text(displayW / 14 - 15, 70, data.LearningSubArea_copy, {font: `19px`}).setTint(0x7c4c23); + // this.add.text(displayW / 14 - 15, 70, data.LearningSubArea, {font: `19px`}).setTint(0x7c4c23); // Left Image Name this.add.text(leftTargetZoneW - 45, 240, data.left_image1_name).setTint(0x7c4c23); this.add.text(leftTargetZoneW - 45, 409, data.left_image2_name).setTint(0x7c4c23); diff --git a/src/pages/drag/v2.astro b/src/pages/drag/v2.astro index eade52d..7bc5622 100644 --- a/src/pages/drag/v2.astro +++ b/src/pages/drag/v2.astro @@ -327,7 +327,7 @@ import Layout from '../../layouts/Layout.astro'; const responsiveFontSize = (window.innerWidth / textSizeScale) * baseFontSize; const descrptText = this.add.text(screenCenterX, 110, data.description, { font: `${responsiveFontSize}px quicksand`, fill: '#60C6CB', align: "center", wordWrap: {width: window.innerWidth-wrapWidth}}, ).setOrigin(0.5); // this.add.text(displayW / 14 - 15, 50, data.LearningArea, {font: `20px`}).setTint(0x7c4c23); - // this.add.text(displayW / 14 - 15, 70, data.LearningSubArea_copy, {font: `19px`}).setTint(0x7c4c23); + // this.add.text(displayW / 14 - 15, 70, data.LearningSubArea, {font: `19px`}).setTint(0x7c4c23); // Left Image Name this.add.text(displayW / 14 - 15, 240, data.left_image1_name).setTint(0x7c4c23); this.add.text(displayW / 14 - 15, 409, data.left_image2_name).setTint(0x7c4c23); diff --git a/src/pages/drag/v20.astro b/src/pages/drag/v20.astro index ec9db46..62d89b5 100644 --- a/src/pages/drag/v20.astro +++ b/src/pages/drag/v20.astro @@ -309,7 +309,7 @@ import Layout from '../../layouts/Layout.astro'; fill: '#7c4c23', }).setOrigin(0.5); // this.add.text(displayW / 14 - 15, 50, data.LearningArea, {font: `20px`}).setTint(0x7c4c23); - // this.add.text(displayW / 14 - 15, 70, data.LearningSubArea_copy, {font: `19px`}).setTint(0x7c4c23); + // this.add.text(displayW / 14 - 15, 70, data.LearningSubArea, {font: `19px`}).setTint(0x7c4c23); // Left Image Name this.add.text(displayW / 14 - 15, 240, data.left_image1_name).setTint(0x7c4c23); this.add.text(displayW / 14 - 15, 409, data.left_image2_name).setTint(0x7c4c23); diff --git a/src/pages/drawing/drawing_phonics.astro b/src/pages/drawing/drawing_phonics.astro index 899a16f..07f858e 100644 --- a/src/pages/drawing/drawing_phonics.astro +++ b/src/pages/drawing/drawing_phonics.astro @@ -3,14 +3,71 @@ import Layout from '../../layouts/Layout.astro'; ---
-
+ - -
+ +
- + - + + - + - \ No newline at end of file + 100% { + opacity: 1; + transform: translateY(0); /* End at its original position */ + } + } + + .clip-art-container { + overflow: hidden; /* Prevents overflow during the animation */ + } + + .clip-art { + transform: translateX(100%); /* Initially off-screen to the right */ + opacity: 0; /* Initially hidden */ + transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Smooth transition */ + } + + .clip-art.show { + transform: translateX(0); /* Move the image into view */ + opacity: 1; /* Fade in */ + } + \ No newline at end of file diff --git a/src/pages/drawing/index.astro b/src/pages/drawing/index.astro index e5127dd..8653a4d 100644 --- a/src/pages/drawing/index.astro +++ b/src/pages/drawing/index.astro @@ -142,6 +142,7 @@ import Layout from '../../layouts/Layout.astro'; let muteIcon; let retryButton; let maxScore; + let erase; if(isMobile){ topLogoWidth = 4.5; muteIconWidth = 1.65; @@ -344,8 +345,15 @@ import Layout from '../../layouts/Layout.astro'; outlineImage.setDepth(1).setScale(0.40); } else{ outlineImage.setDepth(1).setScale(0.65); - } + } + + const maskGraphics = this.make.graphics(); + maskGraphics.fillRect(customWidth / 2 - customWidth / 2, 55, customWidth, customHeight); + const mask = maskGraphics.createGeometryMask(); + + graphics = this.add.graphics(); + graphics.setMask(mask); const colorContainer = document.createElement('div'); colorContainer.style.zIndex = '1'; colorContainer.style.position = 'absolute'; @@ -701,13 +709,17 @@ import Layout from '../../layouts/Layout.astro'; eraserButton.style.boxShadow = '5px 10px 15px #7c4c2390'; eraserButton.addEventListener('click', () => { isErasing = !isErasing; + erase = false; if (isErasing) { - eraserButton.style.border = '2px solid #0348A8'; + erase = true; + eraserButton.style.border = '3px solid #0348A8'; + eraserButton.style.backgroundColor = '#0348A820'; } else { // Return to drawing mode // eraserButton.style.backgroundColor = 'green'; // Restore eraser button color eraserButton.style.color = 'blue'; eraserButton.style.border = 'none'; + eraserButton.style.backgroundColor = 'transparent'; } }); // Add the Clear and Eraser buttons to the container @@ -836,85 +848,6 @@ import Layout from '../../layouts/Layout.astro'; }); } - // const url = window.location.href; - // const gameName = url.split('/'); - // const gameType = gameName[3].split('?id='); - // function submitUserData(drawingZone) { - // let imageCode; - // // console.log(drawingZone); - // drawingZone.renderer.snapshot((image) => { - // submitButton.setVisible(true); - // snapshotButton.setVisible(true); - // customCursor.setVisible(true); - // image.style.width = '160px'; - // image.style.height = '120px'; - // image.style.paddingLeft = '2px'; - // document.body.appendChild(image); - // // Download the snapshot as an image - // const link = document.createElement('a'); - // link.href = image.src; - // link.download = 'my_drawing.png'; - // link.click(); - // document.body.removeChild(image); - // imageCode = image.src; - - - // let userData = { - // 'userID': 'drawing@beanstalkedu.com', - // 'gameType': gameType[0], - // 'gameID': gameType[1], - // 'screenShot': imageCode - // // 'starts': formattedDateTime, - // // 'game_start' : gameStartTime, - // }; - // console.log(userData); - - // fetch(`https://save-game-data.teachertrainingchennai.in/saveGameData`, { - // method: 'POST', - // headers: { - // 'Content-Type' : 'application/json' - // }, - // body: JSON.stringify(userData) - // }) - // .then(response => { - // if(response.ok){ - // console.log('Data Saved', response) - // } else{ - // // console.log('Something Wrong', response) - // } - // }) - // .catch(error => { - // console.error('An error occured', error) - // }); - - // // Clear the drawing - // // graphics.clear(); - // }); - // }; - // function captureSnapshot(drawingZone) { - // submitButton.setVisible(false); - // // snapNotice.setVisible(true); - // snapshotButton.setVisible(false); - // customCursor.setVisible(false); - // drawingZone.renderer.snapshot((image) => { - // submitButton.setVisible(true); - // snapshotButton.setVisible(true); - // customCursor.setVisible(true); - // image.style.width = '160px'; - // image.style.height = '120px'; - // image.style.paddingLeft = '2px'; - // document.body.appendChild(image); - // // Download the snapshot as an image - // const link = document.createElement('a'); - // link.href = image.src; - // link.download = 'my_drawing.png'; - // link.click(); - // document.body.removeChild(image); - - // // Clear the drawing - // // graphics.clear(); - // }); - // } function startDrawing(x, y) { if (!isErasing) { graphics.lineStyle(brushSize * 2, Phaser.Display.Color.HexStringToColor(selectedColor).color); @@ -952,12 +885,49 @@ import Layout from '../../layouts/Layout.astro'; slider.style.background = `linear-gradient(to right, #000 0%, #000 ${offsetX}px, #fff ${offsetX}px, #fff 100%)`; }; const cursorSize = brushSize * cursorSizeMultiplier; - customCursor.clear(); // Clear the previous frame - customCursor.lineStyle(3, 0x000000); // Set the line style (2 is the line thickness, 0x000000 is black color) + customCursor.clear(); + customCursor.lineStyle(1.5, 0x000000); customCursor.strokeCircle(0, 0, cursorSize); - // Position the cursor at the current mouse pointer coordinates + customCursor.fillStyle(Phaser.Display.Color.HexStringToColor(selectedColor).color, 1); + customCursor.fillCircle(0, 0, cursorSize); customCursor.x = this.input.x; customCursor.y = this.input.y; + customCursor.moveTo(0, -cursorSize+3); + customCursor.lineTo(0, cursorSize-3); + + customCursor.moveTo(-cursorSize + 3, 0); + customCursor.lineTo(cursorSize-3, 0); + customCursor.strokePath(); + + if (erase === true) { + customCursor.clear(); + customCursor.lineStyle(3, 0x000000); + customCursor.strokeCircle(0, 0, cursorSize); + customCursor.x = this.input.x; + customCursor.y = this.input.y; + + customCursor.moveTo(0, -cursorSize+3); + customCursor.lineTo(0, cursorSize-3); + + customCursor.moveTo(-cursorSize + 3, 0); + customCursor.lineTo(cursorSize-3, 0); + customCursor.strokePath(); + } else if (erase === false) { + customCursor.clear(); + customCursor.lineStyle(3, 0x000000); + customCursor.strokeCircle(0, 0, cursorSize); + customCursor.fillStyle(Phaser.Display.Color.HexStringToColor(selectedColor).color, 1); + customCursor.fillCircle(0, 0, cursorSize); + customCursor.x = this.input.x; + customCursor.y = this.input.y; + + customCursor.moveTo(0, -cursorSize+3); + customCursor.lineTo(0, cursorSize-3); + + customCursor.moveTo(-cursorSize + 3, 0); + customCursor.lineTo(cursorSize-3, 0); + customCursor.strokePath(); + } } // function update() { @@ -1029,5 +999,4 @@ import Layout from '../../layouts/Layout.astro'; .active{ display: block; } - - \ No newline at end of file + \ No newline at end of file diff --git a/src/pages/drawing/v2.astro b/src/pages/drawing/v2.astro index a53a687..baebea6 100644 --- a/src/pages/drawing/v2.astro +++ b/src/pages/drawing/v2.astro @@ -3,34 +3,66 @@ import Layout from '../../layouts/Layout.astro'; ---
-
- - +
- + \ No newline at end of file diff --git a/src/pages/guided-tracing/0.astro b/src/pages/guided-tracing/0.astro index da99dc2..e99742e 100644 --- a/src/pages/guided-tracing/0.astro +++ b/src/pages/guided-tracing/0.astro @@ -3,14 +3,75 @@ import Layout from "../../layouts/Layout.astro"; ---
-
+
+
+ +
+
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/1.astro b/src/pages/guided-tracing/1.astro index 1344a0c..4a43f4b 100644 --- a/src/pages/guided-tracing/1.astro +++ b/src/pages/guided-tracing/1.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/2.astro b/src/pages/guided-tracing/2.astro index b363c00..b265ae2 100644 --- a/src/pages/guided-tracing/2.astro +++ b/src/pages/guided-tracing/2.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/3.astro b/src/pages/guided-tracing/3.astro index d2fc72d..975dba6 100644 --- a/src/pages/guided-tracing/3.astro +++ b/src/pages/guided-tracing/3.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/4.astro b/src/pages/guided-tracing/4.astro index 38e9f7e..04a7057 100644 --- a/src/pages/guided-tracing/4.astro +++ b/src/pages/guided-tracing/4.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/5.astro b/src/pages/guided-tracing/5.astro index 63bf4e2..aad1438 100644 --- a/src/pages/guided-tracing/5.astro +++ b/src/pages/guided-tracing/5.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/6.astro b/src/pages/guided-tracing/6.astro index 6720ca9..f847640 100644 --- a/src/pages/guided-tracing/6.astro +++ b/src/pages/guided-tracing/6.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/7.astro b/src/pages/guided-tracing/7.astro index 3135099..385b234 100644 --- a/src/pages/guided-tracing/7.astro +++ b/src/pages/guided-tracing/7.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/8.astro b/src/pages/guided-tracing/8.astro index 8ac5685..51cc925 100644 --- a/src/pages/guided-tracing/8.astro +++ b/src/pages/guided-tracing/8.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/9.astro b/src/pages/guided-tracing/9.astro index 2d63879..4da513d 100644 --- a/src/pages/guided-tracing/9.astro +++ b/src/pages/guided-tracing/9.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/A.astro b/src/pages/guided-tracing/A.astro index 079e0c7..4497ef7 100644 --- a/src/pages/guided-tracing/A.astro +++ b/src/pages/guided-tracing/A.astro @@ -2,27 +2,105 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+
+ +
+ Clip Art +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/B.astro b/src/pages/guided-tracing/B.astro index 852f2b0..02d389e 100644 --- a/src/pages/guided-tracing/B.astro +++ b/src/pages/guided-tracing/B.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/C.astro b/src/pages/guided-tracing/C.astro index 6fca3e8..455c1de 100644 --- a/src/pages/guided-tracing/C.astro +++ b/src/pages/guided-tracing/C.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/D.astro b/src/pages/guided-tracing/D.astro index abf253c..7ea4a1c 100644 --- a/src/pages/guided-tracing/D.astro +++ b/src/pages/guided-tracing/D.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/E.astro b/src/pages/guided-tracing/E.astro index 8c37969..a64fc2b 100644 --- a/src/pages/guided-tracing/E.astro +++ b/src/pages/guided-tracing/E.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/F.astro b/src/pages/guided-tracing/F.astro index 31da6d9..8429b4c 100644 --- a/src/pages/guided-tracing/F.astro +++ b/src/pages/guided-tracing/F.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/G.astro b/src/pages/guided-tracing/G.astro index 1631fa6..a8004f0 100644 --- a/src/pages/guided-tracing/G.astro +++ b/src/pages/guided-tracing/G.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/H.astro b/src/pages/guided-tracing/H.astro index e65da05..f1eb0f7 100644 --- a/src/pages/guided-tracing/H.astro +++ b/src/pages/guided-tracing/H.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/I.astro b/src/pages/guided-tracing/I.astro index a8f024c..91dff2d 100644 --- a/src/pages/guided-tracing/I.astro +++ b/src/pages/guided-tracing/I.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/J.astro b/src/pages/guided-tracing/J.astro index fa5ca8c..7d1d845 100644 --- a/src/pages/guided-tracing/J.astro +++ b/src/pages/guided-tracing/J.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/K.astro b/src/pages/guided-tracing/K.astro index 4492882..72c8963 100644 --- a/src/pages/guided-tracing/K.astro +++ b/src/pages/guided-tracing/K.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/L.astro b/src/pages/guided-tracing/L.astro index 21b5c01..e9cfc7b 100644 --- a/src/pages/guided-tracing/L.astro +++ b/src/pages/guided-tracing/L.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/M.astro b/src/pages/guided-tracing/M.astro index 99dbcf7..4a82843 100644 --- a/src/pages/guided-tracing/M.astro +++ b/src/pages/guided-tracing/M.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/N.astro b/src/pages/guided-tracing/N.astro index c31b600..52f32a2 100644 --- a/src/pages/guided-tracing/N.astro +++ b/src/pages/guided-tracing/N.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/O.astro b/src/pages/guided-tracing/O.astro index c5cccbd..32bb339 100644 --- a/src/pages/guided-tracing/O.astro +++ b/src/pages/guided-tracing/O.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + + \ No newline at end of file diff --git a/src/pages/guided-tracing/P.astro b/src/pages/guided-tracing/P.astro index db21bb2..c7d46bc 100644 --- a/src/pages/guided-tracing/P.astro +++ b/src/pages/guided-tracing/P.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/Q.astro b/src/pages/guided-tracing/Q.astro index 0354bea..943e685 100644 --- a/src/pages/guided-tracing/Q.astro +++ b/src/pages/guided-tracing/Q.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + + \ No newline at end of file diff --git a/src/pages/guided-tracing/R.astro b/src/pages/guided-tracing/R.astro index 183c946..dd82c3d 100644 --- a/src/pages/guided-tracing/R.astro +++ b/src/pages/guided-tracing/R.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/S.astro b/src/pages/guided-tracing/S.astro index ae7bd55..b14e3b2 100644 --- a/src/pages/guided-tracing/S.astro +++ b/src/pages/guided-tracing/S.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + + \ No newline at end of file diff --git a/src/pages/guided-tracing/T.astro b/src/pages/guided-tracing/T.astro index af9c054..0518607 100644 --- a/src/pages/guided-tracing/T.astro +++ b/src/pages/guided-tracing/T.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/U.astro b/src/pages/guided-tracing/U.astro index c044f0c..59d6a9f 100644 --- a/src/pages/guided-tracing/U.astro +++ b/src/pages/guided-tracing/U.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/V.astro b/src/pages/guided-tracing/V.astro index 3cb4e9c..2632895 100644 --- a/src/pages/guided-tracing/V.astro +++ b/src/pages/guided-tracing/V.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/W.astro b/src/pages/guided-tracing/W.astro index c425d16..e417786 100644 --- a/src/pages/guided-tracing/W.astro +++ b/src/pages/guided-tracing/W.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/X.astro b/src/pages/guided-tracing/X.astro index afdaf32..3ec3f84 100644 --- a/src/pages/guided-tracing/X.astro +++ b/src/pages/guided-tracing/X.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/Y.astro b/src/pages/guided-tracing/Y.astro index 49754ca..32addbf 100644 --- a/src/pages/guided-tracing/Y.astro +++ b/src/pages/guided-tracing/Y.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/Z.astro b/src/pages/guided-tracing/Z.astro index ca071f0..5b7a194 100644 --- a/src/pages/guided-tracing/Z.astro +++ b/src/pages/guided-tracing/Z.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/a.astro b/src/pages/guided-tracing/a.astro index b74fddb..892a855 100644 --- a/src/pages/guided-tracing/a.astro +++ b/src/pages/guided-tracing/a.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/b.astro b/src/pages/guided-tracing/b.astro index 23c2c88..34417ae 100644 --- a/src/pages/guided-tracing/b.astro +++ b/src/pages/guided-tracing/b.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/c.astro b/src/pages/guided-tracing/c.astro index 647147a..2523d6d 100644 --- a/src/pages/guided-tracing/c.astro +++ b/src/pages/guided-tracing/c.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/d.astro b/src/pages/guided-tracing/d.astro index fcacc70..803cdd6 100644 --- a/src/pages/guided-tracing/d.astro +++ b/src/pages/guided-tracing/d.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/e.astro b/src/pages/guided-tracing/e.astro index b4c3eb0..6523e3b 100644 --- a/src/pages/guided-tracing/e.astro +++ b/src/pages/guided-tracing/e.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/f.astro b/src/pages/guided-tracing/f.astro index a572811..46519a3 100644 --- a/src/pages/guided-tracing/f.astro +++ b/src/pages/guided-tracing/f.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/g.astro b/src/pages/guided-tracing/g.astro index 17beacd..f5d1eb5 100644 --- a/src/pages/guided-tracing/g.astro +++ b/src/pages/guided-tracing/g.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/h.astro b/src/pages/guided-tracing/h.astro index 574b945..36204f7 100644 --- a/src/pages/guided-tracing/h.astro +++ b/src/pages/guided-tracing/h.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/i.astro b/src/pages/guided-tracing/i.astro index fe48e47..9cdf3ca 100644 --- a/src/pages/guided-tracing/i.astro +++ b/src/pages/guided-tracing/i.astro @@ -2,15 +2,77 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
-
- +
+
+
+ +
+
+ + +
+ \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/j.astro b/src/pages/guided-tracing/j.astro index be4f258..66d18f2 100644 --- a/src/pages/guided-tracing/j.astro +++ b/src/pages/guided-tracing/j.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/k.astro b/src/pages/guided-tracing/k.astro index d0a3aed..67e4be2 100644 --- a/src/pages/guided-tracing/k.astro +++ b/src/pages/guided-tracing/k.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/l.astro b/src/pages/guided-tracing/l.astro index 0b20285..3493dbc 100644 --- a/src/pages/guided-tracing/l.astro +++ b/src/pages/guided-tracing/l.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/m.astro b/src/pages/guided-tracing/m.astro index f5b9b62..e4c089e 100644 --- a/src/pages/guided-tracing/m.astro +++ b/src/pages/guided-tracing/m.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/n.astro b/src/pages/guided-tracing/n.astro index 9a88d92..6a847bd 100644 --- a/src/pages/guided-tracing/n.astro +++ b/src/pages/guided-tracing/n.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/o.astro b/src/pages/guided-tracing/o.astro index 518fea4..b78e733 100644 --- a/src/pages/guided-tracing/o.astro +++ b/src/pages/guided-tracing/o.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/p.astro b/src/pages/guided-tracing/p.astro index 22b99e8..70eeda2 100644 --- a/src/pages/guided-tracing/p.astro +++ b/src/pages/guided-tracing/p.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/q.astro b/src/pages/guided-tracing/q.astro index 5678643..fdd7d98 100644 --- a/src/pages/guided-tracing/q.astro +++ b/src/pages/guided-tracing/q.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + + \ No newline at end of file diff --git a/src/pages/guided-tracing/r.astro b/src/pages/guided-tracing/r.astro index 2a1fdaf..dfe0c7c 100644 --- a/src/pages/guided-tracing/r.astro +++ b/src/pages/guided-tracing/r.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/s.astro b/src/pages/guided-tracing/s.astro index 0401418..23189d1 100644 --- a/src/pages/guided-tracing/s.astro +++ b/src/pages/guided-tracing/s.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/t.astro b/src/pages/guided-tracing/t.astro index f37cd00..e05c16d 100644 --- a/src/pages/guided-tracing/t.astro +++ b/src/pages/guided-tracing/t.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/u.astro b/src/pages/guided-tracing/u.astro index 5435c08..13b422a 100644 --- a/src/pages/guided-tracing/u.astro +++ b/src/pages/guided-tracing/u.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/v.astro b/src/pages/guided-tracing/v.astro index 5ba94ee..70fbbbd 100644 --- a/src/pages/guided-tracing/v.astro +++ b/src/pages/guided-tracing/v.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/w.astro b/src/pages/guided-tracing/w.astro index eb0894c..0495abf 100644 --- a/src/pages/guided-tracing/w.astro +++ b/src/pages/guided-tracing/w.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/x.astro b/src/pages/guided-tracing/x.astro index 145477b..b4b4b89 100644 --- a/src/pages/guided-tracing/x.astro +++ b/src/pages/guided-tracing/x.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/y.astro b/src/pages/guided-tracing/y.astro index c36d731..3bec4ee 100644 --- a/src/pages/guided-tracing/y.astro +++ b/src/pages/guided-tracing/y.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + \ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/guided-tracing/z-test.astro b/src/pages/guided-tracing/z-test.astro new file mode 100644 index 0000000..0888a70 --- /dev/null +++ b/src/pages/guided-tracing/z-test.astro @@ -0,0 +1,413 @@ +--- +import Layout from "../../layouts/Layout.astro"; +--- + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/src/pages/guided-tracing/z.astro b/src/pages/guided-tracing/z.astro index c1fa45c..4a304fb 100644 --- a/src/pages/guided-tracing/z.astro +++ b/src/pages/guided-tracing/z.astro @@ -2,15 +2,78 @@ import Layout from "../../layouts/Layout.astro"; --- -
-
-
- -
+
+
+
+ +
+
+ + +
- + + \ No newline at end of file diff --git a/src/pages/tick/tick_phonics_v1.astro b/src/pages/tick/tick_phonics_v1.astro index c9af2a2..fa6f25c 100644 --- a/src/pages/tick/tick_phonics_v1.astro +++ b/src/pages/tick/tick_phonics_v1.astro @@ -22,7 +22,7 @@ import Layout from "../../layouts/Layout.astro";

@@ -194,7 +194,7 @@ import Layout from "../../layouts/Layout.astro"; document.getElementById("label6").innerHTML = gameData.label6; } // document.getElementById('LearningArea').innerHTML = gameData.LearningArea; - // document.getElementById('LearningSubArea_copy').innerHTML = gameData.LearningSubArea_copy; + // document.getElementById('LearningSubArea').innerHTML = gameData.LearningSubArea; const assetsURL = 'https://game-du.teachertrainingkolkata.in/assets/'; for (let i = 1; i <= 6; i++) { @@ -408,7 +408,7 @@ import Layout from "../../layouts/Layout.astro"; color: #7C4C23; padding-top: 10px; } - #LearningArea, #LearningSubArea_copy{ + #LearningArea, #LearningSubArea{ font-size: 20px; color: #7C4C23; font-weight: bold; diff --git a/src/pages/tick/tick_phonics_v2.astro b/src/pages/tick/tick_phonics_v2.astro index 12a132d..a049855 100644 --- a/src/pages/tick/tick_phonics_v2.astro +++ b/src/pages/tick/tick_phonics_v2.astro @@ -22,7 +22,7 @@ import Layout from "../../layouts/Layout.astro";

@@ -226,7 +226,7 @@ import Layout from "../../layouts/Layout.astro"; document.getElementById("label9").innerHTML = gameData.label9; } // document.getElementById('LearningArea').innerHTML = gameData.LearningArea; - // document.getElementById('LearningSubArea_copy').innerHTML = gameData.LearningSubArea_copy; + // document.getElementById('LearningSubArea').innerHTML = gameData.LearningSubArea; const assetsURL = 'https://game-du.teachertrainingkolkata.in/assets/'; for (let i = 1; i <= 9; i++) { const imageId = `image${i}`; @@ -435,7 +435,7 @@ import Layout from "../../layouts/Layout.astro"; color: #7C4C23; padding-top: 10px; } - #LearningArea, #LearningSubArea_copy{ + #LearningArea, #LearningSubArea{ font-size: 20px; color: #7C4C23; font-weight: bold; diff --git a/src/pages/tick/v1.astro b/src/pages/tick/v1.astro index 1780780..bc11a16 100644 --- a/src/pages/tick/v1.astro +++ b/src/pages/tick/v1.astro @@ -152,7 +152,7 @@ import Layout from "../../layouts/Layout.astro"; document.getElementById("label6").innerHTML = gameData.label6; } // document.getElementById('LearningArea').innerHTML = gameData.LearningArea; - // document.getElementById('LearningSubArea_copy').innerHTML = gameData.LearningSubArea_copy; + // document.getElementById('LearningSubArea').innerHTML = gameData.LearningSubArea; const assetsURL = 'https://game-du.teachertrainingkolkata.in/assets/'; for (let i = 1; i <= 6; i++) { @@ -396,7 +396,7 @@ import Layout from "../../layouts/Layout.astro"; color: #7C4C23; padding-top: 10px; } - #LearningArea, #LearningSubArea_copy{ + #LearningArea, #LearningSubArea{ font-size: 20px; color: #7C4C23; font-weight: bold; diff --git a/src/pages/tick/v2.astro b/src/pages/tick/v2.astro index 02dd68f..cc06da9 100644 --- a/src/pages/tick/v2.astro +++ b/src/pages/tick/v2.astro @@ -22,7 +22,7 @@ import Layout from "../../layouts/Layout.astro";

@@ -223,7 +223,7 @@ import Layout from "../../layouts/Layout.astro"; document.getElementById("label9").innerHTML = gameData.label9; } // document.getElementById('LearningArea').innerHTML = gameData.LearningArea; - // document.getElementById('LearningSubArea_copy').innerHTML = gameData.LearningSubArea_copy; + // document.getElementById('LearningSubArea').innerHTML = gameData.LearningSubArea; const assetsURL = 'https://game-du.teachertrainingkolkata.in/assets/'; for (let i = 1; i <= 9; i++) { const imageId = `image${i}`; @@ -437,7 +437,7 @@ import Layout from "../../layouts/Layout.astro"; color: #7C4C23; padding-top: 10px; } - #LearningArea, #LearningSubArea_copy{ + #LearningArea, #LearningSubArea{ font-size: 20px; color: #7C4C23; font-weight: bold;