aboutsummaryrefslogtreecommitdiff
path: root/static/pages/shuffle
diff options
context:
space:
mode:
Diffstat (limited to 'static/pages/shuffle')
-rw-r--r--static/pages/shuffle/index.css6
-rw-r--r--static/pages/shuffle/index.js17
2 files changed, 23 insertions, 0 deletions
diff --git a/static/pages/shuffle/index.css b/static/pages/shuffle/index.css
new file mode 100644
index 0000000..534a647
--- /dev/null
+++ b/static/pages/shuffle/index.css
@@ -0,0 +1,6 @@
+
+#container {
+ width: 100%;
+ height: 100%;
+ background: var(--page-background);
+}
diff --git a/static/pages/shuffle/index.js b/static/pages/shuffle/index.js
new file mode 100644
index 0000000..b282556
--- /dev/null
+++ b/static/pages/shuffle/index.js
@@ -0,0 +1,17 @@
+import * as sfw from 'sfw';
+const { Div } = sfw.element.native;
+
+const css = await sfw.css(import.meta.url, './index.css');
+
+export default class ShuffleView extends sfw.element.Container {
+ constructor() {
+ super({ css });
+
+ this.body.append(
+ Div.new({
+ id: 'container',
+ innerText: 'shuffle',
+ })
+ )
+ }
+}