From: Ruben Beltran del Rio Date: Tue, 5 Jul 2022 17:11:31 +0000 (+0200) Subject: Move things to components X-Git-Url: https://git.r.bdr.sh/rbdr/canvas/commitdiff_plain/3717f7fbf9ec110b51fe002cdced5d73ebd6136b?hp=f106543fe9cf1def42f2af9f011acf0c83ddd411 Move things to components --- diff --git a/src/lib/components/background.svelte b/src/lib/components/background.svelte new file mode 100644 index 0000000..7664939 --- /dev/null +++ b/src/lib/components/background.svelte @@ -0,0 +1,35 @@ + + +
+ + diff --git a/src/lib/components/hud.svelte b/src/lib/components/hud.svelte new file mode 100644 index 0000000..ce32e0d --- /dev/null +++ b/src/lib/components/hud.svelte @@ -0,0 +1,30 @@ + + +
+ { formatCoordinate(x) } × { formatCoordinate(y) } +
+ + diff --git a/src/lib/components/palette.svelte b/src/lib/components/palette.svelte new file mode 100644 index 0000000..94ba3db --- /dev/null +++ b/src/lib/components/palette.svelte @@ -0,0 +1,25 @@ + + +
+

+ palette palette palette palette palette palette
+ palette palette palette palette palette palette
+ palette palette palette palette palette palette
+ palette palette palette palette palette palette
+ palette palette palette palette palette palette
+ palette palette palette palette palette palette
+

+
+ + diff --git a/src/lib/components/sensor.svelte b/src/lib/components/sensor.svelte new file mode 100644 index 0000000..e69de29 diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 22ad5e4..7d5a3ff 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -1,32 +1,30 @@