Start rearchitecting to have multiple subprojects

This commit is contained in:
Greg Shuflin 2023-10-23 02:02:58 -07:00
parent 7431483bd0
commit df621db3a2
4 changed files with 17 additions and 3 deletions

View File

@ -3,11 +3,12 @@
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<title>Spazer</title> <title>Spazer</title>
<script type="module" src="app.js"></script>
</head> </head>
<body> <body>
<h1>Spazer</h1> <h1>Spazer</h1>
<div id="mainContainer"></div> <ul>
<li> <a href="./konva-ball/index.html">Konva-ball</a>
</ul>
</body> </body>
</html> </html>

View File

@ -27,7 +27,7 @@ const circle = new Konva.Circle({
x: stage.width() /2, x: stage.width() /2,
y: stage.height() / 2, y: stage.height() / 2,
radius: 10, radius: 10,
fill: "red", fill: "blue",
stroke: "black", stroke: "black",
strokeWidth: 2, strokeWidth: 2,
}); });

13
src/konva-ball/index.html Normal file
View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Konva-Ball</title>
<script type="module" src="app.js"></script>
</head>
<body>
<h1>Konva-Ball</h1>
<div id="mainContainer"></div>
</body>
</html>