diff --git a/html/minigolf.tsx b/html/minigolf.tsx index 49f74b6..80f9713 100644 --- a/html/minigolf.tsx +++ b/html/minigolf.tsx @@ -1,4 +1,3 @@ -import { JSX } from "preact/jsx-runtime"; import { EggbugImg, Main, render_and_copy } from "./common.tsx"; const GolfBall = () => ( @@ -6,34 +5,70 @@ const GolfBall = () => ( style={{ resize: "both", overflow: "hidden", + display: "flex", position: "relative", - // TODO: V REMOVE ME V - outline: "1px solid red", - width: "10rem", - height: "10rem", - transition: "all 5s", + width: "22%", + height: "23.5%", + transition: "all ease-out 2s", gridArea: "1 / 1", + maxWidth: "100%", + maxHeight: "100%", + // backgroundImage: + // "url(https://static.pyrope.net/eggbug-golfball.png)", + // backgroundPosition: "150% 150%", + // backgroundRepeat: "no-repeat", + // backgroundSize: "5rem", }} > - +
+ +
); +const Green = () => ( + a crappy looking golf green drawn in kolourpaint. its crude geometry and eye-searing colors betray a total lack of artistic prowess +); + render_and_copy( -
- -
+ <> +
+ + +
+ you might say that minigolf has no challenge if the barriers mean + nothing and there's 2 holes. +
+ however, i have crafted beautiful, marvelous, just great, fantastic + rules to account for this! +
+ + ); // OOOO: score with like a dial thing and an arrow pointing to it @@ -45,3 +80,6 @@ render_and_copy( // i could have the ball be in a different place but then that would feel bad // i think i'll go for the toy angle. // keep the dials, have a "course" +// idk about the dials they seem like a lot of work +// as always, it is woefully apparent that I SUCK AT RESIZEABLE CRIMES +// i can't even *copy* (specifically blackle) diff --git a/static/golf-green.png b/static/golf-green.png new file mode 100644 index 0000000..32ab810 Binary files /dev/null and b/static/golf-green.png differ