mirror of
https://github.com/maunium/stickerpicker
synced 2024-12-21 06:30:43 +00:00
Split web things into subdirectories
This commit is contained in:
parent
bdf4222c61
commit
81caaa2ebe
9 changed files with 10 additions and 10 deletions
|
@ -5,15 +5,15 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>Maunium sticker picker</title>
|
||||
|
||||
<link rel="modulepreload" href="./widget-api.js"/>
|
||||
<link rel="modulepreload" href="./frequently-used.js"/>
|
||||
<link rel="modulepreload" href="./spinner.js"/>
|
||||
<link rel="modulepreload" href="./lib/htm/preact.js"/>
|
||||
<link rel="modulepreload" href="src/widget-api.js"/>
|
||||
<link rel="modulepreload" href="src/frequently-used.js"/>
|
||||
<link rel="modulepreload" href="src/spinner.js"/>
|
||||
<link rel="modulepreload" href="lib/htm/preact.js"/>
|
||||
<link rel="preload" href="packs/index.json" as="fetch" type="application/json" crossorigin/>
|
||||
|
||||
<link rel="stylesheet" href="index.css"/>
|
||||
<link rel="stylesheet" href="spinner.css"/>
|
||||
<script src="index.js" type="module"></script>
|
||||
<link rel="stylesheet" href="style/index.css"/>
|
||||
<link rel="stylesheet" href="style/spinner.css"/>
|
||||
<script src="src/index.js" type="module"></script>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>This sticker picker requires JavaScript</noscript>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"snowpack": "snowpack",
|
||||
"sass": "node-sass -o . *.sass"
|
||||
"sass": "node-sass -o style style/*.sass"
|
||||
},
|
||||
"snowpack": {
|
||||
"install": [
|
||||
|
|
|
@ -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"
|
|
@ -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
|
Loading…
Reference in a new issue