Maunium sticker picker
-
-
-
-
+
+
+
+
-
-
-
+
+
+
diff --git a/web/package.json b/web/package.json
index 5926728..7f7f592 100644
--- a/web/package.json
+++ b/web/package.json
@@ -8,7 +8,7 @@
"private": true,
"scripts": {
"snowpack": "snowpack",
- "sass": "node-sass -o . *.sass"
+ "sass": "node-sass -o style style/*.sass"
},
"snowpack": {
"install": [
diff --git a/web/frequently-used.js b/web/src/frequently-used.js
similarity index 100%
rename from web/frequently-used.js
rename to web/src/frequently-used.js
diff --git a/web/index.js b/web/src/index.js
similarity index 99%
rename from web/index.js
rename to web/src/index.js
index 342f524..815f321 100644
--- a/web/index.js
+++ b/web/src/index.js
@@ -3,7 +3,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
-import { html, render, Component } from "./lib/htm/preact.js"
+import { html, render, Component } from "../lib/htm/preact.js"
import { Spinner } from "./spinner.js"
import * as widgetAPI from "./widget-api.js"
import * as frequent from "./frequently-used.js"
diff --git a/web/spinner.js b/web/src/spinner.js
similarity index 93%
rename from web/spinner.js
rename to web/src/spinner.js
index 6462cde..b44740e 100644
--- a/web/spinner.js
+++ b/web/src/spinner.js
@@ -3,7 +3,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
-import { html } from "https://unpkg.com/htm/preact/index.mjs?module"
+import { html } from "../lib/htm/preact.js"
export const Spinner = ({ size = 40, noCenter = false, noMargin = false, green = false }) => {
let margin = 0
diff --git a/web/widget-api.js b/web/src/widget-api.js
similarity index 100%
rename from web/widget-api.js
rename to web/src/widget-api.js
diff --git a/web/index.css b/web/style/index.css
similarity index 100%
rename from web/index.css
rename to web/style/index.css
diff --git a/web/index.sass b/web/style/index.sass
similarity index 100%
rename from web/index.sass
rename to web/style/index.sass
diff --git a/web/spinner.css b/web/style/spinner.css
similarity index 100%
rename from web/spinner.css
rename to web/style/spinner.css