diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-11-13 14:56:02 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-11-13 14:56:02 +0100 |
| commit | c7b02f02ad0a7e2888f2d7d3599719e59bbd1ee2 (patch) | |
| tree | 9f782daf2e2ff78559958f15e0b9ffe5ece78334 /static/pages/shuffle | |
| parent | 7ee9d320e6ba9a84542d838892c43cf98b268552 (diff) | |
frontend: design prototype
Diffstat (limited to 'static/pages/shuffle')
| -rw-r--r-- | static/pages/shuffle/index.css | 6 | ||||
| -rw-r--r-- | static/pages/shuffle/index.js | 17 |
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', + }) + ) + } +} |