+
+
\ No newline at end of file
diff --git a/vnshed/src/lib/components/create_button.svelte b/vnshed/src/lib/components/create_button.svelte
new file mode 100644
index 0000000..e63d230
--- /dev/null
+++ b/vnshed/src/lib/components/create_button.svelte
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/vnshed/src/lib/components/horisontal_bar.svelte b/vnshed/src/lib/components/horisontal_bar.svelte
new file mode 100644
index 0000000..c526646
--- /dev/null
+++ b/vnshed/src/lib/components/horisontal_bar.svelte
@@ -0,0 +1,47 @@
+
+
+
+
+
+
{label}
+ {#if type == "text"}
+ {}} />
+ {:else if type == "image"}
+
+ {/if}
+
+
\ No newline at end of file
diff --git a/vnshed/src/lib/components/image.svelte b/vnshed/src/lib/components/image.svelte
new file mode 100644
index 0000000..0525899
--- /dev/null
+++ b/vnshed/src/lib/components/image.svelte
@@ -0,0 +1,11 @@
+
+
+
\ No newline at end of file
diff --git a/vnshed/src/lib/components/queue_item.svelte b/vnshed/src/lib/components/queue_item.svelte
new file mode 100644
index 0000000..ba3f921
--- /dev/null
+++ b/vnshed/src/lib/components/queue_item.svelte
@@ -0,0 +1,15 @@
+
+
+
+
{date}
+
{name}
+
+
+
\ No newline at end of file
diff --git a/www/css/calendar.css b/vnshed/src/lib/css/calendar.css
similarity index 100%
rename from www/css/calendar.css
rename to vnshed/src/lib/css/calendar.css
diff --git a/www/css/global.css b/vnshed/src/lib/css/global.css
similarity index 93%
rename from www/css/global.css
rename to vnshed/src/lib/css/global.css
index 1da034c..67909bf 100644
--- a/www/css/global.css
+++ b/vnshed/src/lib/css/global.css
@@ -1,14 +1,6 @@
@font-face {
font-family: 'Inter';
- src: url('../font/Inter-Light.woff2') format('woff2');
- font-weight: normal;
- font-style: normal;
- font-display: swap;
-}
-
-@font-face {
- font-family: 'Lobster';
- src: url('../font/Lobster-Regular.ttf') format('ttf');
+ src: url('/font/Inter-Light.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
diff --git a/www/css/themes.css b/vnshed/src/lib/css/themes.css
similarity index 100%
rename from www/css/themes.css
rename to vnshed/src/lib/css/themes.css
diff --git a/vnshed/src/lib/functions.js b/vnshed/src/lib/functions.js
new file mode 100644
index 0000000..8276ad9
--- /dev/null
+++ b/vnshed/src/lib/functions.js
@@ -0,0 +1,46 @@
+export function makeid(length) {
+ var result = '';
+ var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
+ var charactersLength = characters.length;
+ for ( var i = 0; i < length; i++ ) {
+ result += characters.charAt(Math.floor(Math.random() * charactersLength));
+ }
+ return result;
+}
+
+// const imageTypes = {
+// types: [
+// {
+// description: "Images",
+// accept: {
+// "image/*": [".png", ".gif", ".jpeg", ".jpg"],
+// },
+// },
+// ],
+// excludeAcceptAllOption: true,
+// multiple: false,
+// };
+
+// let fileHandle;
+// export async function loadImage() {
+// [fileHandle] = await window.showOpenFilePicker(imageTypes);
+// return fileHandle;
+// }
+
+// export function addImage(initiator, target) {
+// loadImage().then(async (result) => {
+// let img = document.createElement("img");
+// img.src = URL.createObjectURL(await result.getFile());
+// document.getElementById(target).appendChild(img);
+// initiator = document.getElementById(initiator);
+// if (initiator) initiator.remove();
+// //document.getElementById(target).addEventListener("click", addImage("", target));
+// });
+// }
+
+// export function json_filter(key,value)
+// {
+// if (key=="html") return undefined;
+// //else if (key=="id") return undefined;
+// else return value;
+// }
\ No newline at end of file
diff --git a/vnshed/src/routes/+layout.svelte b/vnshed/src/routes/+layout.svelte
index afc8a09..7b67679 100644
--- a/vnshed/src/routes/+layout.svelte
+++ b/vnshed/src/routes/+layout.svelte
@@ -1,5 +1,10 @@
@@ -8,9 +13,55 @@
-
-