change small t latter shape

This commit is contained in:
dev sp
2023-12-28 11:52:48 +00:00
parent 4a25fbea86
commit d40c6a1121
79 changed files with 533 additions and 123 deletions

View File

@@ -64,7 +64,7 @@ import Layout from '../../layouts/Layout.astro';
const data = fetch(`https://management.beanstalkedu.com/items/game_drawing/${encodeURIComponent(paramsID)}`)
.then(response => response.json())
.then(({data}) => {
colorList = data.colors;
// colorList = data.colors;
const {image} = data;
assetsList.image = "https://management.beanstalkedu.com/assets/" + image; // + "?width=450";
const config = {
@@ -225,9 +225,8 @@ import Layout from '../../layouts/Layout.astro';
// Append the color picker to the color container data
colorContainer.appendChild(colorPicker);
// const colors = data.colors;
// console.log(colorList)
var colors = colorList;
// const colors = ['#ff0000', '#00ff00', '#0000ff', '#ffff00', '#ff00ff', '#00ffff'];
// var colors = colorList;
const colors = ['#ff0000', '#00ff00', '#0000ff', '#ffff00', '#ff00ff', '#00ffff'];
const buttonSize = 50;
const buttonSpacing = 15;
// Create a container div for the color buttons

File diff suppressed because one or more lines are too long