diff --git a/dashboard/.gitignore b/dashboard/.gitignore new file mode 100644 index 00000000..763301fc --- /dev/null +++ b/dashboard/.gitignore @@ -0,0 +1,2 @@ +dist/ +node_modules/ \ No newline at end of file diff --git a/dashboard/README.md b/dashboard/README.md new file mode 100644 index 00000000..278cb1af --- /dev/null +++ b/dashboard/README.md @@ -0,0 +1,12 @@ +# PluralKit Dashboard + +This project is built using [Vite](https://vitejs.dev/), using the svelte-ts template. + +Some of the other stuff used to get this working: +* sveltestrap (https://sveltestrap.js.org/) +* svelte-navigator (https://github.com/mefechoel/svelte-navigator) +* svelte-toggle (https://github.com/metonym/svelte-toggle) +* svelecte (https://mskocik.github.io/svelecte/) +* svelte-icons (https://github.com/Introvertuous/svelte-icons) +* discord-markdown (https://github.com/brussell98/discord-markdown) +* moment (https://momentjs.com/) diff --git a/dashboard/index.html b/dashboard/index.html new file mode 100644 index 00000000..585ad3f4 --- /dev/null +++ b/dashboard/index.html @@ -0,0 +1,17 @@ + + + + + + + pk-webs | home + + + + + + +
+ + + diff --git a/dashboard/package.json b/dashboard/package.json new file mode 100644 index 00000000..aac54545 --- /dev/null +++ b/dashboard/package.json @@ -0,0 +1,38 @@ +{ + "name": "pk-webs-2", + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview", + "check": "svelte-check --tsconfig ./tsconfig.json" + }, + "devDependencies": { + "@sveltejs/vite-plugin-svelte": "^1.0.0-next.30", + "@tsconfig/svelte": "^2.0.1", + "svelte": "^3.44.0", + "svelte-check": "^2.2.7", + "svelte-preprocess": "^4.10.1", + "svelte-toggle": "^3.1.0", + "tslib": "^2.3.1", + "typescript": "^4.4.4", + "vite": "^2.7.0" + }, + "dependencies": { + "@sentry/browser": "^6.19.5", + "@sentry/tracing": "^6.19.5", + "@types/twemoji": "^12.1.2", + "axios": "^0.24.0", + "discord-markdown": "^2.5.1", + "gh-pages": "^3.2.3", + "moment": "^2.29.1", + "sass": "^1.47.0", + "svelecte": "^3.4.5", + "svelte-autosize": "^1.0.1", + "svelte-icons": "^2.1.0", + "svelte-navigator": "^3.1.5", + "sveltestrap": "^5.6.3", + "twemoji": "^13.1.0" + } +} diff --git a/dashboard/public/myriad.png b/dashboard/public/myriad.png new file mode 100644 index 00000000..3e04b9b3 Binary files /dev/null and b/dashboard/public/myriad.png differ diff --git a/dashboard/src/App.svelte b/dashboard/src/App.svelte new file mode 100644 index 00000000..dec70ef5 --- /dev/null +++ b/dashboard/src/App.svelte @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + +
+ + Please provide a system ID in the URL. + + + + Please provide a member ID in the URL. + + + + Please provide a group ID in the URL. + + + +