diff --git a/package.json b/package.json index 44b2bc0..d40de8a 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "dotenv": "^16.4.5", "node-cache": "^5.1.2", "postgres": "^3.4.4", - "ssh2": "^1.15.0" + "ssh2": "^1.15.0", + "vite-plugin-entry-shaking": "^0.4.3" } } diff --git a/src/comp/avatar.svelte b/src/comp/avatar.svelte new file mode 100644 index 0000000..0f499e1 --- /dev/null +++ b/src/comp/avatar.svelte @@ -0,0 +1,21 @@ + + + + + diff --git a/src/comp/comment.svelte b/src/comp/comment.svelte index e3731cb..78d767b 100644 --- a/src/comp/comment.svelte +++ b/src/comp/comment.svelte @@ -1,5 +1,6 @@ + +
{comment.content}
-up: {rating.likes}
-down: {rating.dislikes}
+ + + diff --git a/src/comp/ratingvertical.svelte b/src/comp/ratingvertical.svelte new file mode 100644 index 0000000..ee81e6f --- /dev/null +++ b/src/comp/ratingvertical.svelte @@ -0,0 +1,36 @@ + + + + + diff --git a/src/comp/sidebar.svelte b/src/comp/sidebar.svelte new file mode 100644 index 0000000..f7acbc7 --- /dev/null +++ b/src/comp/sidebar.svelte @@ -0,0 +1,42 @@ + + + + + diff --git a/src/comp/useritem.svelte b/src/comp/useritem.svelte new file mode 100644 index 0000000..4c15fa5 --- /dev/null +++ b/src/comp/useritem.svelte @@ -0,0 +1,22 @@ + + + + +