cohost/html/minigolf.tsx

31 lines
803 B
TypeScript
Raw Normal View History

import { EggbugImg, render_and_copy } from "./common.tsx";
render_and_copy(
2023-08-23 21:31:10 -04:00
<div
style={{
resize: "both",
overflow: "hidden",
position: "relative",
// TODO: V REMOVE ME V
outline: "1px solid red",
height: "10rem",
}}
>
<EggbugImg
type="golfball"
style={{
2023-08-23 21:31:10 -04:00
margin: 0,
position: "absolute",
right: 0,
bottom: 0,
width: "5rem",
2023-08-23 21:31:10 -04:00
height: "5rem",
pointerEvents: "none",
}}
2023-08-23 21:31:10 -04:00
/>
</div>
);
2023-08-23 21:31:10 -04:00
// OOOO: score with like a dial thing and an arrow pointing to it
// might be possible to have multiple holes with a details element that comes into frame hm