mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Merge branch 'main' into feat-user-password-history-and-dictionary
This commit is contained in:
39 files changed
+1077
-217
No files matched your search
@@ -17,9 +17,9 @@ jobs:
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
- name: Audit dependencies
|
||||
run: npm audit --audit-level low
|
||||
node-version: 18
|
||||
# - name: Audit dependencies
|
||||
# run: npm audit --audit-level low
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Build Console
|
||||
@@ -30,7 +30,3 @@ jobs:
|
||||
run: npm run lint
|
||||
- name: Unit Tests
|
||||
run: npm test
|
||||
# - name: E2E Tests
|
||||
# run: |
|
||||
# npx playwright install
|
||||
# npm run e2e
|
||||
+13
-1
@@ -33,7 +33,19 @@ If you are worried about or don’t know where to start, check out the next sect
|
||||
|
||||
## Development
|
||||
|
||||
Once you've created a project and installed dependencies with `npm install`, create a `.env` file using `.env.example` as a template.
|
||||
### 1. Clone the repository with git
|
||||
```bash
|
||||
git clone https://github.com/appwrite/console.git appwrite-console
|
||||
```
|
||||
|
||||
### 2. Install dependencies with npm
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
|
||||
### 3. Setup environment variables
|
||||
|
||||
Add a `.env` file by copying the `.env.example` file as a template in the project's root directory.
|
||||
|
||||
Finally, start a development server:
|
||||
|
||||
|
||||
Generated
+64
-64
@@ -24,7 +24,7 @@
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.30.0",
|
||||
"@sveltejs/adapter-static": "1.0.6",
|
||||
"@sveltejs/kit": "1.3.10",
|
||||
"@sveltejs/kit": "^1.3.10",
|
||||
"@sveltejs/vite-plugin-svelte": "^2.0.2",
|
||||
"@testing-library/dom": "^8.20.0",
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
@@ -33,7 +33,7 @@
|
||||
"@types/prismjs": "^1.26.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
||||
"@typescript-eslint/parser": "^5.50.0",
|
||||
"@vitest/ui": "^0.28.4",
|
||||
"@vitest/ui": "^0.28.5",
|
||||
"eslint": "^8.33.0",
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
"eslint-plugin-svelte3": "^4.0.0",
|
||||
@@ -49,7 +49,7 @@
|
||||
"tslib": "^2.5.0",
|
||||
"typescript": "^4.9.5",
|
||||
"vite": "^4.1.1",
|
||||
"vitest": "^0.28.4"
|
||||
"vitest": "^0.28.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
@@ -1981,17 +1981,17 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@sveltejs/vite-plugin-svelte": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-2.0.2.tgz",
|
||||
"integrity": "sha512-xCEan0/NNpQuL0l5aS42FjwQ6wwskdxC3pW1OeFtEKNZwRg7Evro9lac9HesGP6TdFsTv2xMes5ASQVKbCacxg==",
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-2.0.3.tgz",
|
||||
"integrity": "sha512-o+cguBFdwIGtRbNkYOyqTM7KvRUffxh5bfK4oJsWKG2obu+v/cbpT03tJrGl58C7tRXo/aEC0/axN5FVHBj0nA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"debug": "^4.3.4",
|
||||
"deepmerge": "^4.2.2",
|
||||
"deepmerge": "^4.3.0",
|
||||
"kleur": "^4.1.5",
|
||||
"magic-string": "^0.27.0",
|
||||
"magic-string": "^0.29.0",
|
||||
"svelte-hmr": "^0.15.1",
|
||||
"vitefu": "^0.2.3"
|
||||
"vitefu": "^0.2.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14.18.0 || >= 16"
|
||||
@@ -2002,9 +2002,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@sveltejs/vite-plugin-svelte/node_modules/magic-string": {
|
||||
"version": "0.27.0",
|
||||
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz",
|
||||
"integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==",
|
||||
"version": "0.29.0",
|
||||
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.29.0.tgz",
|
||||
"integrity": "sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@jridgewell/sourcemap-codec": "^1.4.13"
|
||||
@@ -2523,23 +2523,23 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vitest/expect": {
|
||||
"version": "0.28.4",
|
||||
"resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.28.4.tgz",
|
||||
"integrity": "sha512-JqK0NZ4brjvOSL8hXAnIsfi+jxDF7rH/ZWCGCt0FAqRnVFc1hXsfwXksQvEnKqD84avRt3gmeXoK4tNbmkoVsQ==",
|
||||
"version": "0.28.5",
|
||||
"resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.28.5.tgz",
|
||||
"integrity": "sha512-gqTZwoUTwepwGIatnw4UKpQfnoyV0Z9Czn9+Lo2/jLIt4/AXLTn+oVZxlQ7Ng8bzcNkR+3DqLJ08kNr8jRmdNQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@vitest/spy": "0.28.4",
|
||||
"@vitest/utils": "0.28.4",
|
||||
"@vitest/spy": "0.28.5",
|
||||
"@vitest/utils": "0.28.5",
|
||||
"chai": "^4.3.7"
|
||||
}
|
||||
},
|
||||
"node_modules/@vitest/runner": {
|
||||
"version": "0.28.4",
|
||||
"resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.28.4.tgz",
|
||||
"integrity": "sha512-Q8UV6GjDvBSTfUoq0QXVCNpNOUrWu4P2qvRq7ssJWzn0+S0ojbVOxEjMt+8a32X6SdkhF8ak+2nkppsqV0JyNQ==",
|
||||
"version": "0.28.5",
|
||||
"resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.28.5.tgz",
|
||||
"integrity": "sha512-NKkHtLB+FGjpp5KmneQjTcPLWPTDfB7ie+MmF1PnUBf/tGe2OjGxWyB62ySYZ25EYp9krR5Bw0YPLS/VWh1QiA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@vitest/utils": "0.28.4",
|
||||
"@vitest/utils": "0.28.5",
|
||||
"p-limit": "^4.0.0",
|
||||
"pathe": "^1.1.0"
|
||||
}
|
||||
@@ -2572,18 +2572,18 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vitest/spy": {
|
||||
"version": "0.28.4",
|
||||
"resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.28.4.tgz",
|
||||
"integrity": "sha512-8WuhfXLlvCXpNXEGJW6Gc+IKWI32435fQJLh43u70HnZ1otJOa2Cmg2Wy2Aym47ZnNCP4NolF+8cUPwd0MigKQ==",
|
||||
"version": "0.28.5",
|
||||
"resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.28.5.tgz",
|
||||
"integrity": "sha512-7if6rsHQr9zbmvxN7h+gGh2L9eIIErgf8nSKYDlg07HHimCxp4H6I/X/DPXktVPPLQfiZ1Cw2cbDIx9fSqDjGw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"tinyspy": "^1.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@vitest/ui": {
|
||||
"version": "0.28.4",
|
||||
"resolved": "https://registry.npmjs.org/@vitest/ui/-/ui-0.28.4.tgz",
|
||||
"integrity": "sha512-LQfCCFc17n49mwtraV9/NAWl2DUqJS/9ZEa3fqJjoYO+HowdseQ5jvWflpzliCyfrIAh6cXVo1bNzHnDXe0cbw==",
|
||||
"version": "0.28.5",
|
||||
"resolved": "https://registry.npmjs.org/@vitest/ui/-/ui-0.28.5.tgz",
|
||||
"integrity": "sha512-hzzZzv38mH/LMFh54QEJpWFuGixZZBOD+C0fHU81d1lsvochPwNZhWJbuRJQNyZLSMZYCYW4hF6PpNQJXDHDmg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"fast-glob": "^3.2.12",
|
||||
@@ -2594,9 +2594,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vitest/utils": {
|
||||
"version": "0.28.4",
|
||||
"resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.28.4.tgz",
|
||||
"integrity": "sha512-l2QztOLdc2LkR+w/lP52RGh8hW+Ul4KESmCAgVE8q737I7e7bQoAfkARKpkPJ4JQtGpwW4deqlj1732VZD7TFw==",
|
||||
"version": "0.28.5",
|
||||
"resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.28.5.tgz",
|
||||
"integrity": "sha512-UyZdYwdULlOa4LTUSwZ+Paz7nBHGTT72jKwdFSV4IjHF1xsokp+CabMdhjvVhYwkLfO88ylJT46YMilnkSARZA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"cli-truncate": "^3.1.0",
|
||||
@@ -3542,9 +3542,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/devalue": {
|
||||
"version": "4.2.3",
|
||||
"resolved": "https://registry.npmjs.org/devalue/-/devalue-4.2.3.tgz",
|
||||
"integrity": "sha512-JG6Q248aN0pgFL57e3zqTVeFraBe+5W2ugvv1mLXsJP6YYIYJhRZhAl7QP8haJrqob6X10F9NEkuCvNILZTPeQ==",
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/devalue/-/devalue-4.3.0.tgz",
|
||||
"integrity": "sha512-n94yQo4LI3w7erwf84mhRUkUJfhLoCZiLyoOZ/QFsDbcWNZePrLwbQpvZBUG2TNxwV3VjCKPxkiiQA6pe3TrTA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/diff": {
|
||||
@@ -6449,15 +6449,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/mlly": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/mlly/-/mlly-1.1.0.tgz",
|
||||
"integrity": "sha512-cwzBrBfwGC1gYJyfcy8TcZU1f+dbH/T+TuOhtYP2wLv/Fb51/uV7HJQfBPtEupZ2ORLRU1EKFS/QfS3eo9+kBQ==",
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/mlly/-/mlly-1.1.1.tgz",
|
||||
"integrity": "sha512-Jnlh4W/aI4GySPo6+DyTN17Q75KKbLTyFK8BrGhjNP4rxuUjbRWhE6gHg3bs33URWAF44FRm7gdQA348i3XxRw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"acorn": "^8.8.1",
|
||||
"pathe": "^1.0.0",
|
||||
"acorn": "^8.8.2",
|
||||
"pathe": "^1.1.0",
|
||||
"pkg-types": "^1.0.1",
|
||||
"ufo": "^1.0.1"
|
||||
"ufo": "^1.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/mri": {
|
||||
@@ -6934,14 +6934,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/pkg-types": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.0.1.tgz",
|
||||
"integrity": "sha512-jHv9HB+Ho7dj6ItwppRDDl0iZRYBD0jsakHXtFgoLr+cHSF6xC+QL54sJmWxyGxOLYSHm0afhXhXcQDQqH9z8g==",
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.0.2.tgz",
|
||||
"integrity": "sha512-hM58GKXOcj8WTqUXnsQyJYXdeAPbythQgEF3nTcEo+nkD49chjQ9IKm/QJy9xf6JakXptz86h7ecP2024rrLaQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"jsonc-parser": "^3.2.0",
|
||||
"mlly": "^1.0.0",
|
||||
"pathe": "^1.0.0"
|
||||
"mlly": "^1.1.1",
|
||||
"pathe": "^1.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/playwright-core": {
|
||||
@@ -8125,9 +8125,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/tinyspy": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-1.0.2.tgz",
|
||||
"integrity": "sha512-bSGlgwLBYf7PnUsQ6WOc6SJ3pGOcd+d8AA6EUnLDDM0kWEstC1JIlSZA3UNliDXhd9ABoS7hiRBDCu+XP/sf1Q==",
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-1.1.1.tgz",
|
||||
"integrity": "sha512-UVq5AXt/gQlti7oxoIg5oi/9r0WpF7DGEVwXgqWSMmyN16+e3tl5lIvTaOpJ3TAtu5xFzWccFRM4R5NaWHF+4g==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
@@ -8286,9 +8286,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/ufo": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/ufo/-/ufo-1.0.1.tgz",
|
||||
"integrity": "sha512-boAm74ubXHY7KJQZLlXrtMz52qFvpsbOxDcZOnw/Wf+LS4Mmyu7JxmzD4tDLtUQtmZECypJ0FrCz4QIe6dvKRA==",
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ufo/-/ufo-1.1.0.tgz",
|
||||
"integrity": "sha512-LQc2s/ZDMaCN3QLpa+uzHUOQ7SdV0qgv3VBXOolQGXTaaZpIur6PwUclF5nN2hNkiTRcUugXd1zFOW3FLJ135Q==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/undici": {
|
||||
@@ -8387,9 +8387,9 @@
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/vite": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-4.1.1.tgz",
|
||||
"integrity": "sha512-LM9WWea8vsxhr782r9ntg+bhSFS06FJgCvvB0+8hf8UWtvaiDagKYWXndjfX6kGl74keHJUcpzrQliDXZlF5yg==",
|
||||
"version": "4.1.4",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-4.1.4.tgz",
|
||||
"integrity": "sha512-3knk/HsbSTKEin43zHu7jTwYWv81f8kgAL99G5NWBcA1LKvtvcVAC4JjBH1arBunO9kQka+1oGbrMKOjk4ZrBg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"esbuild": "^0.16.14",
|
||||
@@ -8436,9 +8436,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/vite-node": {
|
||||
"version": "0.28.4",
|
||||
"resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.28.4.tgz",
|
||||
"integrity": "sha512-KM0Q0uSG/xHHKOJvVHc5xDBabgt0l70y7/lWTR7Q0pR5/MrYxadT+y32cJOE65FfjGmJgxpVEEY+69btJgcXOQ==",
|
||||
"version": "0.28.5",
|
||||
"resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.28.5.tgz",
|
||||
"integrity": "sha512-LmXb9saMGlrMZbXTvOveJKwMTBTNUH66c8rJnQ0ZPNX+myPEol64+szRzXtV5ORb0Hb/91yq+/D3oERoyAt6LA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"cac": "^6.7.14",
|
||||
@@ -8485,18 +8485,18 @@
|
||||
}
|
||||
},
|
||||
"node_modules/vitest": {
|
||||
"version": "0.28.4",
|
||||
"resolved": "https://registry.npmjs.org/vitest/-/vitest-0.28.4.tgz",
|
||||
"integrity": "sha512-sfWIy0AdlbyGRhunm+TLQEJrFH9XuRPdApfubsyLcDbCRrUX717BRQKInTgzEfyl2Ipi1HWoHB84Nqtcwxogcg==",
|
||||
"version": "0.28.5",
|
||||
"resolved": "https://registry.npmjs.org/vitest/-/vitest-0.28.5.tgz",
|
||||
"integrity": "sha512-pyCQ+wcAOX7mKMcBNkzDwEHRGqQvHUl0XnoHR+3Pb1hytAHISgSxv9h0gUiSiYtISXUU3rMrKiKzFYDrI6ZIHA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@types/chai": "^4.3.4",
|
||||
"@types/chai-subset": "^1.3.3",
|
||||
"@types/node": "*",
|
||||
"@vitest/expect": "0.28.4",
|
||||
"@vitest/runner": "0.28.4",
|
||||
"@vitest/spy": "0.28.4",
|
||||
"@vitest/utils": "0.28.4",
|
||||
"@vitest/expect": "0.28.5",
|
||||
"@vitest/runner": "0.28.5",
|
||||
"@vitest/spy": "0.28.5",
|
||||
"@vitest/utils": "0.28.5",
|
||||
"acorn": "^8.8.1",
|
||||
"acorn-walk": "^8.2.0",
|
||||
"cac": "^6.7.14",
|
||||
@@ -8512,7 +8512,7 @@
|
||||
"tinypool": "^0.3.1",
|
||||
"tinyspy": "^1.0.2",
|
||||
"vite": "^3.0.0 || ^4.0.0",
|
||||
"vite-node": "0.28.4",
|
||||
"vite-node": "0.28.5",
|
||||
"why-is-node-running": "^2.2.2"
|
||||
},
|
||||
"bin": {
|
||||
|
||||
+3
-3
@@ -35,7 +35,7 @@
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.30.0",
|
||||
"@sveltejs/adapter-static": "1.0.6",
|
||||
"@sveltejs/kit": "1.3.10",
|
||||
"@sveltejs/kit": "^1.3.10",
|
||||
"@sveltejs/vite-plugin-svelte": "^2.0.2",
|
||||
"@testing-library/dom": "^8.20.0",
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
@@ -44,7 +44,7 @@
|
||||
"@types/prismjs": "^1.26.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
||||
"@typescript-eslint/parser": "^5.50.0",
|
||||
"@vitest/ui": "^0.28.4",
|
||||
"@vitest/ui": "^0.28.5",
|
||||
"eslint": "^8.33.0",
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
"eslint-plugin-svelte3": "^4.0.0",
|
||||
@@ -60,7 +60,7 @@
|
||||
"tslib": "^2.5.0",
|
||||
"typescript": "^4.9.5",
|
||||
"vite": "^4.1.1",
|
||||
"vitest": "^0.28.4"
|
||||
"vitest": "^0.28.5"
|
||||
},
|
||||
"type": "module",
|
||||
"pre-commit": [
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import Analytics from 'analytics';
|
||||
import googleAnalytics from '@analytics/google-analytics';
|
||||
import { get } from 'svelte/store';
|
||||
import { page } from '$app/stores';
|
||||
import { user } from '$lib/stores/user';
|
||||
import { AppwriteException } from '@appwrite.io/console';
|
||||
import { ENV, MODE, VARS } from '$lib/system';
|
||||
import googleAnalytics from '@analytics/google-analytics';
|
||||
import Analytics from 'analytics';
|
||||
import { get } from 'svelte/store';
|
||||
|
||||
const analytics = Analytics({
|
||||
app: 'appwrite',
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
<form class="modal-form" role="form" on:submit|preventDefault>
|
||||
<header class="modal-header">
|
||||
{#if warning}
|
||||
<div class="avatar is-color-orange is-medium">
|
||||
<div class="avatar is-warning is-medium">
|
||||
<span class="icon-exclamation" aria-hidden="true" />
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
</div>
|
||||
<div class="u-min-width-0 u-text-center">
|
||||
<h5 class="upload-file-box-title heading-level-7 u-inline">
|
||||
<span class="is-only-desktop">Drag and drop files here to upload</span>
|
||||
<span class="is-only-desktop">Drag and drop a file here to upload</span>
|
||||
<span class="is-not-desktop">Upload a File</span>
|
||||
</h5>
|
||||
{#if allowedFileExtensions?.length}
|
||||
|
||||
@@ -1,47 +1,68 @@
|
||||
<footer class="main-footer">
|
||||
<div class="container">
|
||||
<ul class="inline-links is-center">
|
||||
<script>
|
||||
import { Mode, MODE } from '$lib/system';
|
||||
|
||||
import { version } from '$routes/console/store';
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
</script>
|
||||
|
||||
<footer class="main-footer u-cross-center">
|
||||
<div class="main-footer-start">
|
||||
<ul class="inline-links is-no-padding-first-and-last u-x-small">
|
||||
<li class="inline-links-item">
|
||||
<a
|
||||
class="link"
|
||||
href="https://github.com/appwrite/appwrite"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">
|
||||
<span class="icon-github-circled" aria-hidden="true" />
|
||||
<span class="text">GitHub</span>
|
||||
<div class="u-flex u-cross-center u-gap-8">
|
||||
{#if MODE === Mode.CLOUD}
|
||||
<span class="icon-cloud" />
|
||||
{/if}
|
||||
{#if $version}
|
||||
<a
|
||||
class="text"
|
||||
href="https://github.com/appwrite/appwrite/blob/master/CHANGES.md"
|
||||
target="_blank"
|
||||
rel="noreferrer">
|
||||
Version {$version}
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
</li>
|
||||
<li class="inline-links-item">
|
||||
<a href="https://appwrite.io/policy/terms" target="_blank" rel="noreferrer">
|
||||
<span class="text">Terms</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="inline-links-item">
|
||||
<a
|
||||
class="link"
|
||||
href="https://appwrite.io/discord"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">
|
||||
<span class="icon-discord" aria-hidden="true" />
|
||||
<span class="text">Discord</span>
|
||||
<a href="https://appwrite.io/policy/privacy" target="_blank" rel="noreferrer">
|
||||
<span class="text">Privacy</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="main-footer-end">
|
||||
<ul class="inline-links is-no-padding-first-and-last u-x-small">
|
||||
<li class="inline-links-item">
|
||||
<a
|
||||
class="link"
|
||||
href="https://github.com/appwrite/appwrite/issues/new"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">
|
||||
<span class="text">Open an Issue</span>
|
||||
</a>
|
||||
<span class="text">ⓒ {currentYear} Appwrite. All rights reserved.</span>
|
||||
</li>
|
||||
<li class="inline-links-item">
|
||||
<a
|
||||
class="link"
|
||||
href="https://appwrite.io/docs"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">
|
||||
<span class="text">Docs</span>
|
||||
<li class="inline-links-item u-flex u-gap-8">
|
||||
<a href="https://github.com/appwrite/appwrite" target="_blank" rel="noreferrer">
|
||||
<span class="icon-github" aria-hidden="true" aria-label="Appwrite on Github" />
|
||||
</a>
|
||||
<a href="https://appwrite.io/discord" target="_blank" rel="noreferrer">
|
||||
<span
|
||||
class="icon-discord"
|
||||
aria-hidden="true"
|
||||
aria-label="Appwrite on Discord" />
|
||||
</a>
|
||||
</li>
|
||||
<li class="inline-links-item">
|
||||
<span class="text">API:0.13.2</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<style lang="scss">
|
||||
.main-footer {
|
||||
margin-block-start: auto;
|
||||
}
|
||||
|
||||
[class^='icon-']:not(:hover) {
|
||||
color: hsl(var(--color-neutral-50));
|
||||
}
|
||||
</style>
|
||||
@@ -41,7 +41,6 @@
|
||||
|
||||
<main
|
||||
class:grid-with-side={showSideNavigation}
|
||||
class:grid={!showSideNavigation}
|
||||
class:is-open={isOpen}
|
||||
class:u-hide={$wizard.show || $log.show}>
|
||||
<header class="main-header u-padding-inline-end-0">
|
||||
@@ -54,9 +53,11 @@
|
||||
</button>
|
||||
<slot name="header" />
|
||||
</header>
|
||||
<nav class="main-side">
|
||||
<slot name="side" />
|
||||
</nav>
|
||||
{#if showSideNavigation}
|
||||
<nav class="main-side">
|
||||
<slot name="side" />
|
||||
</nav>
|
||||
{/if}
|
||||
<section class="main-content">
|
||||
{#if $page.data?.header}
|
||||
<svelte:component this={$page.data.header} />
|
||||
@@ -64,11 +65,17 @@
|
||||
|
||||
<slot />
|
||||
</section>
|
||||
<slot name="footer" />
|
||||
</main>
|
||||
|
||||
<style>
|
||||
.grid-with-side {
|
||||
<style lang="scss">
|
||||
main {
|
||||
min-height: 100vh;
|
||||
|
||||
&:not(.grid-with-side) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.main-side {
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
import { base } from '$app/paths';
|
||||
import { user } from '$lib/stores/user';
|
||||
|
||||
export let imgLight = LoginLight;
|
||||
export let imgDark = LoginDark;
|
||||
|
||||
const technologies = [
|
||||
'js',
|
||||
'flutter',
|
||||
@@ -38,9 +41,9 @@
|
||||
class="container u-margin-block-start-20 is-not-mobile"
|
||||
style="--p-container-max-size: var(--container-size-large);">
|
||||
{#if $app.themeInUse === 'dark'}
|
||||
<img src={LoginDark} alt="" class="u-only-dark" />
|
||||
<img src={imgDark} alt="" class="u-only-dark" />
|
||||
{:else}
|
||||
<img src={LoginLight} alt="" class="u-only-light" />
|
||||
<img src={imgLight} alt="" class="u-only-light" />
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
</div>
|
||||
<Card>
|
||||
{#if count}
|
||||
<Heading tag="h6" size="6">{last(count).value}</Heading>
|
||||
<Heading tag="h6" size="6">{total(count)}</Heading>
|
||||
<p>{countMetadata.title}</p>
|
||||
<div class="u-margin-block-start-16" />
|
||||
<div class="chart-container">
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Models, Payload } from '@aw-labs/appwrite-console';
|
||||
import { Service } from './service';
|
||||
|
||||
export class Project extends Service {
|
||||
/**
|
||||
* Get usage stats for a project
|
||||
*
|
||||
*
|
||||
* @param {string} range
|
||||
* @throws {AppwriteException}
|
||||
* @returns {Promise}
|
||||
*/
|
||||
async getUsage(range?: string): Promise<Models.UsageProject> {
|
||||
const path = '/project/usage';
|
||||
const payload: Payload = {};
|
||||
|
||||
if (typeof range !== 'undefined') {
|
||||
payload['range'] = range;
|
||||
}
|
||||
|
||||
const uri = new URL(this.client.config.endpoint + path);
|
||||
return await this.client.call(
|
||||
'get',
|
||||
uri,
|
||||
{
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
payload
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
import type { Client, Payload } from '@aw-labs/appwrite-console';
|
||||
|
||||
export class Service {
|
||||
static CHUNK_SIZE = 5 * 1024 * 1024; // 5MB
|
||||
|
||||
client: Client;
|
||||
|
||||
constructor(client: Client) {
|
||||
this.client = client;
|
||||
}
|
||||
|
||||
static flatten(data: Payload, prefix = ''): Payload {
|
||||
let output: Payload = {};
|
||||
|
||||
for (const key in data) {
|
||||
const value = data[key];
|
||||
const finalKey = prefix ? `${prefix}[${key}]` : key;
|
||||
|
||||
if (Array.isArray(value)) {
|
||||
output = Object.assign(output, this.flatten(value, finalKey));
|
||||
} else {
|
||||
output[finalKey] = value;
|
||||
}
|
||||
}
|
||||
|
||||
return output;
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
import { Project } from '$lib/sdk/project';
|
||||
import { VARS } from '$lib/system';
|
||||
import {
|
||||
Account,
|
||||
@@ -14,6 +15,7 @@ import {
|
||||
} from '@appwrite.io/console';
|
||||
|
||||
const endpoint = VARS.APPWRITE_ENDPOINT ?? `${globalThis?.location?.origin}/v1`;
|
||||
|
||||
const clientConsole = new Client();
|
||||
clientConsole.setEndpoint(endpoint).setProject('console');
|
||||
|
||||
@@ -42,7 +44,7 @@ const sdkForProject = {
|
||||
functions: new Functions(clientProject),
|
||||
health: new Health(clientProject),
|
||||
locale: new Locale(clientProject),
|
||||
projects: new Projects(clientProject),
|
||||
project: new Project(clientProject),
|
||||
storage: new Storage(clientProject),
|
||||
teams: new Teams(clientProject),
|
||||
users: new Users(clientProject)
|
||||
|
||||
@@ -21,3 +21,5 @@ export const ENV = {
|
||||
};
|
||||
|
||||
export const MODE = VARS.CONSOLE_MODE === Mode.CLOUD ? Mode.CLOUD : Mode.SELF_HOSTED;
|
||||
export const isCloud = MODE === Mode.CLOUD;
|
||||
export const isSelfHosted = MODE === Mode.SELF_HOSTED;
|
||||
@@ -0,0 +1,12 @@
|
||||
<script>
|
||||
import { page } from '$app/stores';
|
||||
import { Heading } from '$lib/components';
|
||||
import { Button } from '$lib/elements/forms';
|
||||
import { Unauthenticated } from '$lib/layout';
|
||||
</script>
|
||||
|
||||
<Unauthenticated>
|
||||
<Heading size="1" tag="h3">{$page.status}</Heading>
|
||||
<Heading size="3" tag="h4">{$page.error.message}</Heading>
|
||||
<Button href="/">Back to the console</Button>
|
||||
</Unauthenticated>
|
||||
+12
-12
@@ -1,19 +1,19 @@
|
||||
<script lang="ts">
|
||||
import { afterNavigate, goto } from '$app/navigation';
|
||||
import { page } from '$app/stores';
|
||||
import { user } from '$lib/stores/user';
|
||||
import { onCLS, onFID, onLCP, onFCP, onINP, onTTFB } from 'web-vitals';
|
||||
import { reportWebVitals } from '$lib/helpers/vitals';
|
||||
import { onMount } from 'svelte';
|
||||
import { base } from '$app/paths';
|
||||
import { browser, dev } from '$app/environment';
|
||||
import { app } from '$lib/stores/app';
|
||||
import { Progress, Notifications } from '$lib/layout';
|
||||
import { loading } from './store';
|
||||
import Loading from './loading.svelte';
|
||||
import { afterNavigate, goto } from '$app/navigation';
|
||||
import { base } from '$app/paths';
|
||||
import { page } from '$app/stores';
|
||||
import { trackPageView } from '$lib/actions/analytics';
|
||||
import { reportWebVitals } from '$lib/helpers/vitals';
|
||||
import { Notifications, Progress } from '$lib/layout';
|
||||
import { app } from '$lib/stores/app';
|
||||
import { user } from '$lib/stores/user';
|
||||
import * as Sentry from '@sentry/svelte';
|
||||
import { BrowserTracing } from '@sentry/tracing';
|
||||
import { onMount } from 'svelte';
|
||||
import { onCLS, onFCP, onFID, onINP, onLCP, onTTFB } from 'web-vitals';
|
||||
import Loading from './loading.svelte';
|
||||
import { loading } from './store';
|
||||
|
||||
if (browser) {
|
||||
window.VERCEL_ANALYTICS_ID = import.meta.env.VERCEL_ANALYTICS_ID?.toString() ?? false;
|
||||
@@ -59,7 +59,7 @@
|
||||
}
|
||||
loading.set(false);
|
||||
} else {
|
||||
if (acceptedRoutes.includes($page.url.pathname)) {
|
||||
if (acceptedRoutes.some((n) => $page.url.pathname.startsWith(n))) {
|
||||
await goto(`${base}${$page.url.pathname}${$page.url.search}`);
|
||||
} else {
|
||||
await goto(`${base}/login`, {
|
||||
|
||||
@@ -28,7 +28,7 @@ export const load: LayoutLoad = async ({ depends, url }) => {
|
||||
'/auth/oauth2/failure'
|
||||
];
|
||||
|
||||
if (!acceptedRoutes.includes(url.pathname)) {
|
||||
if (!acceptedRoutes.some((n) => url.pathname.startsWith(n))) {
|
||||
throw redirect(303, '/login');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,18 +1,19 @@
|
||||
<script lang="ts">
|
||||
import Shell from '$lib/layout/shell.svelte';
|
||||
import SideNavigation from '$lib/layout/navigation.svelte';
|
||||
import Header from '$lib/layout/header.svelte';
|
||||
import { newOrgModal } from '$lib/stores/organization';
|
||||
import Create from './createOrganization.svelte';
|
||||
import { page } from '$app/stores';
|
||||
import { beforeNavigate } from '$app/navigation';
|
||||
import { wizard } from '$lib/stores/wizard';
|
||||
import { page } from '$app/stores';
|
||||
import { INTERVAL } from '$lib/constants';
|
||||
import { Logs } from '$lib/layout';
|
||||
import Footer from '$lib/layout/footer.svelte';
|
||||
import Header from '$lib/layout/header.svelte';
|
||||
import SideNavigation from '$lib/layout/navigation.svelte';
|
||||
import Shell from '$lib/layout/shell.svelte';
|
||||
import { feedback } from '$lib/stores/app';
|
||||
import { log } from '$lib/stores/logs';
|
||||
import { newOrgModal } from '$lib/stores/organization';
|
||||
import { wizard } from '$lib/stores/wizard';
|
||||
import { onMount } from 'svelte';
|
||||
import { loading } from '../store';
|
||||
import { feedback } from '$lib/stores/app';
|
||||
import { INTERVAL } from '$lib/constants';
|
||||
import Create from './createOrganization.svelte';
|
||||
|
||||
onMount(() => {
|
||||
loading.set(false);
|
||||
@@ -50,14 +51,10 @@
|
||||
!$page?.params.organization &&
|
||||
!$page.url.pathname.includes('/console/account') &&
|
||||
!$page.url.pathname.includes('/console/onboarding')}>
|
||||
<svelte:fragment slot="header">
|
||||
<Header />
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="side">
|
||||
<SideNavigation />
|
||||
</svelte:fragment>
|
||||
<Header slot="header" />
|
||||
<SideNavigation slot="side" />
|
||||
<slot />
|
||||
<footer class="main-footer" />
|
||||
<Footer slot="footer" />
|
||||
</Shell>
|
||||
|
||||
{#if $wizard.show && $wizard.component}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import { sdkForConsole } from '$lib/stores/sdk';
|
||||
import type { LayoutLoad } from './$types';
|
||||
|
||||
export const load: LayoutLoad = async () => {
|
||||
const response = await fetch(`${sdkForConsole.client.config.endpoint}/health/version`);
|
||||
const data = await response.json();
|
||||
|
||||
return {
|
||||
version: data?.version ?? null
|
||||
};
|
||||
};
|
||||
+9
-13
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores';
|
||||
import { base } from '$app/paths';
|
||||
import { Empty, AvatarInitials } from '$lib/components';
|
||||
import { AvatarInitials, EmptySearch } from '$lib/components';
|
||||
import {
|
||||
Table,
|
||||
TableHeader,
|
||||
@@ -67,19 +67,15 @@
|
||||
</TableBody>
|
||||
</Table>
|
||||
{:else}
|
||||
<Empty single>
|
||||
<p>No memberships available</p>
|
||||
<Button
|
||||
external
|
||||
secondary
|
||||
href="https://appwrite.io/docs/server/users?sdk=nodejs-default#usersListMemberships">
|
||||
Documentation
|
||||
</Button>
|
||||
</Empty>
|
||||
<EmptySearch>
|
||||
<div class="u-flex u-flex-vertical u-cross-center u-gap-24">
|
||||
<p class="text u-line-height-1-5">No memberships available</p>
|
||||
<Button external secondary href="https://appwrite.io/docs/client/teams">
|
||||
Documentation
|
||||
</Button>
|
||||
</div>
|
||||
</EmptySearch>
|
||||
{/if}
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {data.memberships.total}</p>
|
||||
</div>
|
||||
</Container>
|
||||
|
||||
<DeleteMembership {selectedMembership} bind:showDelete />
|
||||
+12
-13
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { Empty } from '$lib/components';
|
||||
import { EmptySearch } from '$lib/components';
|
||||
import {
|
||||
Table,
|
||||
TableBody,
|
||||
@@ -84,19 +84,18 @@
|
||||
</TableBody>
|
||||
</Table>
|
||||
{:else}
|
||||
<Empty single>
|
||||
<p>No sessions available</p>
|
||||
<Button
|
||||
external
|
||||
secondary
|
||||
href="https://appwrite.io/docs/server/auth?sdk=nodejs-default#usersGetSessions">
|
||||
Documentation
|
||||
</Button>
|
||||
</Empty>
|
||||
<EmptySearch>
|
||||
<div class="u-flex u-flex-vertical u-cross-center u-gap-24">
|
||||
<p class="text u-line-height-1-5">No sessions available</p>
|
||||
<Button
|
||||
external
|
||||
secondary
|
||||
href="https://appwrite.io/docs/server/auth?sdk=nodejs-default#usersGetSessions">
|
||||
Documentation
|
||||
</Button>
|
||||
</div>
|
||||
</EmptySearch>
|
||||
{/if}
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {data.sessions.total}</p>
|
||||
</div>
|
||||
</Container>
|
||||
|
||||
<DeleteSessions {selectedSessionId} bind:showDelete />
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@
|
||||
formattedColumn = column;
|
||||
} else if (Array.isArray(column)) {
|
||||
formattedColumn = formatArray(column);
|
||||
} else if (!column) {
|
||||
} else if (column === null) {
|
||||
formattedColumn = 'n/a';
|
||||
} else {
|
||||
formattedColumn = `${column}`;
|
||||
|
||||
+5
@@ -54,6 +54,11 @@
|
||||
key = null;
|
||||
selectedOption = null;
|
||||
$option = null;
|
||||
data = {
|
||||
required: false,
|
||||
array: false,
|
||||
default: null
|
||||
};
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
+10
-14
@@ -1,17 +1,17 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores';
|
||||
import { Card, CardGrid, Box, Heading, AvatarInitials } from '$lib/components';
|
||||
import { Container } from '$lib/layout';
|
||||
import { Button, InputText, Helper } from '$lib/elements/forms';
|
||||
import { sdkForProject } from '$lib/stores/sdk';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { database } from '../store';
|
||||
import { onMount } from 'svelte';
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import { invalidate } from '$app/navigation';
|
||||
import { page } from '$app/stores';
|
||||
import { Submit, trackError, trackEvent } from '$lib/actions/analytics';
|
||||
import { Box, Card, CardGrid, Heading } from '$lib/components';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { Button, Helper, InputText } from '$lib/elements/forms';
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import { Container } from '$lib/layout';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { sdkForProject } from '$lib/stores/sdk';
|
||||
import { onMount } from 'svelte';
|
||||
import Delete from '../delete.svelte';
|
||||
import { Submit, trackEvent, trackError } from '$lib/actions/analytics';
|
||||
import { database } from '../store';
|
||||
|
||||
let showDelete = false;
|
||||
let showError: false | 'name' | 'email' | 'password' = false;
|
||||
@@ -51,7 +51,6 @@
|
||||
<div class="common-section grid-1-2">
|
||||
<div class="grid-1-2-col-1">
|
||||
<div class="grid-1-2-col-1 u-flex u-cross-center u-gap-16">
|
||||
<AvatarInitials size={48} name={$database.name} />
|
||||
<Heading tag="h6" size="7">{$database.name}</Heading>
|
||||
</div>
|
||||
</div>
|
||||
@@ -99,9 +98,6 @@
|
||||
</p>
|
||||
<svelte:fragment slot="aside">
|
||||
<Box>
|
||||
<svelte:fragment slot="image">
|
||||
<AvatarInitials size={48} name={$database.name} />
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold u-trim-1">{$database.name}</h6>
|
||||
<span>Last Updated: {toLocaleDateTime($database.$updatedAt)}</span>
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { Container } from '$lib/layout';
|
||||
import { Card, SecondaryTabsItem, SecondaryTabs, Heading } from '$lib/components';
|
||||
import { last } from '$lib/layout/usage.svelte';
|
||||
import { total } from '$lib/layout/usage.svelte';
|
||||
import { BarChart } from '$lib/charts';
|
||||
import { page } from '$app/stores';
|
||||
import type { PageData } from './$types';
|
||||
@@ -35,7 +35,7 @@
|
||||
</div>
|
||||
{#if count}
|
||||
<Card>
|
||||
<Heading tag="h6" size="6">{last(count).value}</Heading>
|
||||
<Heading tag="h6" size="6">{total(count)}</Heading>
|
||||
<p>Executions</p>
|
||||
<div class="u-margin-block-start-16" />
|
||||
<BarChart
|
||||
@@ -49,7 +49,7 @@
|
||||
{/if}
|
||||
{#if errors}
|
||||
<Card>
|
||||
<Heading tag="h6" size="6">{last(errors).value}</Heading>
|
||||
<Heading tag="h6" size="6">{total(errors)}</Heading>
|
||||
<p>Errors</p>
|
||||
<div class="u-margin-block-start-16" />
|
||||
<BarChart
|
||||
|
||||
+1
-1
@@ -11,6 +11,6 @@ export const load: PageLoad = async ({ params, parent }) => {
|
||||
|
||||
return {
|
||||
count: response.executionsTotal as unknown as Models.Metric[],
|
||||
errors: response.buildsFailure as unknown as Models.Metric[]
|
||||
errors: response.executionsFailure as unknown as Models.Metric[]
|
||||
};
|
||||
};
|
||||
@@ -67,7 +67,7 @@
|
||||
<Onboard {projectId} />
|
||||
{:else}
|
||||
{#if $usage}
|
||||
{@const storage = humanFileSize(last($usage.storage)?.value ?? 0)}
|
||||
{@const storage = humanFileSize(total($usage.storage) ?? 0)}
|
||||
<section class="common-section">
|
||||
<div class="grid-dashboard-1s-2m-6l">
|
||||
<div class="card is-2-columns-medium-screen is-3-columns-large-screen">
|
||||
@@ -91,14 +91,14 @@
|
||||
|
||||
<div class="grid-item-1-end-start">
|
||||
<div class="heading-level-4">
|
||||
{format(last($usage.documents)?.value ?? 0)}
|
||||
{format(total($usage.documents) ?? 0)}
|
||||
</div>
|
||||
<div>Documents</div>
|
||||
</div>
|
||||
|
||||
<div class="grid-item-1-end-end">
|
||||
<div class="text">
|
||||
Databases: {format(last($usage.databases)?.value ?? 0)}
|
||||
Databases: {format(total($usage.databases) ?? 0)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -126,7 +126,7 @@
|
||||
|
||||
<div class="grid-item-1-end-end">
|
||||
<div class="text">
|
||||
Buckets: {format(last($usage.buckets)?.value ?? 0)}
|
||||
Buckets: {format(total($usage.buckets) ?? 0)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -146,7 +146,7 @@
|
||||
|
||||
<div class="grid-item-1-end-start">
|
||||
<div class="heading-level-4">
|
||||
{format(last($usage.users)?.value ?? 0)}
|
||||
{format(total($usage.users) ?? 0)}
|
||||
</div>
|
||||
<div>Users</div>
|
||||
</div>
|
||||
@@ -167,7 +167,7 @@
|
||||
|
||||
<div class="grid-item-1-end-start">
|
||||
<div class="heading-level-4">
|
||||
{format(last($usage.executions)?.value ?? 0)}
|
||||
{format(total($usage.executions) ?? 0)}
|
||||
</div>
|
||||
<div>Executions</div>
|
||||
</div>
|
||||
|
||||
@@ -81,5 +81,5 @@
|
||||
</svelte:fragment>
|
||||
</InputSelect>
|
||||
{#if expirationSelect === 'custom'}
|
||||
<InputDateTime id="expire" label="" bind:value={expirationCustom} showLabel={false} />
|
||||
<InputDateTime required id="expire" label="" bind:value={expirationCustom} showLabel={false} />
|
||||
{/if}
|
||||
@@ -134,7 +134,7 @@
|
||||
button
|
||||
on:click={() => (platform = Platform.Macos)}
|
||||
selected={platform === Platform.Macos}>
|
||||
Mac OS
|
||||
macOS
|
||||
</Pill>
|
||||
<Pill
|
||||
button
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { sdkForConsole } from '$lib/stores/sdk';
|
||||
import { sdkForConsole, sdkForProject } from '$lib/stores/sdk';
|
||||
import { cachedStore } from '$lib/helpers/cache';
|
||||
import type { Models } from '@appwrite.io/console';
|
||||
import { writable, type Writable } from 'svelte/store';
|
||||
import { isCloud } from '$lib/system';
|
||||
|
||||
export const usage = cachedStore<
|
||||
Models.UsageProject,
|
||||
@@ -11,7 +12,9 @@ export const usage = cachedStore<
|
||||
>('projectUsage', function ({ set }) {
|
||||
return {
|
||||
load: async (projectId, range) => {
|
||||
const usages = await sdkForConsole.projects.getUsage(projectId, range);
|
||||
const usages = isCloud
|
||||
? await sdkForProject.project.getUsage(range)
|
||||
: await sdkForConsole.projects.getUsage(projectId, range);
|
||||
set(usages);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
{#if file.chunksTotal / file.chunksUploaded !== 1}
|
||||
<TableRow>
|
||||
<TableCell title="Name">
|
||||
<div class="u-flex u-gap-12 u-main-space-between">
|
||||
<div class="u-flex u-gap-12 u-main-space-between u-cross-center">
|
||||
<span class="avatar is-size-small is-color-empty" />
|
||||
|
||||
<span class="text u-trim">{file.name}</span>
|
||||
@@ -136,7 +136,7 @@
|
||||
<TableRowLink
|
||||
href={`${base}/console/project-${projectId}/storage/bucket-${bucketId}/file-${file.$id}`}>
|
||||
<TableCell title="Name">
|
||||
<div class="u-flex u-gap-12">
|
||||
<div class="u-flex u-gap-12 u-cross-center">
|
||||
<Avatar size={32} src={getPreview(file.$id)} name={file.name} />
|
||||
<span class="text u-trim">{file.name}</span>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
import { page } from '$app/stores';
|
||||
import { derived } from 'svelte/store';
|
||||
|
||||
export const version = derived(page, ($page) => $page.data.version as string | null);
|
||||
@@ -0,0 +1,9 @@
|
||||
import { isSelfHosted } from '$lib/system';
|
||||
import { error } from '@sveltejs/kit';
|
||||
import type { LayoutLoad } from './$types';
|
||||
|
||||
export const load: LayoutLoad = async () => {
|
||||
if (isSelfHosted) {
|
||||
throw error(501, 'Not available in self hosted.');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,147 @@
|
||||
<script lang="ts">
|
||||
import { goto, invalidate } from '$app/navigation';
|
||||
import { base } from '$app/paths';
|
||||
import {
|
||||
Button,
|
||||
Form,
|
||||
FormItem,
|
||||
InputChoice,
|
||||
InputEmail,
|
||||
InputPassword,
|
||||
InputText
|
||||
} from '$lib/elements/forms';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { sdkForConsole } from '$lib/stores/sdk';
|
||||
import { Unauthenticated } from '$lib/layout';
|
||||
import FormList from '$lib/elements/forms/formList.svelte';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { trackEvent } from '$lib/actions/analytics';
|
||||
import { onMount } from 'svelte';
|
||||
import { page } from '$app/stores';
|
||||
import LoginLight from '$lib/images/login/login-light-mode.svg';
|
||||
import LoginDark from '$lib/images/login/login-dark-mode.svg';
|
||||
import { isCloud } from '$lib/system';
|
||||
|
||||
let slug = $page.params.slug;
|
||||
let imgLight = LoginLight;
|
||||
let imgDark = LoginDark;
|
||||
|
||||
onMount(async () => {
|
||||
if (isCloud) {
|
||||
switch (slug) {
|
||||
case 'mlh':
|
||||
imgDark = (await import('./mlh-dark.svg')).default;
|
||||
imgLight = (await import('./mlh-light.svg')).default;
|
||||
title = 'Welcome MLH Hackers!';
|
||||
break;
|
||||
case 'appwrite':
|
||||
imgDark = (await import('$lib/images/appwrite.svg')).default;
|
||||
imgLight = (await import('$lib/images/appwrite.svg')).default;
|
||||
title = 'Welcome Appwriters!';
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
let name: string, mail: string, pass: string, code: string, disabled: boolean;
|
||||
let title = 'Sign up';
|
||||
let terms = false;
|
||||
|
||||
async function invite() {
|
||||
try {
|
||||
disabled = true;
|
||||
const res = await fetch(`${sdkForConsole.client.config.endpoint}/account/invite`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
userId: 'unique()',
|
||||
email: mail,
|
||||
password: pass,
|
||||
code: code,
|
||||
name: name ?? ''
|
||||
})
|
||||
});
|
||||
if (!res.ok) {
|
||||
throw new Error((await res.json()).message);
|
||||
} else {
|
||||
await sdkForConsole.account.createEmailSession(mail, pass);
|
||||
await sdkForConsole.account.updatePrefs({ code });
|
||||
await invalidate(Dependencies.ACCOUNT);
|
||||
await goto(`${base}/console`);
|
||||
trackEvent('submit_account_create', { code: code });
|
||||
}
|
||||
} catch (error) {
|
||||
disabled = false;
|
||||
addNotification({
|
||||
type: 'error',
|
||||
message: error.message
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Sign up - Appwrite</title>
|
||||
</svelte:head>
|
||||
|
||||
<Unauthenticated {imgLight} {imgDark}>
|
||||
<svelte:fragment slot="title">{title}</svelte:fragment>
|
||||
<svelte:fragment>
|
||||
<Form on:submit={invite}>
|
||||
<FormList>
|
||||
<InputText
|
||||
id="name"
|
||||
label="Name"
|
||||
placeholder="Your name"
|
||||
autofocus={true}
|
||||
bind:value={name} />
|
||||
<InputEmail
|
||||
id="email"
|
||||
label="Email"
|
||||
placeholder="Your email"
|
||||
required={true}
|
||||
bind:value={mail} />
|
||||
<InputPassword
|
||||
id="password"
|
||||
label="Password"
|
||||
placeholder="Your password"
|
||||
required={true}
|
||||
showPasswordButton={true}
|
||||
bind:value={pass} />
|
||||
<InputText
|
||||
id="Code"
|
||||
label="Code"
|
||||
placeholder="Your code"
|
||||
required={true}
|
||||
bind:value={code} />
|
||||
<InputChoice required value={terms} id="terms" label="terms" showLabel={false}>
|
||||
By registering, you agree that you have read, understand, and acknowledge our <a
|
||||
class="link"
|
||||
href="https://appwrite.io/policy/privacy"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">
|
||||
Privacy Policy</a>
|
||||
and accept our
|
||||
<a
|
||||
class="link"
|
||||
href="https://appwrite.io/policy/terms"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">General Terms of Use</a
|
||||
>.</InputChoice>
|
||||
<FormItem>
|
||||
<Button fullWidth submit {disabled}>Sign up</Button>
|
||||
</FormItem>
|
||||
</FormList>
|
||||
</Form>
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="links">
|
||||
<li class="inline-links-item">
|
||||
<span class="text">
|
||||
Already got an account? <a class="link" href={`${base}/login`}>Sign in</a>
|
||||
</span>
|
||||
</li>
|
||||
</svelte:fragment>
|
||||
</Unauthenticated>
|
||||
@@ -0,0 +1,293 @@
|
||||
<svg width="414" height="368" viewBox="0 0 414 368" fill="none" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M412.313 236.014L308.995 297.443L122.231 191.995L224.5 118.5L412.313 236.014Z"
|
||||
fill="url(#paint0_linear_712_10909)" />
|
||||
<path
|
||||
d="M309.203 297.689V150.756C309.203 146.104 306.717 141.806 302.684 139.487L126.956 38.4316C125.623 37.6649 123.959 38.6273 123.959 40.1654V190.913L20.2472 253.184C17.695 254.716 17.6513 258.4 20.1665 259.993L187.464 365.919C188.724 366.717 190.324 366.747 191.613 365.998L309.203 297.689Z"
|
||||
fill="url(#paint1_linear_712_10909)" />
|
||||
<path
|
||||
d="M190.433 357.249L303.75 292.722L124.331 190.946L22.555 250.752L31.9981 257.572L66.0982 280.131L190.433 357.249Z"
|
||||
fill="url(#paint2_linear_712_10909)" />
|
||||
<path
|
||||
d="M209.298 335.002L268.077 299.261L115.413 210.881L63.3889 242.096C60.8073 243.645 60.7977 247.383 63.3713 248.945L205.144 335.004C206.421 335.779 208.022 335.778 209.298 335.002Z"
|
||||
fill="url(#paint3_linear_712_10909)" />
|
||||
<path
|
||||
d="M303.75 293.246V152.514C303.75 148.54 301.606 144.874 298.142 142.926L126.262 46.2537C124.929 45.5039 123.282 46.4673 123.282 47.9969V190.421L303.75 293.246Z"
|
||||
fill="url(#paint4_linear_712_10909)" />
|
||||
<path
|
||||
d="M297.78 281.18V152.277C297.78 150.834 297.002 149.502 295.744 148.793L130.397 55.5887C129.064 54.8372 127.415 55.8006 127.415 57.331V183.861L297.78 281.18Z"
|
||||
fill="url(#paint5_linear_712_10909)" />
|
||||
<mask id="mask0_712_10909" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="158" y="114"
|
||||
width="102" height="108">
|
||||
<rect width="115.836" height="48.9615" transform="matrix(0.866025 0.5 0 1 158.686 114.217)"
|
||||
fill="url(#pattern0)" />
|
||||
</mask>
|
||||
<g mask="url(#mask0_712_10909)">
|
||||
<rect x="148.001" y="114" width="135" height="117" fill="#C4C6D7" />
|
||||
</g>
|
||||
<path d="M272.949 315.816L87.9536 208.543" stroke="url(#paint6_radial_712_10909)" />
|
||||
<path d="M262.521 324.258L77.5248 216.986" stroke="url(#paint7_radial_712_10909)" />
|
||||
<path d="M252.091 330.218L67.0952 222.945" stroke="url(#paint8_radial_712_10909)" />
|
||||
<path d="M242.159 338.164L57.1635 230.891" stroke="url(#paint9_radial_712_10909)" />
|
||||
<path d="M250.104 290.487L190.756 322.272" stroke="url(#paint10_radial_712_10909)" />
|
||||
<path d="M232.225 281.548L173.622 313.084" stroke="url(#paint11_radial_712_10909)" />
|
||||
<path d="M140.846 227.912L81.4981 259.696" stroke="url(#paint12_radial_712_10909)" />
|
||||
<path d="M122.966 218.972L64.3632 250.509" stroke="url(#paint13_radial_712_10909)" />
|
||||
<path d="M216.332 271.119L169.649 296.199" stroke="url(#paint14_radial_712_10909)" />
|
||||
<path d="M201.931 262.676L155.247 287.756" stroke="url(#paint15_radial_712_10909)" />
|
||||
<path d="M187.529 254.233L140.846 279.313" stroke="url(#paint16_radial_712_10909)" />
|
||||
<path d="M173.622 245.79L126.939 270.87" stroke="url(#paint17_radial_712_10909)" />
|
||||
<path d="M157.234 237.348L110.551 262.428" stroke="url(#paint18_radial_712_10909)" />
|
||||
<path
|
||||
d="M268.076 303.214V299.541L207.221 333.642L60.3276 246.555V250.752L207.221 337.839L268.076 303.214Z"
|
||||
fill="url(#paint19_linear_712_10909)" />
|
||||
<g opacity="0.9">
|
||||
<path
|
||||
d="M314.587 5.43599L345.776 42.6929L345.777 42.693L335.679 70.7448L264.738 84.8151L232.118 46.3271L242.243 18.2021L314.587 5.43599Z"
|
||||
fill="url(#paint20_linear_712_10909)" />
|
||||
<path
|
||||
d="M273.278 28.2091C272.539 30.2627 269.547 31.0659 266.595 30.0033C263.643 28.9407 261.849 26.4145 262.588 24.361C264.079 20.2193 263.939 17.9347 270.028 19.2514C276.479 21.7487 275.058 23.5749 273.278 28.2091Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="269.271" cy="22.5666" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 269.271 22.5666)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M285.988 43.3681C285.249 45.4216 282.257 46.2249 279.305 45.1623C276.353 44.0996 274.559 41.5735 275.298 39.5199C276.789 35.3782 276.649 33.0936 282.738 34.4104C289.189 36.9076 287.768 38.7338 285.988 43.3681Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="281.982" cy="37.7256" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 281.982 37.7256)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M306.183 39.8982C305.443 41.9518 302.451 42.755 299.499 41.6924C296.547 40.6298 294.753 38.1036 295.493 36.0501C296.984 31.9084 296.844 29.6238 302.932 30.9405C309.383 33.4378 307.963 35.264 306.183 39.8982Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="302.175" cy="34.2552" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 302.175 34.2552)" fill="#FF749B" />
|
||||
<path
|
||||
d="M326.259 37.5779C325.52 39.6314 322.527 40.4347 319.575 39.3721C316.623 38.3095 314.83 35.7833 315.569 33.7298C317.06 29.5881 316.92 27.3034 323.008 28.6202C329.459 31.1175 328.039 32.9436 326.259 37.5779Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="322.253" cy="31.9358" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 322.253 31.9358)" fill="#FF6792" />
|
||||
<path
|
||||
d="M294.223 23.8083C293.483 25.8618 290.491 26.6651 287.539 25.6025C284.587 24.5398 282.794 22.0137 283.533 19.9602C285.024 15.8185 284.884 13.5338 290.972 14.8506C297.423 17.3479 296.003 19.174 294.223 23.8083Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="290.215" cy="18.1662" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 290.215 18.1662)" fill="#FF749B" />
|
||||
<path
|
||||
d="M315.132 22.086C314.393 24.1395 311.4 24.9428 308.448 23.8801C305.496 22.8175 303.703 20.2913 304.442 18.2378C305.933 14.0961 305.793 11.8115 311.881 13.1282C318.332 15.6255 316.912 17.4517 315.132 22.086Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="311.123" cy="16.4438" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 311.123 16.4438)" fill="#FF6792" />
|
||||
<path
|
||||
d="M274.895 56.036L242.201 18.61L232.147 46.5395L264.952 84.9004L335.292 72.7048L345.692 44.2286L274.895 56.036Z"
|
||||
fill="#F02E65" />
|
||||
<path d="M231.37 46.8438L242.088 18.6585L274.641 55.9743L264.716 85.7475L231.37 46.8438Z"
|
||||
fill="#F14C7C" />
|
||||
</g>
|
||||
<path
|
||||
d="M330.988 185.04L333.324 182.363L349.83 163.453L413.014 218.601L393.461 241.003L346.746 231.702L330.988 185.04Z"
|
||||
fill="url(#paint21_linear_712_10909)" />
|
||||
<path d="M398.176 172.689L413.086 218.571L365.65 209.041L350.224 163.796L398.176 172.689Z"
|
||||
fill="url(#paint22_linear_712_10909)" />
|
||||
<path
|
||||
d="M371.963 183.024C370.472 184.732 367.274 184.379 364.82 182.237C362.365 180.094 361.583 176.973 363.074 175.265C366.319 171.547 366.807 169.558 372.2 173.131C377.498 177.982 375.025 179.516 371.963 183.024Z"
|
||||
fill="#DF2B67" />
|
||||
<ellipse cx="370.219" cy="176.053" rx="5.89954" ry="4.10402"
|
||||
transform="rotate(41.1152 370.219 176.053)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M398.926 206.558C397.435 208.265 394.237 207.913 391.782 205.77C389.328 203.628 388.546 200.507 390.037 198.799C391.527 197.091 393.77 193.092 399.163 196.664C404.461 201.516 402.263 202.734 398.926 206.558Z"
|
||||
fill="#DF2B67" />
|
||||
<ellipse cx="397.181" cy="199.586" rx="5.89954" ry="4.10402"
|
||||
transform="rotate(41.1152 397.181 199.586)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M393.432 186.327C391.941 188.035 388.743 187.682 386.288 185.539C383.834 183.397 383.052 180.276 384.542 178.568C387.482 175.2 388.275 172.861 393.669 176.433C398.967 181.285 396.738 182.538 393.432 186.327Z"
|
||||
fill="#DF2B67" />
|
||||
<ellipse cx="391.685" cy="179.356" rx="5.89954" ry="4.10402"
|
||||
transform="rotate(41.1152 391.685 179.356)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M378.652 202.48C377.162 204.188 373.964 203.836 371.509 201.693C369.054 199.55 368.273 196.429 369.763 194.722C372.781 191.264 373.496 189.014 378.889 192.587C384.188 197.439 381.762 198.917 378.652 202.48Z"
|
||||
fill="#DF2B67" />
|
||||
<ellipse cx="376.906" cy="195.508" rx="5.89954" ry="4.10402"
|
||||
transform="rotate(41.1152 376.906 195.508)" fill="#FF84A8" />
|
||||
<path d="M365.591 208.701L346.893 231.871L393.232 241.22L412.743 218.457L365.591 208.701Z"
|
||||
fill="url(#paint23_linear_712_10909)" fill-opacity="0.8" />
|
||||
<g opacity="0.9">
|
||||
<path
|
||||
d="M11.5297 166.268L10.1189 163.078L0.151367 140.537L75.4626 107.234L87.2703 133.936L59.5891 171.632L11.5297 166.268Z"
|
||||
fill="url(#paint24_linear_712_10909)" />
|
||||
<path d="M28.4512 101.363L75.4641 107.158L47.2799 145.401L0.619156 140.33L28.4512 101.363Z"
|
||||
fill="url(#paint25_linear_712_10909)" />
|
||||
<path
|
||||
d="M26.7573 128.977C27.6573 131.012 26.0151 133.711 23.0892 135.005C20.1634 136.299 17.0619 135.698 16.1618 133.662C14.202 129.23 12.6351 127.97 18.054 124.656C24.5712 121.958 24.9082 124.795 26.7573 128.977Z"
|
||||
fill="#DA1A5B" fill-opacity="0.8" />
|
||||
<ellipse cx="19.8297" cy="127.634" rx="5.79257" ry="4.02961"
|
||||
transform="rotate(-23.8554 19.8297 127.634)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M58.894 114.766C59.794 116.801 58.1518 119.5 55.226 120.794C52.3001 122.088 49.1986 121.487 48.2986 119.451C47.3985 117.416 44.7718 113.759 50.1907 110.445C56.7079 107.747 56.8787 110.209 58.894 114.766Z"
|
||||
fill="#DA1A5B" fill-opacity="0.8" />
|
||||
<ellipse cx="51.9665" cy="113.423" rx="5.79257" ry="4.02961"
|
||||
transform="rotate(-23.8554 51.9665 113.423)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M38.6137 111.25C39.5138 113.285 37.8715 115.984 34.9457 117.278C32.0199 118.571 28.9184 117.97 28.0183 115.935C26.243 111.92 24.4915 110.243 29.9104 106.929C36.4277 104.23 36.6168 106.734 38.6137 111.25Z"
|
||||
fill="#DA1A5B" fill-opacity="0.8" />
|
||||
<ellipse cx="31.6872" cy="109.907" rx="5.79257" ry="4.02961"
|
||||
transform="rotate(-23.8554 31.6872 109.907)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M46.8442 131.109C47.7442 133.144 46.102 135.843 43.1762 137.137C40.2503 138.43 37.1488 137.829 36.2488 135.794C34.4262 131.672 32.722 130.102 38.1409 126.788C44.6581 124.089 44.9662 126.862 46.8442 131.109Z"
|
||||
fill="#DA1A5B" fill-opacity="0.8" />
|
||||
<ellipse cx="39.9176" cy="129.766" rx="5.79257" ry="4.02961"
|
||||
transform="rotate(-23.8554 39.9176 129.766)" fill="#FF84A8" />
|
||||
<path d="M59.3963 171.867L47.4229 145.526L74.9618 107.211L87.3343 133.552L59.3963 171.867Z"
|
||||
fill="#E7275E" fill-opacity="0.8" />
|
||||
</g>
|
||||
<defs>
|
||||
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
|
||||
<use xlink:href="#image0_712_10909"
|
||||
transform="translate(-0.0017451) scale(0.000601252 0.00142248)" />
|
||||
</pattern>
|
||||
<linearGradient id="paint0_linear_712_10909" x1="221.872" y1="305.837" x2="315.5" y2="202"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F02E65" />
|
||||
<stop offset="1" stop-color="#F02E65" stop-opacity="0" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_712_10909" x1="264.501" y1="393" x2="-355.694"
|
||||
y2="413.908" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#2B2E3F" />
|
||||
<stop offset="0.34172" stop-color="#3E425A" />
|
||||
<stop offset="1" stop-color="#292B3C" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear_712_10909" x1="22.3053" y1="150.417" x2="542.117"
|
||||
y2="859.425" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#34384C" />
|
||||
<stop offset="1" stop-color="#2F3245" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear_712_10909" x1="83.001" y1="199" x2="223.501" y2="293.5"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#33374A" />
|
||||
<stop offset="1" stop-color="#3E4155" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint4_linear_712_10909" x1="281.716" y1="208.783" x2="-82.7265"
|
||||
y2="227.28" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#3E425A" />
|
||||
<stop offset="1" stop-color="#3E425A" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint5_linear_712_10909" x1="-106.214" y1="-87.5116" x2="220.58"
|
||||
y2="205.838" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#222332" />
|
||||
<stop offset="1" stop-color="#2D2F40" />
|
||||
</linearGradient>
|
||||
<radialGradient id="paint6_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(180.451 262.179) rotate(90) scale(53.6363 92.4978)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint7_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(170.023 270.622) rotate(90) scale(53.6363 92.4978)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint8_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(159.593 276.582) rotate(90) scale(53.6363 92.4978)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint9_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(149.661 284.528) rotate(90) scale(53.6363 92.4978)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint10_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(220.43 306.38) rotate(90) scale(15.8922 29.6738)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint11_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(202.923 297.316) rotate(90) scale(15.7681 29.3013)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint12_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(111.172 243.804) rotate(90) scale(15.8922 29.6738)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint13_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(93.6645 234.74) rotate(90) scale(15.7681 29.3013)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint14_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(192.99 283.659) rotate(90) scale(12.54 23.3417)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint15_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(178.589 275.216) rotate(90) scale(12.54 23.3417)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint16_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(164.188 266.773) rotate(90) scale(12.54 23.3417)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint17_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(150.28 258.33) rotate(90) scale(12.54 23.3417)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint18_radial_712_10909" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(133.893 249.888) rotate(90) scale(12.54 23.3417)">
|
||||
<stop stop-color="#E8E9F0" stop-opacity="0.41" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<linearGradient id="paint19_linear_712_10909" x1="235.866" y1="362.068" x2="-29.7731"
|
||||
y2="213.482" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#292B3D" />
|
||||
<stop offset="0.441811" stop-color="#292C3E" />
|
||||
<stop offset="1" stop-color="#292C3E" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint20_linear_712_10909" x1="344.157" y1="34.2073" x2="233.823"
|
||||
y2="55.2616" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F02E65" />
|
||||
<stop offset="1" stop-color="#F6779D" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint21_linear_712_10909" x1="366.404" y1="259.105" x2="332.666"
|
||||
y2="166.02" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F02E65" stop-opacity="0.67" />
|
||||
<stop offset="1" stop-color="#FF5988" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint22_linear_712_10909" x1="386.321" y1="237.968" x2="338.917"
|
||||
y2="202.336" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F02E65" />
|
||||
<stop offset="1" stop-color="#FF749B" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint23_linear_712_10909" x1="358.274" y1="219.27" x2="379.818"
|
||||
y2="241.22" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F02E65" />
|
||||
<stop offset="1" stop-color="#CC1347" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint24_linear_712_10909" x1="37.807" y1="123.886" x2="88.5319"
|
||||
y2="147.92" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF5F8C" />
|
||||
<stop offset="1" stop-color="#DA1A5B" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint25_linear_712_10909" x1="79.3523" y1="98.0309" x2="57.0756"
|
||||
y2="155.733" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F24073" />
|
||||
<stop offset="1" stop-color="#FF8CAE" />
|
||||
</linearGradient>
|
||||
<image id="image0_712_10909" width="1669" height="703"
|
||||
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABoUAAAK/CAYAAACvEcSdAAAMPmlDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnltSIbQAAlJCb4KIlABSQmgBpHdRCUmAUEIMBBV7WVRw7WIBG7oqomCl2RE7i2LDvlhQUdbFgl15kwK67ivfm++bO//958x/zpyZWwYA9RNcsTgX1QAgT1QoiQn2ZyQlpzBITwAZ6AIVYAIwLq9AzIqKCgewDLZ/L+9uAETWXnWQaf2z/78WTb6ggAcAEgVxOr+AlwfxQQDwSp5YUggAUcabTy4UyzCsQFsCA4R4oQxnKnClDKcr8F65TVwMG+JWAMiqXK4kEwC1y5BnFPEyoYZaH8ROIr5QBIA6A2KfvLx8PsRpENtAGzHEMn1m+g86mX/TTB/S5HIzh7BiLvJCDhAWiHO5U//PdPzvkpcrHfRhBatqliQkRjZnmLebOflhMqwKca8oPSISYi2IPwj5cnuIUWqWNCReYY8a8grYMGdwpQHqxOcGhEFsCHGQKDciXMmnZwiDOBDDHYJOERZy4iDWg3ihoCAwVmmzWZIfo/SF1mdI2Cwlf44rkfuV+bovzYlnKfVfZwk4Sn1MrTgrLhFiKsQWRcKECIjVIHYsyIkNU9qMKc5iRwzaSKQxsvgtII4RiIL9FfpYUYYkKEZpX5pXMDhfbHOWkBOhxPsLs+JCFPnBWnlcefxwLthlgY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/Vr60eXnwL7+/2vqS+rpfSV4NvF78Rv/Njrcub1v6o/rvv8t79/l96Qf9Dzs/Mj+e/ZT46ennyV9IX9Z+tf3a/C3s292BvIEBMVfClf8KYLCiGRkAvN4BAC0ZADo8n1HHKc5/8oIozqxyBP4TVpwR5cUNgFr4/x7dC/9uOgHYuw0ev6C+eioAUTQA4jwAOnr0UB08q8nPlbJChOeAzZyv6Xnp4N8UxZnzh7h/boFM1QX83P4L7Op8TEN/anMAAAA4ZVhJZk1NACoAAAAIAAGHaQAEAAAAAQAAABoAAAAAAAKgAgAEAAAAAQAABoWgAwAEAAAAAQAAAr8AAAAA/y34GAAAQABJREFUeAHs3T1+HEd6B2DJVk44cwbsCYjQGWdPIPoEwmbORJ9A2BMs9wQaZs6WypwtdIKlTqBR5hC6gd/SEi0KIohBT3V9Pv37ldiY6a5663lHJIA/Pj7/7PFjF5fcjcs4fxbDQYAAAQIECLQp8FOUdXhf2rv48/b92+mxu7fj1EGgK4GLqPZljMv343n86ZhH4PvYavr76+b9uI0/HQQIECDQj0D6N3wX4+7fcZ9X6qd3p1Z697HJTUz0Nsa7Uyd0PwECDwqcxTMvY+xiXMbwMVMgTHL8EPtMf7++fT8e3fbnn7jiOp67inEew0GAAAECBAiMI3D3CdZDbOkmRnrnwUGgRYFdFHUd40UMB4E7gTdxch3jEMNBgAABAm0KXERZ1zFexhACBYLjF4EUEl3H2MdwECCQR+Aspnn1fvj7No9pz7P8HMW/fj9uH9rIx0Khy7j4bQxh0ENqHidAgAABAuMJpKDo5oMx3g7tqCeBsyg2vT8qDOqpa+Vr/XMseV1+WSsSIECAwCMC1/H8N49c4+m5BVI4dBXjJoaDAIH1Aq/i1usYwqD1hqPemcKhqxjp4+rfHfdDoau44tvfXeUBAgQIECBAYDaBFBKldx7SOLine truncated
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 66 KiB |
@@ -0,0 +1,284 @@
|
||||
<svg width="414" height="368" viewBox="0 0 414 368" fill="none" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M399.5 243.5L308.995 297.442L122.231 191.995L211.687 125.986L399.5 243.5Z"
|
||||
fill="url(#paint0_linear_712_10833)" />
|
||||
<path
|
||||
d="M309.203 297.689V150.756C309.203 146.104 306.717 141.806 302.684 139.487L126.956 38.4316C125.623 37.6649 123.959 38.6273 123.959 40.1654V190.913L20.2472 253.184C17.695 254.716 17.6513 258.4 20.1665 259.993L187.464 365.919C188.724 366.717 190.324 366.747 191.613 365.998L309.203 297.689Z"
|
||||
fill="url(#paint1_linear_712_10833)" />
|
||||
<path
|
||||
d="M190.433 357.249L303.75 292.721L124.331 190.946L22.555 250.752L31.9981 257.572L66.0982 280.131L190.433 357.249Z"
|
||||
fill="url(#paint2_linear_712_10833)" />
|
||||
<path
|
||||
d="M209.298 335.002L268.077 299.261L115.413 210.881L63.3889 242.096C60.8073 243.645 60.7977 247.383 63.3713 248.945L205.144 335.004C206.421 335.779 208.022 335.778 209.298 335.002Z"
|
||||
fill="white" />
|
||||
<path
|
||||
d="M303.75 293.246V152.514C303.75 148.54 301.606 144.874 298.142 142.926L126.262 46.2537C124.929 45.5039 123.282 46.4673 123.282 47.9969V190.421L303.75 293.246Z"
|
||||
fill="url(#paint3_linear_712_10833)" />
|
||||
<path
|
||||
d="M297.78 281.18V152.277C297.78 150.834 297.002 149.502 295.744 148.793L130.397 55.5887C129.064 54.8372 127.415 55.8006 127.415 57.331V183.861L297.78 281.18Z"
|
||||
fill="url(#paint4_linear_712_10833)" />
|
||||
<rect width="115.836" height="48.9615" transform="matrix(0.866025 0.5 0 1 158.686 114.217)"
|
||||
fill="url(#pattern0)" fill-opacity="0.4" />
|
||||
<rect width="115.836" height="48.9615" transform="matrix(0.866025 0.5 0 1 158.686 114.217)"
|
||||
fill="#868EA3" style="mix-blend-mode:overlay" />
|
||||
<path d="M272.949 315.816L87.9536 208.543" stroke="url(#paint5_radial_712_10833)" />
|
||||
<path d="M262.521 324.259L77.5248 216.986" stroke="url(#paint6_radial_712_10833)" />
|
||||
<path d="M252.091 330.218L67.0952 222.945" stroke="url(#paint7_radial_712_10833)" />
|
||||
<path d="M242.159 338.164L57.1635 230.891" stroke="url(#paint8_radial_712_10833)" />
|
||||
<path d="M250.104 290.487L190.756 322.272" stroke="url(#paint9_radial_712_10833)" />
|
||||
<path d="M232.225 281.548L173.622 313.084" stroke="url(#paint10_radial_712_10833)" />
|
||||
<path d="M140.846 227.912L81.4981 259.696" stroke="url(#paint11_radial_712_10833)" />
|
||||
<path d="M122.966 218.972L64.3632 250.509" stroke="url(#paint12_radial_712_10833)" />
|
||||
<path d="M216.332 271.119L169.649 296.199" stroke="url(#paint13_radial_712_10833)" />
|
||||
<path d="M201.931 262.676L155.247 287.756" stroke="url(#paint14_radial_712_10833)" />
|
||||
<path d="M187.529 254.233L140.846 279.313" stroke="url(#paint15_radial_712_10833)" />
|
||||
<path d="M173.622 245.791L126.939 270.87" stroke="url(#paint16_radial_712_10833)" />
|
||||
<path d="M157.234 237.348L110.551 262.428" stroke="url(#paint17_radial_712_10833)" />
|
||||
<path
|
||||
d="M268.076 303.214V299.541L207.221 333.642L60.3276 246.555V250.752L207.221 337.839L268.076 303.214Z"
|
||||
fill="url(#paint18_linear_712_10833)" />
|
||||
<g opacity="0.9">
|
||||
<path
|
||||
d="M314.587 5.43599L345.776 42.6929L345.777 42.693L335.679 70.7448L264.738 84.8151L232.118 46.3271L242.243 18.2021L314.587 5.43599Z"
|
||||
fill="url(#paint19_linear_712_10833)" />
|
||||
<path
|
||||
d="M273.278 28.2091C272.539 30.2627 269.547 31.0659 266.595 30.0033C263.643 28.9407 261.849 26.4145 262.588 24.361C264.079 20.2193 263.939 17.9347 270.028 19.2514C276.479 21.7487 275.058 23.5749 273.278 28.2091Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="269.271" cy="22.5666" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 269.271 22.5666)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M285.988 43.3681C285.249 45.4217 282.257 46.2249 279.305 45.1623C276.353 44.0997 274.559 41.5735 275.298 39.52C276.789 35.3783 276.649 33.0937 282.738 34.4104C289.189 36.9077 287.768 38.7339 285.988 43.3681Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="281.982" cy="37.7256" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 281.982 37.7256)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M306.183 39.8983C305.443 41.9518 302.451 42.7551 299.499 41.6924C296.547 40.6298 294.753 38.1037 295.493 36.0501C296.984 31.9084 296.844 29.6238 302.932 30.9406C309.383 33.4378 307.963 35.264 306.183 39.8983Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="302.175" cy="34.2553" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 302.175 34.2553)" fill="#FF749B" />
|
||||
<path
|
||||
d="M326.259 37.578C325.52 39.6315 322.527 40.4348 319.575 39.3721C316.623 38.3095 314.83 35.7834 315.569 33.7298C317.06 29.5881 316.92 27.3035 323.008 28.6202C329.459 31.1175 328.039 32.9437 326.259 37.578Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="322.253" cy="31.9358" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 322.253 31.9358)" fill="#FF6792" />
|
||||
<path
|
||||
d="M294.223 23.8084C293.483 25.8619 290.491 26.6652 287.539 25.6025C284.587 24.5399 282.794 22.0138 283.533 19.9602C285.024 15.8185 284.884 13.5339 290.972 14.8507C297.423 17.3479 296.003 19.1741 294.223 23.8084Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="290.215" cy="18.1662" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 290.215 18.1662)" fill="#FF749B" />
|
||||
<path
|
||||
d="M315.132 22.086C314.393 24.1396 311.4 24.9428 308.448 23.8802C305.496 22.8176 303.703 20.2914 304.442 18.2379C305.933 14.0962 305.793 11.8116 311.881 13.1283C318.332 15.6256 316.912 17.4517 315.132 22.086Z"
|
||||
fill="#DA1A5B" />
|
||||
<ellipse cx="311.123" cy="16.4439" rx="5.68073" ry="3.95181"
|
||||
transform="rotate(19.7978 311.123 16.4439)" fill="#FF6792" />
|
||||
<path
|
||||
d="M274.895 56.036L242.201 18.6101L232.147 46.5396L264.952 84.9004L335.292 72.7049L345.692 44.2287L274.895 56.036Z"
|
||||
fill="#F02E65" />
|
||||
<path d="M231.37 46.8438L242.088 18.6585L274.641 55.9743L264.716 85.7475L231.37 46.8438Z"
|
||||
fill="#F14C7C" />
|
||||
</g>
|
||||
<path
|
||||
d="M330.988 185.04L333.324 182.363L349.83 163.453L413.014 218.601L393.461 241.003L346.746 231.702L330.988 185.04Z"
|
||||
fill="url(#paint20_linear_712_10833)" />
|
||||
<path d="M398.176 172.689L413.086 218.571L365.65 209.041L350.224 163.796L398.176 172.689Z"
|
||||
fill="url(#paint21_linear_712_10833)" />
|
||||
<path
|
||||
d="M371.963 183.024C370.472 184.732 367.274 184.379 364.82 182.237C362.365 180.094 361.583 176.973 363.074 175.265C366.319 171.547 366.807 169.558 372.2 173.131C377.498 177.982 375.025 179.516 371.963 183.024Z"
|
||||
fill="#DF2B67" />
|
||||
<ellipse cx="370.219" cy="176.053" rx="5.89954" ry="4.10402"
|
||||
transform="rotate(41.1152 370.219 176.053)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M398.926 206.558C397.435 208.265 394.237 207.913 391.782 205.77C389.328 203.628 388.546 200.507 390.037 198.799C391.527 197.091 393.77 193.092 399.163 196.664C404.461 201.516 402.263 202.734 398.926 206.558Z"
|
||||
fill="#DF2B67" />
|
||||
<ellipse cx="397.181" cy="199.586" rx="5.89954" ry="4.10402"
|
||||
transform="rotate(41.1152 397.181 199.586)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M393.432 186.327C391.941 188.035 388.743 187.682 386.288 185.539C383.834 183.397 383.052 180.276 384.542 178.568C387.482 175.2 388.275 172.861 393.669 176.433C398.967 181.285 396.738 182.538 393.432 186.327Z"
|
||||
fill="#DF2B67" />
|
||||
<ellipse cx="391.685" cy="179.356" rx="5.89954" ry="4.10402"
|
||||
transform="rotate(41.1152 391.685 179.356)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M378.652 202.48C377.162 204.188 373.964 203.836 371.509 201.693C369.054 199.55 368.273 196.429 369.763 194.722C372.781 191.264 373.496 189.014 378.889 192.587C384.188 197.439 381.762 198.917 378.652 202.48Z"
|
||||
fill="#DF2B67" />
|
||||
<ellipse cx="376.906" cy="195.508" rx="5.89954" ry="4.10402"
|
||||
transform="rotate(41.1152 376.906 195.508)" fill="#FF84A8" />
|
||||
<path d="M365.591 208.701L346.893 231.871L393.232 241.22L412.743 218.457L365.591 208.701Z"
|
||||
fill="url(#paint22_linear_712_10833)" fill-opacity="0.8" />
|
||||
<g opacity="0.9">
|
||||
<path
|
||||
d="M11.5297 166.268L10.1189 163.078L0.151367 140.537L75.4626 107.234L87.2703 133.936L59.5891 171.632L11.5297 166.268Z"
|
||||
fill="url(#paint23_linear_712_10833)" />
|
||||
<path d="M28.4512 101.363L75.4641 107.158L47.2799 145.401L0.619156 140.33L28.4512 101.363Z"
|
||||
fill="url(#paint24_linear_712_10833)" />
|
||||
<path
|
||||
d="M26.7573 128.977C27.6573 131.012 26.0151 133.711 23.0892 135.005C20.1634 136.299 17.0619 135.698 16.1618 133.662C14.202 129.23 12.6351 127.97 18.054 124.656C24.5712 121.958 24.9082 124.795 26.7573 128.977Z"
|
||||
fill="#DA1A5B" fill-opacity="0.8" />
|
||||
<ellipse cx="19.8297" cy="127.634" rx="5.79257" ry="4.02961"
|
||||
transform="rotate(-23.8554 19.8297 127.634)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M58.894 114.766C59.794 116.801 58.1518 119.5 55.226 120.794C52.3001 122.088 49.1986 121.487 48.2986 119.451C47.3985 117.416 44.7718 113.759 50.1907 110.445C56.7079 107.747 56.8787 110.209 58.894 114.766Z"
|
||||
fill="#DA1A5B" fill-opacity="0.8" />
|
||||
<ellipse cx="51.9665" cy="113.423" rx="5.79257" ry="4.02961"
|
||||
transform="rotate(-23.8554 51.9665 113.423)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M38.6137 111.25C39.5138 113.285 37.8715 115.984 34.9457 117.278C32.0199 118.571 28.9184 117.97 28.0183 115.935C26.243 111.92 24.4915 110.243 29.9104 106.929C36.4277 104.23 36.6168 106.734 38.6137 111.25Z"
|
||||
fill="#DA1A5B" fill-opacity="0.8" />
|
||||
<ellipse cx="31.6872" cy="109.907" rx="5.79257" ry="4.02961"
|
||||
transform="rotate(-23.8554 31.6872 109.907)" fill="#FF84A8" />
|
||||
<path
|
||||
d="M46.8442 131.109C47.7442 133.144 46.102 135.843 43.1762 137.137C40.2503 138.43 37.1488 137.829 36.2488 135.794C34.4262 131.672 32.722 130.102 38.1409 126.788C44.6581 124.089 44.9662 126.862 46.8442 131.109Z"
|
||||
fill="#DA1A5B" fill-opacity="0.8" />
|
||||
<ellipse cx="39.9176" cy="129.766" rx="5.79257" ry="4.02961"
|
||||
transform="rotate(-23.8554 39.9176 129.766)" fill="#FF84A8" />
|
||||
<path d="M59.3963 171.867L47.4229 145.526L74.9618 107.211L87.3343 133.552L59.3963 171.867Z"
|
||||
fill="#E7275E" fill-opacity="0.8" />
|
||||
</g>
|
||||
<defs>
|
||||
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
|
||||
<use xlink:href="#image0_712_10833"
|
||||
transform="translate(-0.0017451) scale(0.000601252 0.00142248)" />
|
||||
</pattern>
|
||||
<linearGradient id="paint0_linear_712_10833" x1="221.842" y1="305.837" x2="341.454"
|
||||
y2="200.389" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F02E65" />
|
||||
<stop offset="1" stop-color="white" stop-opacity="0" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_712_10833" x1="364.865" y1="354.902" x2="-355.694"
|
||||
y2="413.908" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C4C6D7" />
|
||||
<stop offset="0.34172" stop-color="#E8E8F1" />
|
||||
<stop offset="1" stop-color="#FCFCFF" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear_712_10833" x1="22.3053" y1="150.417" x2="542.117"
|
||||
y2="859.425" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FAFAFF" />
|
||||
<stop offset="1" stop-color="#FAFAFF" stop-opacity="0" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear_712_10833" x1="281.716" y1="208.783" x2="-82.7265"
|
||||
y2="227.28" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#E8E8F1" />
|
||||
<stop offset="1" stop-color="#FCFCFF" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint4_linear_712_10833" x1="-106.214" y1="-87.5116" x2="220.58"
|
||||
y2="205.838" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#E8E8F1" />
|
||||
<stop offset="1" stop-color="#FCFCFF" />
|
||||
</linearGradient>
|
||||
<radialGradient id="paint5_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(180.451 262.179) rotate(90) scale(53.6363 92.4978)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint6_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(170.023 270.622) rotate(90) scale(53.6363 92.4978)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint7_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(159.593 276.582) rotate(90) scale(53.6363 92.4978)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint8_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(149.661 284.528) rotate(90) scale(53.6363 92.4978)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint9_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(220.43 306.38) rotate(90) scale(15.8922 29.6738)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint10_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(202.923 297.316) rotate(90) scale(15.7681 29.3013)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint11_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(111.172 243.804) rotate(90) scale(15.8922 29.6738)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint12_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(93.6645 234.741) rotate(90) scale(15.7681 29.3013)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint13_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(192.99 283.659) rotate(90) scale(12.54 23.3417)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint14_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(178.589 275.216) rotate(90) scale(12.54 23.3417)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint15_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(164.188 266.773) rotate(90) scale(12.54 23.3417)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint16_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(150.28 258.331) rotate(90) scale(12.54 23.3417)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<radialGradient id="paint17_radial_712_10833" cx="0" cy="0" r="1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(133.893 249.888) rotate(90) scale(12.54 23.3417)">
|
||||
<stop stop-color="#E8E9F0" />
|
||||
<stop offset="1" stop-color="#F7F7F7" stop-opacity="0" />
|
||||
</radialGradient>
|
||||
<linearGradient id="paint18_linear_712_10833" x1="235.866" y1="362.068" x2="-29.7731"
|
||||
y2="213.482" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C4C6D7" />
|
||||
<stop offset="0.441811" stop-color="#E8E8F1" />
|
||||
<stop offset="1" stop-color="#EBEBEB" stop-opacity="0" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint19_linear_712_10833" x1="344.157" y1="34.2073" x2="233.823"
|
||||
y2="55.2616" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F02E65" />
|
||||
<stop offset="1" stop-color="#F6779D" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint20_linear_712_10833" x1="366.404" y1="259.105" x2="332.666"
|
||||
y2="166.02" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F02E65" />
|
||||
<stop offset="1" stop-color="#FFAFC6" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint21_linear_712_10833" x1="386.321" y1="237.968" x2="338.917"
|
||||
y2="202.336" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F02E65" />
|
||||
<stop offset="1" stop-color="#FF749B" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint22_linear_712_10833" x1="358.274" y1="219.27" x2="379.818"
|
||||
y2="241.22" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F02E65" />
|
||||
<stop offset="1" stop-color="#F41958" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint23_linear_712_10833" x1="37.807" y1="123.886" x2="88.5319"
|
||||
y2="147.92" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF5F8C" />
|
||||
<stop offset="1" stop-color="#DA1A5B" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint24_linear_712_10833" x1="79.3523" y1="98.0309" x2="57.0756"
|
||||
y2="155.733" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#F24073" />
|
||||
<stop offset="1" stop-color="#FF8CAE" />
|
||||
</linearGradient>
|
||||
<image id="image0_712_10833" width="1669" height="703"
|
||||
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABoUAAAK/CAYAAACvEcSdAAAMPmlDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnltSIbQAAlJCb4KIlABSQmgBpHdRCUmAUEIMBBV7WVRw7WIBG7oqomC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IECLQp8FOUdXhf2rv48/b92+mxu7fj1EGgK4GLqPZljMv343n86ZhH4PvYavr76+b9uI0/HQQIECDQj0D6N3wX4+7fcZ9X6qd3p1Z697HJTUz0Nsa7Uyd0PwECDwqcxTMvY+xiXMbwMVMgTHL8EPtMf7++fT8e3fbnn7jiOp67inEew0GAAAECBAiMI3D3CdZDbOkmRnrnwUGgRYFdFHUd40UMB4E7gTdxch3jEMNBgAABAm0KXERZ1zFexhACBYLjF4EUEl3H2MdwECCQR+Aspnn1fvj7No9pz7P8HMW/fj9uH9rIx0Khy7j4bQxh0ENqHidAgAABAuMJpKDo5oMx3g7tqCeBsyg2vT8qDOqpa+Vr/XMseV1+WSsSIECAwCMC1/H8N49c4+m5BVI4dBXjJoaDAIH1Aq/i1usYwqD1hqPemcKhqxjp4+rfHfdDoau44tvfXeUBAgQIECBAYDaBFBKldx7SOLine truncated
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 66 KiB |
@@ -10,6 +10,9 @@ const config = {
|
||||
accessors: process.env.VITEST
|
||||
},
|
||||
kit: {
|
||||
alias: {
|
||||
$routes: './src/routes'
|
||||
},
|
||||
adapter: adapter({
|
||||
fallback: 'index.html'
|
||||
}),
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
|
||||
/** @type {import('vite').UserConfig} */
|
||||
const config = {
|
||||
const config = defineConfig({
|
||||
plugins: [sveltekit()],
|
||||
optimizeDeps: {
|
||||
include: ['echarts', 'prismjs']
|
||||
@@ -18,16 +18,15 @@ const config = {
|
||||
server: {
|
||||
port: 3000
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
/** @type {import('vite').UserConfig} */
|
||||
const testConfig = {
|
||||
const testConfig = defineConfig({
|
||||
resolve: {
|
||||
// hotfix for https://github.com/vitest-dev/vitest/issues/2834
|
||||
conditions: ['browser']
|
||||
},
|
||||
test: {
|
||||
include: ['tests/**/*.test.ts'],
|
||||
include: ['tests/unit/**/*.test.ts'],
|
||||
environment: 'jsdom',
|
||||
globals: true,
|
||||
threads: true,
|
||||
@@ -36,7 +35,7 @@ const testConfig = {
|
||||
inline: ['@analytics/type-utils']
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
export default process.env.VITEST
|
||||
? {
|
||||
Reference in new issue
Block a user