Merge branch 'users' of github.com:appwrite/appwrite-console-poc into storage
No files matched your search
@@ -9,8 +9,8 @@
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"@aw-labs/appwrite-console": "^1.0.0-0",
|
||||
"@aw-labs/icons": "^0.0.0-24",
|
||||
"@aw-labs/ui": "^0.0.0-24",
|
||||
"@aw-labs/icons": "^0.0.0-27",
|
||||
"@aw-labs/ui": "^0.0.0-27",
|
||||
"echarts": "^5.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -69,14 +69,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aw-labs/icons": {
|
||||
"version": "0.0.0-24",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-24.tgz",
|
||||
"integrity": "sha512-DwVJiMvPyUuzhsQlzhJS4MZIyOHreAT8dEC1ZHx88LWN0ykogYcGtN4N8mLaYjdwb+PDrDeGyWIFBQbK6XOgbw=="
|
||||
"version": "0.0.0-27",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-27.tgz",
|
||||
"integrity": "sha512-8cXsTerCmeKt2zMMdwSqsrbbYGQQSUOKCABEC1rendoCACNY5Nmms1QrTQzhzWSuvX1j4a4k+HXNL3ZfM18iZQ=="
|
||||
},
|
||||
"node_modules/@aw-labs/ui": {
|
||||
"version": "0.0.0-24",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-24.tgz",
|
||||
"integrity": "sha512-vUAQ7fj3MiLklvMRJarA57OZB7lv6d92XQ4G5yvs1SYk6BVpVpDztV4iGPd7+/AOPBEZ7AVnvlaGDm16ENC/lA==",
|
||||
"version": "0.0.0-27",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-27.tgz",
|
||||
"integrity": "sha512-GS9RB5eevpl5TRYEvjo9Xgipbw4nR6M+8gEKLUWbTKHPJ6RCNtQOqVi+vqM7Ad7r1zKPuA7gILSDSNdEChVNiA==",
|
||||
"dependencies": {
|
||||
"@aw-labs/icons": "*"
|
||||
}
|
||||
@@ -7853,14 +7853,14 @@
|
||||
}
|
||||
},
|
||||
"@aw-labs/icons": {
|
||||
"version": "0.0.0-24",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-24.tgz",
|
||||
"integrity": "sha512-DwVJiMvPyUuzhsQlzhJS4MZIyOHreAT8dEC1ZHx88LWN0ykogYcGtN4N8mLaYjdwb+PDrDeGyWIFBQbK6XOgbw=="
|
||||
"version": "0.0.0-27",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-27.tgz",
|
||||
"integrity": "sha512-8cXsTerCmeKt2zMMdwSqsrbbYGQQSUOKCABEC1rendoCACNY5Nmms1QrTQzhzWSuvX1j4a4k+HXNL3ZfM18iZQ=="
|
||||
},
|
||||
"@aw-labs/ui": {
|
||||
"version": "0.0.0-24",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-24.tgz",
|
||||
"integrity": "sha512-vUAQ7fj3MiLklvMRJarA57OZB7lv6d92XQ4G5yvs1SYk6BVpVpDztV4iGPd7+/AOPBEZ7AVnvlaGDm16ENC/lA==",
|
||||
"version": "0.0.0-27",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-27.tgz",
|
||||
"integrity": "sha512-GS9RB5eevpl5TRYEvjo9Xgipbw4nR6M+8gEKLUWbTKHPJ6RCNtQOqVi+vqM7Ad7r1zKPuA7gILSDSNdEChVNiA==",
|
||||
"requires": {
|
||||
"@aw-labs/icons": "*"
|
||||
}
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@aw-labs/appwrite-console": "^1.0.0-0",
|
||||
"@aw-labs/icons": "^0.0.0-24",
|
||||
"@aw-labs/ui": "^0.0.0-24",
|
||||
"@aw-labs/icons": "^0.0.0-27",
|
||||
"@aw-labs/ui": "^0.0.0-27",
|
||||
"echarts": "^5.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
import { app } from '$lib/stores/app';
|
||||
import light from './echartLight.json';
|
||||
import dark from './echartDark.json';
|
||||
import { browser } from '$app/env';
|
||||
|
||||
echarts.use([
|
||||
TitleComponent,
|
||||
@@ -60,25 +59,11 @@
|
||||
let timeoutId: unknown;
|
||||
|
||||
$: option && setOption();
|
||||
$: if (myChart && selectedTheme) {
|
||||
$: if (myChart && $app.themeInUse) {
|
||||
makeChart();
|
||||
setOption();
|
||||
}
|
||||
|
||||
$: selectedTheme = $app.theme;
|
||||
$: if ($app.theme === 'auto') {
|
||||
if (browser) {
|
||||
const darkThemeMq = window.matchMedia('(prefers-color-scheme: dark)');
|
||||
if (darkThemeMq.matches) {
|
||||
selectedTheme = 'dark';
|
||||
} else {
|
||||
selectedTheme = 'light';
|
||||
}
|
||||
}
|
||||
} else {
|
||||
selectedTheme = $app.theme;
|
||||
}
|
||||
|
||||
onMount(() => {
|
||||
makeChart();
|
||||
});
|
||||
@@ -100,7 +85,7 @@
|
||||
|
||||
const makeChart = () => {
|
||||
destroyChart();
|
||||
myChart = echarts.init(document.getElementById(`echart-${title}`), selectedTheme);
|
||||
myChart = echarts.init(document.getElementById(`echart-${title}`), $app.themeInUse);
|
||||
series.forEach((s: LineSeriesOption, i: number) => {
|
||||
s.areaStyle = colorToGradient(myChart['_theme'].color[i]);
|
||||
});
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
<script>
|
||||
import { Card } from '$lib/components';
|
||||
export let show = false;
|
||||
</script>
|
||||
|
||||
{#if show}
|
||||
<Card>
|
||||
<header class="modal-header">
|
||||
<h4 class="modal-title"><slot name="header" /></h4>
|
||||
<section class="modal is-inner-modal">
|
||||
<header class="modal-header u-flex-wrap">
|
||||
<h4 class="modal-title body-text-1">
|
||||
<slot name="title" />
|
||||
</h4>
|
||||
<button
|
||||
type="button"
|
||||
class="x-button"
|
||||
@@ -15,12 +16,12 @@
|
||||
on:click={() => (show = false)}>
|
||||
<span class="icon-x" aria-hidden="true" />
|
||||
</button>
|
||||
<p class="u-flex-basis-100-percent">
|
||||
<slot />
|
||||
</p>
|
||||
</header>
|
||||
<div class="modal-content">
|
||||
<slot />
|
||||
<slot name="content" />
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<slot name="footer" />
|
||||
</div>
|
||||
</Card>
|
||||
</section>
|
||||
{/if}
|
||||
@@ -3,6 +3,6 @@
|
||||
</script>
|
||||
|
||||
<a {href}>
|
||||
<i class="icon-cheveron-left" />
|
||||
<span class="icon-cheveron-left" aria-hidden="true" />
|
||||
<slot />
|
||||
</a>
|
||||
@@ -8,10 +8,10 @@
|
||||
|
||||
<Card>
|
||||
<div class="common-section grid-1-2">
|
||||
<div class="grid-1-2-col-1">
|
||||
<div class="grid-1-2-col-1 u-flex u-flex-vertical u-gap-16">
|
||||
<slot />
|
||||
</div>
|
||||
<div class="grid-1-2-col-2">
|
||||
<div class="grid-1-2-col-2 u-flex u-flex-vertical u-gap-32">
|
||||
<slot name="aside" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,14 +2,15 @@
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
|
||||
export let value: string;
|
||||
let text = 'Copy ID';
|
||||
|
||||
const copy = async () => {
|
||||
try {
|
||||
await navigator.clipboard.writeText(value);
|
||||
addNotification({
|
||||
message: 'Copied to clipboard.',
|
||||
type: 'success'
|
||||
});
|
||||
text = 'Copied ID';
|
||||
setTimeout(() => {
|
||||
text = 'Copy ID';
|
||||
}, 2000);
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
message: error.message,
|
||||
@@ -19,6 +20,7 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
<span on:click|preventDefault={copy}>
|
||||
<span class="tooltip " on:mouseenter={() => (text = 'Copy ID')} on:click|preventDefault={copy}>
|
||||
<slot />
|
||||
<span class="tooltip-popup is-bottom" role="tooltip"> {text} </span>
|
||||
</span>
|
||||
@@ -4,6 +4,7 @@
|
||||
export let show = false;
|
||||
export let position: 'top' | 'bottom' = 'top';
|
||||
export let horizontal: 'left' | 'right' = 'right';
|
||||
export let arrowPosition: 'start' | 'center' | 'end' = 'start';
|
||||
export let arrow = true;
|
||||
let parentElement: HTMLDivElement;
|
||||
|
||||
@@ -24,6 +25,8 @@
|
||||
{#if show}
|
||||
<div
|
||||
class="drop"
|
||||
class:is-arrow-center={arrowPosition === 'center'}
|
||||
class:is-arrow-end={arrowPosition === 'end'}
|
||||
class:is-no-arrow={!arrow}
|
||||
class:is-block-end={position === 'bottom'}
|
||||
class:is-inline-end={horizontal === 'left'}
|
||||
|
||||
@@ -2,7 +2,7 @@ export { default as Modal } from './modal.svelte';
|
||||
export { default as Pagination } from './pagination.svelte';
|
||||
export { default as Card } from './card.svelte';
|
||||
export { default as CardGrid } from './cardGrid.svelte';
|
||||
export { default as CardDrop } from './cardDrop.svelte';
|
||||
export { default as InnerModal } from './InnerModal.svelte';
|
||||
export { default as Tile } from './tile.svelte';
|
||||
export { default as Tiles } from './tiles.svelte';
|
||||
export { default as Back } from './back.svelte';
|
||||
|
||||
@@ -20,9 +20,11 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<li class={`helper u-${type}`}>
|
||||
<li class={`helper u-${type} u-margin-block-start-8"`}>
|
||||
{#if icon !== ''}
|
||||
<span class={`icon-${icon}`} aria-hidden="true" />
|
||||
{/if}
|
||||
<slot />
|
||||
<span class="text">
|
||||
<slot />
|
||||
</span>
|
||||
</li>
|
||||
@@ -2,6 +2,7 @@
|
||||
import { FormItem } from '.';
|
||||
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let id: string;
|
||||
export let value = false;
|
||||
export let required = false;
|
||||
@@ -9,7 +10,7 @@
|
||||
</script>
|
||||
|
||||
<FormItem>
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
<div class="input-text-wrapper">
|
||||
<input {id} {disabled} {required} type="checkbox" bind:checked={value} />
|
||||
</div>
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
<script lang="ts">
|
||||
import { onMount, tick } from 'svelte';
|
||||
import { FormItem } from '.';
|
||||
|
||||
export let id: string;
|
||||
export let label: string;
|
||||
export let value = '';
|
||||
export let placeholder = '';
|
||||
export let required = false;
|
||||
export let autofocus = false;
|
||||
|
||||
let element: HTMLInputElement;
|
||||
let unique = true;
|
||||
let bench = '';
|
||||
|
||||
const toggle = async () => {
|
||||
unique = !unique;
|
||||
if (unique) {
|
||||
@@ -24,7 +21,6 @@
|
||||
element.focus();
|
||||
}
|
||||
};
|
||||
|
||||
onMount(() => {
|
||||
value = 'unique()';
|
||||
if (element && autofocus) {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
import { FormItem } from '.';
|
||||
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let id: string;
|
||||
export let value = '';
|
||||
export let placeholder = '';
|
||||
@@ -21,7 +22,7 @@
|
||||
</script>
|
||||
|
||||
<FormItem>
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
<div class="input-text-wrapper">
|
||||
<input
|
||||
{id}
|
||||
|
||||
@@ -3,13 +3,14 @@
|
||||
|
||||
export let id: string;
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let files: FileList;
|
||||
export let required = false;
|
||||
export let disabled = false;
|
||||
</script>
|
||||
|
||||
<FormItem>
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
<div class="input-text-wrapper">
|
||||
<input {id} {disabled} {required} bind:files type="file" />
|
||||
</div>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
import { FormItem } from '.';
|
||||
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let id: string;
|
||||
export let value: number = null;
|
||||
export let placeholder = '';
|
||||
@@ -22,7 +23,7 @@
|
||||
</script>
|
||||
|
||||
<FormItem>
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
<div class="input-text-wrapper">
|
||||
<input
|
||||
{id}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
export let id: string;
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let value = '';
|
||||
export let placeholder = '';
|
||||
export let required = false;
|
||||
@@ -26,7 +27,7 @@
|
||||
</script>
|
||||
|
||||
<FormItem>
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
<div class="input-text-wrapper">
|
||||
{#if showInPlainText}
|
||||
<input
|
||||
@@ -69,7 +70,10 @@
|
||||
on:click={() => (showInPlainText = !showInPlainText)}
|
||||
class="show-password-button"
|
||||
aria-label="show password">
|
||||
<span class="icon-eye" aria-hidden="true" />
|
||||
<span
|
||||
class:icon-eye={!showInPlainText}
|
||||
class:icon-eye-off={showInPlainText}
|
||||
aria-hidden="true" />
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
import { FormItem } from '.';
|
||||
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let id: string;
|
||||
export let value = '';
|
||||
export let placeholder = '';
|
||||
@@ -22,7 +23,7 @@
|
||||
</script>
|
||||
|
||||
<FormItem>
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
<div class="input-text-wrapper">
|
||||
<input
|
||||
{id}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
import { FormItem } from '.';
|
||||
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let id: string;
|
||||
export let group: string;
|
||||
export let value: string;
|
||||
@@ -13,6 +14,6 @@
|
||||
<FormItem>
|
||||
<div class="input-text-wrapper">
|
||||
<input {id} {name} {disabled} {required} {value} type="radio" bind:group />
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
</div>
|
||||
</FormItem>
|
||||
@@ -2,6 +2,7 @@
|
||||
import { FormItem } from '.';
|
||||
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let id: string;
|
||||
export let value: string;
|
||||
export let required = false;
|
||||
@@ -13,7 +14,7 @@
|
||||
</script>
|
||||
|
||||
<FormItem>
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
<div class="select">
|
||||
<select bind:value {id} {required} {disabled}>
|
||||
{#each options as option}
|
||||
@@ -22,6 +23,6 @@
|
||||
</option>
|
||||
{/each}
|
||||
</select>
|
||||
<span class="icon-down-open" aria-hidden="true" />
|
||||
<span class="icon-cheveron-down" aria-hidden="true" />
|
||||
</div>
|
||||
</FormItem>
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
export let id: string;
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let tags: string[] = [];
|
||||
export let placeholder = '';
|
||||
export let helper = '';
|
||||
@@ -50,7 +51,7 @@
|
||||
</script>
|
||||
|
||||
<FormItem>
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
<div class="input-text-wrapper">
|
||||
<div class="tags-input">
|
||||
<div class="tags">
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
import { FormItem } from '.';
|
||||
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let id: string;
|
||||
export let value = '';
|
||||
export let placeholder = '';
|
||||
@@ -22,7 +23,7 @@
|
||||
</script>
|
||||
|
||||
<FormItem>
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
<div class="input-text-wrapper">
|
||||
<input
|
||||
{id}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
import { FormItem } from '.';
|
||||
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let id: string;
|
||||
export let value = '';
|
||||
export let placeholder = '';
|
||||
@@ -21,7 +22,7 @@
|
||||
</script>
|
||||
|
||||
<FormItem>
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
<div class="input-text-wrapper">
|
||||
<textarea
|
||||
{id}
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
<script lang="ts">
|
||||
export let title: string;
|
||||
export let showOverflow = false;
|
||||
</script>
|
||||
|
||||
<div class="table-col is-main" data-title={title} role="cell">
|
||||
<div
|
||||
class="table-col is-main"
|
||||
class:u-overflow-visible={showOverflow}
|
||||
data-title={title}
|
||||
role="cell">
|
||||
<span class="text"><slot /></span>
|
||||
</div>
|
||||
@@ -1,6 +1,11 @@
|
||||
export const toLocaleDate = (timestamp: number) => {
|
||||
const date = new Date(timestamp * 1000);
|
||||
const options: Intl.DateTimeFormatOptions = { year: 'numeric', month: 'long', day: 'numeric' };
|
||||
const options: Intl.DateTimeFormatOptions = {
|
||||
year: 'numeric',
|
||||
month: 'long',
|
||||
day: 'numeric',
|
||||
hour12: false
|
||||
};
|
||||
|
||||
return date.toLocaleDateString('en', options);
|
||||
};
|
||||
@@ -12,7 +17,8 @@ export const toLocaleDateTime = (timestamp: number) => {
|
||||
month: 'long',
|
||||
day: 'numeric',
|
||||
hour: 'numeric',
|
||||
minute: 'numeric'
|
||||
minute: 'numeric',
|
||||
hour12: false
|
||||
};
|
||||
|
||||
return date.toLocaleDateString('en', options);
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
<div class="top-cover" class:is-adjust-content-to-cover={adjustContentToCover}>
|
||||
<div class="container">
|
||||
<h1 class="heading-level-4">
|
||||
<slot name="title" />
|
||||
</h1>
|
||||
<div class="u-flex u-cross-center u-gap-16 u-margin-block-start-20">
|
||||
<slot name="header" />
|
||||
</div>
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
@@ -33,6 +33,9 @@
|
||||
};
|
||||
|
||||
const onScroll = () => {
|
||||
if (!tabsList) {
|
||||
return;
|
||||
}
|
||||
const { offsetWidth, scrollLeft, scrollWidth } = tabsList;
|
||||
showLeft = scrollLeft > 10;
|
||||
showRight = scrollLeft < scrollWidth - offsetWidth - 10;
|
||||
@@ -70,24 +73,22 @@
|
||||
</nav>
|
||||
<section class="main-content">
|
||||
<Cover>
|
||||
<svelte:fragment slot="title">
|
||||
<svelte:fragment slot="header">
|
||||
{#if $backButton}
|
||||
<a class="back-button" href={$backButton} aria-label="page back">
|
||||
<span class="icon-cheveron-left" aria-hidden="true" />
|
||||
</a>
|
||||
{/if}
|
||||
<h1 class="heading-level-4">
|
||||
<span class="text"> {$title}</span>
|
||||
{#if $copyData?.value}
|
||||
<Copy value={$copyData.value}>
|
||||
<Pill button><i class="icon-duplicate" />{$copyData.text}</Pill>
|
||||
</Copy>
|
||||
{/if}
|
||||
{:else}
|
||||
<span class="text"> {$title}</span>
|
||||
{#if $copyData?.value}
|
||||
<Copy value={$copyData.value}>
|
||||
<Pill button><i class="icon-duplicate" />{$copyData.text}</Pill>
|
||||
</Copy>
|
||||
{/if}
|
||||
</h1>
|
||||
{#if $copyData?.value}
|
||||
<Copy value={$copyData.value}>
|
||||
<Pill button
|
||||
><span
|
||||
class="icon-duplicate"
|
||||
aria-hidden="true" />{$copyData.text}</Pill>
|
||||
</Copy>
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
|
||||
|
||||
@@ -3,9 +3,11 @@ import { writable } from 'svelte/store';
|
||||
|
||||
export type AppStore = {
|
||||
theme: 'light' | 'dark' | 'auto';
|
||||
themeInUse: 'light' | 'dark';
|
||||
};
|
||||
export const app = writable<AppStore>({
|
||||
theme: 'auto'
|
||||
theme: 'auto',
|
||||
themeInUse: 'light'
|
||||
});
|
||||
|
||||
if (browser) {
|
||||
|
||||
@@ -58,7 +58,7 @@ function createAuthMethods() {
|
||||
value: project.authAnonymous
|
||||
},
|
||||
{
|
||||
label: 'Invites',
|
||||
label: 'Team Invites',
|
||||
method: 'invites',
|
||||
value: project.authInvites
|
||||
},
|
||||
|
||||
@@ -36,11 +36,14 @@
|
||||
const darkThemeMq = window.matchMedia('(prefers-color-scheme: dark)');
|
||||
if (darkThemeMq.matches) {
|
||||
document.body.setAttribute('class', `theme-dark`);
|
||||
$app.themeInUse = 'dark';
|
||||
} else {
|
||||
document.body.setAttribute('class', `theme-light`);
|
||||
$app.themeInUse = 'light';
|
||||
}
|
||||
} else {
|
||||
document.body.setAttribute('class', `theme-${$app.theme}`);
|
||||
$app.themeInUse = $app.theme;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
<div class="u-flex u-flex-vertical u-cross-center">
|
||||
<div class="common-section">
|
||||
<Button secondary round on:click={() => console.log('showCreate = true')}>
|
||||
<i class="icon-plus" />
|
||||
<span class="icon-plus" aria-hidden="true" />
|
||||
</Button>
|
||||
</div>
|
||||
<div class="common-section">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { Modal, CardDrop } from '$lib/components';
|
||||
import { Modal, InnerModal } from '$lib/components';
|
||||
import { Pill } from '$lib/elements';
|
||||
import { InputText, Button, Form, FormList } from '$lib/elements/forms';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
@@ -31,6 +31,9 @@
|
||||
$: if (!showDropdown) {
|
||||
id = null;
|
||||
}
|
||||
$: if (!showCreate) {
|
||||
showDropdown = false;
|
||||
}
|
||||
</script>
|
||||
|
||||
<Form on:submit={create}>
|
||||
@@ -40,35 +43,40 @@
|
||||
<InputText
|
||||
id="name"
|
||||
label="Name"
|
||||
placeholder="John Doe"
|
||||
placeholder="Enter name"
|
||||
autofocus={true}
|
||||
bind:value={name} />
|
||||
{#if !showDropdown}
|
||||
<div>
|
||||
<Pill button on:click={() => (showDropdown = !showDropdown)}
|
||||
>Team ID <i class="icon-pencil" /></Pill>
|
||||
><span class="icon-pencil" aria-hidden="true" />
|
||||
<span class="text"> Team ID </span>
|
||||
</Pill>
|
||||
</div>
|
||||
{:else}
|
||||
<CardDrop bind:show={showDropdown}>
|
||||
<svelte:fragment slot="header">Team ID</svelte:fragment>
|
||||
<p>Enter a custom team ID. Leave blank for a randomly generated team ID.</p>
|
||||
<svelte:fragment slot="footer">
|
||||
<input
|
||||
class="input-text "
|
||||
type="text"
|
||||
name="id"
|
||||
id="id"
|
||||
placeholder="Enter ID"
|
||||
bind:value={id} />
|
||||
<div class="u-flex u-gap-12">
|
||||
<div class="icon-info u-block" />
|
||||
<p class="u-small">
|
||||
Allowed characters: alphanumeric, hyphen, non-leading underscore,
|
||||
period
|
||||
</p>
|
||||
<InnerModal bind:show={showDropdown}>
|
||||
<svelte:fragment slot="title">Team ID</svelte:fragment>
|
||||
Enter a custom team ID. Leave blank for a randomly generated team ID.
|
||||
<svelte:fragment slot="content">
|
||||
<div class="form">
|
||||
<InputText
|
||||
id="id"
|
||||
label="Custom ID"
|
||||
showLabel={false}
|
||||
placeholder="Enter ID"
|
||||
autofocus={true}
|
||||
bind:value={id} />
|
||||
<div class="u-flex u-gap-4 u-margin-block-start-8 u-small">
|
||||
<span
|
||||
class="icon-info u-cross-center u-margin-block-start-2 u-line-height-1 u-icon-small"
|
||||
aria-hidden="true" />
|
||||
<span class="text u-line-height-1-5"
|
||||
>Allowed characters: alphanumeric, hyphen, non-leading
|
||||
underscore, period</span>
|
||||
</div>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
</CardDrop>
|
||||
</InnerModal>
|
||||
{/if}
|
||||
</FormList>
|
||||
<svelte:fragment slot="footer">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { Modal, CardDrop } from '$lib/components';
|
||||
import { Modal, InnerModal } from '$lib/components';
|
||||
import { Pill } from '$lib/elements/';
|
||||
import {
|
||||
Button,
|
||||
@@ -38,6 +38,9 @@
|
||||
$: if (!showDropdown) {
|
||||
id = null;
|
||||
}
|
||||
$: if (!showCreate) {
|
||||
showDropdown = false;
|
||||
}
|
||||
</script>
|
||||
|
||||
<Form on:submit={create}>
|
||||
@@ -47,48 +50,54 @@
|
||||
<InputText
|
||||
id="name"
|
||||
label="Name"
|
||||
placeholder="John Doe"
|
||||
placeholder="Enter name"
|
||||
autofocus={true}
|
||||
bind:value={name} />
|
||||
<InputEmail
|
||||
id="email"
|
||||
label="E-Mail"
|
||||
placeholder="test@example.com"
|
||||
label="Email"
|
||||
placeholder="Enter email"
|
||||
required={true}
|
||||
bind:value={mail} />
|
||||
<InputPassword
|
||||
id="password"
|
||||
label="Password"
|
||||
placeholder="*****"
|
||||
placeholder="Enter password"
|
||||
required={true}
|
||||
bind:value={pass} />
|
||||
|
||||
{#if !showDropdown}
|
||||
<div>
|
||||
<Pill button on:click={() => (showDropdown = !showDropdown)}
|
||||
>User ID <i class="icon-pencil" /></Pill>
|
||||
><span class="icon-pencil" aria-hidden="true" /><span class="text">
|
||||
User ID
|
||||
</span></Pill>
|
||||
</div>
|
||||
{:else}
|
||||
<CardDrop bind:show={showDropdown}>
|
||||
<svelte:fragment slot="header">User ID</svelte:fragment>
|
||||
<p>Enter a custom user ID. Leave blank for a randomly generated user ID.</p>
|
||||
<svelte:fragment slot="footer">
|
||||
<input
|
||||
class="input-text "
|
||||
type="text"
|
||||
name="id"
|
||||
id="id"
|
||||
placeholder="Enter ID"
|
||||
bind:value={id} />
|
||||
<div class="u-flex u-gap-12">
|
||||
<div class="icon-info u-block" />
|
||||
<p class="u-small">
|
||||
Allowed characters: alphanumeric, hyphen, non-leading underscore,
|
||||
period
|
||||
</p>
|
||||
<InnerModal bind:show={showDropdown}>
|
||||
<svelte:fragment slot="title">User ID</svelte:fragment>
|
||||
Enter a custom user ID. Leave blank for a randomly generated user ID.
|
||||
<svelte:fragment slot="content">
|
||||
<div class="form">
|
||||
<InputText
|
||||
id="id"
|
||||
label="Custom ID"
|
||||
showLabel={false}
|
||||
placeholder="Enter ID"
|
||||
autofocus={true}
|
||||
bind:value={id} />
|
||||
|
||||
<div class="u-flex u-gap-4 u-margin-block-start-8 u-small">
|
||||
<span
|
||||
class="icon-info u-cross-center u-margin-block-start-2 u-line-height-1 u-icon-small"
|
||||
aria-hidden="true" />
|
||||
<span class="text u-line-height-1-5"
|
||||
>Allowed characters: alphanumeric, hyphen, non-leading
|
||||
underscore, period</span>
|
||||
</div>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
</CardDrop>
|
||||
</InnerModal>
|
||||
{/if}
|
||||
</FormList>
|
||||
<svelte:fragment slot="footer">
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
import { OAuthProviders } from '$lib/stores/oauth-providers';
|
||||
import { event } from '$lib/actions/analytics';
|
||||
import type { Provider } from '$lib/stores/oauth-providers';
|
||||
import { app } from '$lib/stores/app';
|
||||
|
||||
$: projectId = $project.$id;
|
||||
$: authMethods.load($project);
|
||||
@@ -78,7 +79,7 @@
|
||||
<img
|
||||
height="20"
|
||||
width="20"
|
||||
src={`/icons/color/${provider.icon}.svg`}
|
||||
src={`/icons/${$app.themeInUse}/color/${provider.icon}.svg`}
|
||||
alt={provider.name} />
|
||||
</div>
|
||||
<p class="u-margin-block-start-8">{provider.name}</p>
|
||||
|
||||
@@ -62,21 +62,21 @@
|
||||
}
|
||||
}}>
|
||||
<Button on:click={() => (showCreate = true)}>
|
||||
<span class="icon-plus" aria-hidden="true" /> <span class="text">Create User</span>
|
||||
<span class="icon-plus" aria-hidden="true" /> <span class="text">Create user</span>
|
||||
</Button>
|
||||
</span>
|
||||
</Search>
|
||||
{#if $usersList?.response?.total}
|
||||
{#if $usersList?.total}
|
||||
<Table>
|
||||
<TableHeader>
|
||||
<TableCellHead>Name</TableCellHead>
|
||||
<TableCellHead>E-Mail</TableCellHead>
|
||||
<TableCellHead>Email</TableCellHead>
|
||||
<TableCellHead width={100}>Status</TableCellHead>
|
||||
<TableCellHead width={100}>ID</TableCellHead>
|
||||
<TableCellHead>Joined</TableCellHead>
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
{#each $usersList.response.users as user}
|
||||
{#each $usersList.users as user}
|
||||
<TableRowLink href={`${base}/console/${project}/users/user/${user.$id}`}>
|
||||
<TableCellText title="Name">
|
||||
<div class="u-flex u-gap-12 u-cross-center">
|
||||
@@ -84,7 +84,7 @@
|
||||
<span class="text">{user.name ? user.name : 'n/a'}</span>
|
||||
</div>
|
||||
</TableCellText>
|
||||
<TableCellText title="E-Mail">{user.email}</TableCellText>
|
||||
<TableCellText title="Email">{user.email}</TableCellText>
|
||||
<TableCellText title="Status">
|
||||
{#if user.status}
|
||||
<Pill success={user.emailVerification}>
|
||||
@@ -94,9 +94,11 @@
|
||||
<Pill danger>Blocked</Pill>
|
||||
{/if}
|
||||
</TableCellText>
|
||||
<TableCellText title="ID">
|
||||
<TableCellText showOverflow title="ID">
|
||||
<Copy value={user.$id}>
|
||||
<Pill button><i class="icon-duplicate" />User ID</Pill>
|
||||
<Pill button
|
||||
><span class="icon-duplicate" aria-hidden="true" />
|
||||
<span class="text">User ID</span></Pill>
|
||||
</Copy>
|
||||
</TableCellText>
|
||||
<TableCellText title="Joined">
|
||||
@@ -107,8 +109,8 @@
|
||||
</TableBody>
|
||||
</Table>
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {$usersList.response.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$usersList.response.total} />
|
||||
<p class="text">Total results: {$usersList.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$usersList.total} />
|
||||
</div>
|
||||
{:else if search}
|
||||
<Empty>
|
||||
@@ -123,8 +125,8 @@
|
||||
</div>
|
||||
</Empty>
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {$usersList.response.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$usersList.response.total} />
|
||||
<p class="text">Total results: {$usersList.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$usersList.total} />
|
||||
</div>
|
||||
{:else}
|
||||
<Empty dashed centered>
|
||||
@@ -139,7 +141,7 @@
|
||||
}
|
||||
}}>
|
||||
<Button secondary round on:click={() => (showCreate = true)}>
|
||||
<i class="icon-plus" />
|
||||
<span class="icon-plus" aria-hidden="true" />
|
||||
</Button>
|
||||
</div>
|
||||
<div class="common-section">
|
||||
|
||||
@@ -3,21 +3,10 @@ import { writable } from 'svelte/store';
|
||||
import type { Models } from '@aw-labs/appwrite-console';
|
||||
import { browser } from '$app/env';
|
||||
|
||||
export type UsersList = {
|
||||
loading: boolean;
|
||||
response?: Models.UserList<Record<string, unknown>>;
|
||||
};
|
||||
|
||||
export type TeamsList = {
|
||||
loading: boolean;
|
||||
response?: Models.TeamList;
|
||||
};
|
||||
|
||||
function createUsersListStore() {
|
||||
const { subscribe, set } = writable<UsersList>({
|
||||
loading: true,
|
||||
response: browser ? JSON.parse(sessionStorage.getItem('users')) : null
|
||||
});
|
||||
const { subscribe, set } = writable<Models.UserList<Record<string, unknown>>>(
|
||||
browser ? JSON.parse(sessionStorage.getItem('users')) : null
|
||||
);
|
||||
|
||||
return {
|
||||
subscribe,
|
||||
@@ -31,19 +20,15 @@ function createUsersListStore() {
|
||||
undefined,
|
||||
'DESC'
|
||||
);
|
||||
set({
|
||||
loading: false,
|
||||
response
|
||||
});
|
||||
set(response);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
function createTeamsListStore() {
|
||||
const { subscribe, set } = writable<TeamsList>({
|
||||
loading: true,
|
||||
response: browser ? JSON.parse(sessionStorage.getItem('teams')) : null
|
||||
});
|
||||
const { subscribe, set } = writable<Models.TeamList>(
|
||||
browser ? JSON.parse(sessionStorage.getItem('teams')) : null
|
||||
);
|
||||
|
||||
return {
|
||||
subscribe,
|
||||
@@ -57,28 +42,21 @@ function createTeamsListStore() {
|
||||
undefined,
|
||||
'DESC'
|
||||
);
|
||||
set({
|
||||
loading: false,
|
||||
response
|
||||
});
|
||||
set(response);
|
||||
}
|
||||
};
|
||||
}
|
||||
function createUsersUsageStore() {
|
||||
const { subscribe, set } = writable({
|
||||
loading: true,
|
||||
response: browser ? JSON.parse(sessionStorage.getItem('usersUsage')) : null
|
||||
});
|
||||
const { subscribe, set } = writable(
|
||||
browser ? JSON.parse(sessionStorage.getItem('usersUsage')) : null
|
||||
);
|
||||
|
||||
return {
|
||||
subscribe,
|
||||
set,
|
||||
load: async (range: string) => {
|
||||
const response = await sdkForProject.users.getUsage(range);
|
||||
set({
|
||||
loading: false,
|
||||
response
|
||||
});
|
||||
set(response);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -88,9 +66,7 @@ export const teamsList = createTeamsListStore();
|
||||
export const usersUsage = createUsersUsageStore();
|
||||
|
||||
if (browser) {
|
||||
usersList.subscribe((n) => sessionStorage?.setItem('users', JSON.stringify(n.response ?? '')));
|
||||
teamsList.subscribe((n) => sessionStorage?.setItem('teams', JSON.stringify(n.response ?? '')));
|
||||
usersUsage.subscribe((n) =>
|
||||
sessionStorage?.setItem('usersUsage', JSON.stringify(n.response ?? ''))
|
||||
);
|
||||
usersList.subscribe((n) => sessionStorage?.setItem('users', JSON.stringify(n ?? '')));
|
||||
teamsList.subscribe((n) => sessionStorage?.setItem('teams', JSON.stringify(n ?? '')));
|
||||
usersUsage.subscribe((n) => sessionStorage?.setItem('usersUsage', JSON.stringify(n ?? '')));
|
||||
}
|
||||
@@ -57,11 +57,11 @@
|
||||
}
|
||||
}}>
|
||||
<Button on:click={() => (showCreate = true)}>
|
||||
<span class="icon-plus" aria-hidden="true" /> <span class="text">Create Team</span>
|
||||
<span class="icon-plus" aria-hidden="true" /> <span class="text">Create team</span>
|
||||
</Button>
|
||||
</span>
|
||||
</Search>
|
||||
{#if $teamsList?.response?.total}
|
||||
{#if $teamsList?.total}
|
||||
<Table>
|
||||
<TableHeader>
|
||||
<TableCellHead>Name</TableCellHead>
|
||||
@@ -69,7 +69,7 @@
|
||||
<TableCellHead>Created</TableCellHead>
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
{#each $teamsList.response.teams as team}
|
||||
{#each $teamsList.teams as team}
|
||||
<TableRowLink href={`${base}/console/${project}/users/teams/${team.$id}`}>
|
||||
<TableCellText title="ID">
|
||||
<div class="u-flex u-gap-12">
|
||||
@@ -86,8 +86,8 @@
|
||||
</TableBody>
|
||||
</Table>
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {$teamsList.response.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$teamsList.response.total} />
|
||||
<p class="text">Total results: {$teamsList.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$teamsList.total} />
|
||||
</div>
|
||||
{:else if search}
|
||||
<Empty>
|
||||
@@ -102,8 +102,8 @@
|
||||
</div>
|
||||
</Empty>
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {$teamsList.response.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$teamsList.response.total} />
|
||||
<p class="text">Total results: {$teamsList.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$teamsList.total} />
|
||||
</div>
|
||||
{:else}
|
||||
<Empty dashed centered>
|
||||
@@ -117,7 +117,7 @@
|
||||
}
|
||||
}}>
|
||||
<Button secondary round on:click={() => (showCreate = true)}>
|
||||
<i class="icon-plus" />
|
||||
<span class="icon-plus" aria-hidden="true" />
|
||||
</Button>
|
||||
</div>
|
||||
<div class="common-section">
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
afterNavigate(handle);
|
||||
|
||||
async function handle() {
|
||||
if ($team?.response?.$id !== teamId) {
|
||||
if ($team?.$id !== teamId) {
|
||||
await team.load(teamId);
|
||||
title.set($team.response.name);
|
||||
} else if ($team.response) {
|
||||
title.set($team.response.name);
|
||||
title.set($team.name);
|
||||
} else if ($team) {
|
||||
title.set($team.name);
|
||||
}
|
||||
|
||||
backButton.set(`${base}/console/${$page.params.project}/users/teams`);
|
||||
@@ -42,12 +42,16 @@
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
$: if ($team) {
|
||||
handle();
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Appwrite - Team</title>
|
||||
</svelte:head>
|
||||
|
||||
{#if $team.response}
|
||||
{#if $team}
|
||||
<slot />
|
||||
{/if}
|
||||
@@ -42,17 +42,21 @@
|
||||
</script>
|
||||
|
||||
<Form on:submit={create}>
|
||||
<Modal warning={true} bind:show={showCreate}>
|
||||
<Modal bind:show={showCreate}>
|
||||
<svelte:fragment slot="header">Create User</svelte:fragment>
|
||||
<FormList>
|
||||
<InputEmail
|
||||
id="email"
|
||||
label="E-Mail"
|
||||
placeholder="test@example.com"
|
||||
label="Email"
|
||||
placeholder="Enter email"
|
||||
required={true}
|
||||
autofocus={true}
|
||||
bind:value={email} />
|
||||
<InputText id="name" label="Name(optional)" placeholder="John Doe" bind:value={name} />
|
||||
<InputText
|
||||
id="name"
|
||||
label="Name (optional)"
|
||||
placeholder="Enter name"
|
||||
bind:value={name} />
|
||||
<Alert type="info">
|
||||
<p>
|
||||
Roles are used to manage access permissions. You can create any role you want.
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
import { Container } from '$lib/layout';
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import { sdkForProject } from '$lib/stores/sdk';
|
||||
import { app } from '$lib/stores/app';
|
||||
|
||||
let offset = 0;
|
||||
const limit = 5;
|
||||
@@ -42,7 +43,9 @@
|
||||
<img
|
||||
height="20"
|
||||
width="20"
|
||||
src={`/icons/color/${log?.clientName.toLocaleLowerCase()}.svg`}
|
||||
src={`/icons/${
|
||||
$app.themeInUse
|
||||
}/color/${log?.clientName.toLocaleLowerCase()}.svg`}
|
||||
alt={log.clientName} />
|
||||
</div>
|
||||
<span class="u-line-height-1-5">
|
||||
|
||||
@@ -4,10 +4,11 @@
|
||||
import { Container } from '$lib/layout';
|
||||
import { Button, InputText, Helper } from '$lib/elements/forms';
|
||||
import { sdkForProject } from '$lib/stores/sdk';
|
||||
import { toLocaleDate } from '$lib/helpers/date';
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { team } from './store';
|
||||
import DeleteTeam from './_deleteTeam.svelte';
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
const getAvatar = (name: string) => sdkForProject.avatars.getInitials(name, 48, 48).toString();
|
||||
|
||||
@@ -15,7 +16,12 @@
|
||||
let showError: false | 'name' | 'email' | 'password' = false;
|
||||
let errorMessage = 'Something went wrong';
|
||||
let errorType: 'error' | 'warning' | 'success' = 'error';
|
||||
let teamName: string = $team.response.name;
|
||||
let teamName: string = null;
|
||||
|
||||
onMount(async () => {
|
||||
await team.load($page.params.team);
|
||||
teamName ??= $team.name;
|
||||
});
|
||||
|
||||
function addError(location: typeof showError, message: string, type: typeof errorType) {
|
||||
showError = location;
|
||||
@@ -26,7 +32,7 @@
|
||||
async function updateName() {
|
||||
try {
|
||||
await sdkForProject.teams.update($page.params.team, teamName);
|
||||
$team.response.name = teamName;
|
||||
$team.name = teamName;
|
||||
addNotification({
|
||||
message: 'Name has been updated',
|
||||
type: 'success'
|
||||
@@ -37,24 +43,21 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if $team.response}
|
||||
{#if $team}
|
||||
<Container>
|
||||
<Card>
|
||||
<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">
|
||||
<Avatar
|
||||
size={48}
|
||||
name={$team.response.name}
|
||||
src={getAvatar($team.response.name)} />
|
||||
<Avatar size={48} name={$team.name} src={getAvatar($team.name)} />
|
||||
<div>
|
||||
<h6 class="heading-level-7">{$team.response.name}</h6>
|
||||
<p>{$team.response.total} Members</p>
|
||||
<h6 class="heading-level-7">{$team.name}</h6>
|
||||
<p>{$team.total} Members</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid-1-2-col-2">
|
||||
<p>Created on {toLocaleDate($team.response.$createdAt)}</p>
|
||||
<p>Created on {toLocaleDateTime($team.$createdAt)}</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
@@ -78,7 +81,7 @@
|
||||
|
||||
<svelte:fragment slot="actions">
|
||||
<Button
|
||||
disabled={teamName === $team.response.name}
|
||||
disabled={teamName === $team.name || !teamName}
|
||||
on:click={() => {
|
||||
updateName();
|
||||
}}>Update</Button>
|
||||
@@ -97,14 +100,11 @@
|
||||
<svelte:fragment slot="aside">
|
||||
<Box>
|
||||
<svelte:fragment slot="image">
|
||||
<Avatar
|
||||
size={48}
|
||||
name={$team.response.name}
|
||||
src={getAvatar($team.response.name)} />
|
||||
<Avatar size={48} name={$team.name} src={getAvatar($team.name)} />
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$team.response.name}</h6>
|
||||
<span>{$team.response.total} Members</span>
|
||||
<h6 class="u-bold">{$team.name}</h6>
|
||||
<span>{$team.total} Members</span>
|
||||
</svelte:fragment>
|
||||
</Box>
|
||||
</svelte:fragment>
|
||||
@@ -114,5 +114,5 @@
|
||||
</svelte:fragment>
|
||||
</CardGrid>
|
||||
</Container>
|
||||
<DeleteTeam team={$team.response} bind:showDelete />
|
||||
<DeleteTeam team={$team} bind:showDelete />
|
||||
{/if}
|
||||
@@ -45,10 +45,10 @@
|
||||
<Container>
|
||||
<Search bind:search placeholder="Search by ID">
|
||||
<Button on:click={() => (showCreate = true)}>
|
||||
<span class="icon-plus" aria-hidden="true" /> <span class="text">Add Member</span>
|
||||
<span class="icon-plus" aria-hidden="true" /> <span class="text">Create Member</span>
|
||||
</Button>
|
||||
</Search>
|
||||
{#if $memberships.response?.total}
|
||||
{#if $memberships?.total}
|
||||
<Table>
|
||||
<TableHeader>
|
||||
<TableCellHead>Name</TableCellHead>
|
||||
@@ -57,7 +57,7 @@
|
||||
<TableCellHead width={30} />
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
{#each $memberships.response.memberships as membership}
|
||||
{#each $memberships.memberships as membership}
|
||||
<TableRowLink
|
||||
href={`${base}/console/${project}/users/user/${membership.userId}`}>
|
||||
<TableCellText title="Name">
|
||||
@@ -91,8 +91,8 @@
|
||||
<div
|
||||
class="u-flex u-margin-block-start-32
|
||||
u-main-space-between">
|
||||
<p class="text">Total results: {$memberships.response.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$memberships.response.total} />
|
||||
<p class="text">Total results: {$memberships.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$memberships.total} />
|
||||
</div>
|
||||
{:else if search}
|
||||
<Empty>
|
||||
@@ -109,15 +109,15 @@
|
||||
<div
|
||||
class="u-flex u-margin-block-start-32
|
||||
u-main-space-between">
|
||||
<p class="text">Total results: {$memberships.response.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$memberships.response.total} />
|
||||
<p class="text">Total results: {$memberships.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$memberships.total} />
|
||||
</div>
|
||||
{:else}
|
||||
<Empty dashed centered>
|
||||
<div class="u-flex u-flex-vertical u-cross-center">
|
||||
<div class="common-section">
|
||||
<Button secondary round on:click={() => (showCreate = true)}>
|
||||
<i class="icon-plus" />
|
||||
<span class="icon-plus" aria-hidden="true" />
|
||||
</Button>
|
||||
</div>
|
||||
<div class="common-section">
|
||||
|
||||
@@ -3,38 +3,24 @@ import type { Models } from '@aw-labs/appwrite-console';
|
||||
import { writable } from 'svelte/store';
|
||||
import { browser } from '$app/env';
|
||||
|
||||
export type Team = {
|
||||
loading: boolean;
|
||||
response?: Models.Team;
|
||||
};
|
||||
export type Memberships = {
|
||||
loading: boolean;
|
||||
response?: Models.MembershipList;
|
||||
};
|
||||
|
||||
function createTeamStore() {
|
||||
const { subscribe, set } = writable<Team>({
|
||||
loading: true,
|
||||
response: browser ? JSON.parse(sessionStorage.getItem('team')) : null
|
||||
});
|
||||
const { subscribe, set } = writable<Models.Team>(
|
||||
browser ? JSON.parse(sessionStorage.getItem('team')) : null
|
||||
);
|
||||
|
||||
return {
|
||||
subscribe,
|
||||
set,
|
||||
load: async (teamId: string) => {
|
||||
const response = await sdkForProject.teams.get(teamId);
|
||||
set({
|
||||
loading: false,
|
||||
response
|
||||
});
|
||||
set(response);
|
||||
}
|
||||
};
|
||||
}
|
||||
function createMembershipStore() {
|
||||
const { subscribe, set } = writable<Memberships>({
|
||||
loading: true,
|
||||
response: browser ? JSON.parse(sessionStorage.getItem('memberships')) : null
|
||||
});
|
||||
const { subscribe, set } = writable<Models.MembershipList>(
|
||||
browser ? JSON.parse(sessionStorage.getItem('memberships')) : null
|
||||
);
|
||||
|
||||
return {
|
||||
subscribe,
|
||||
@@ -49,10 +35,7 @@ function createMembershipStore() {
|
||||
undefined,
|
||||
'DESC'
|
||||
);
|
||||
set({
|
||||
loading: false,
|
||||
response
|
||||
});
|
||||
set(response);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -61,8 +44,6 @@ export const memberships = createMembershipStore();
|
||||
export const team = createTeamStore();
|
||||
|
||||
if (browser) {
|
||||
team.subscribe((n) => sessionStorage?.setItem('team', JSON.stringify(n.response ?? '')));
|
||||
memberships.subscribe((n) =>
|
||||
sessionStorage?.setItem('memberships', JSON.stringify(n.response ?? ''))
|
||||
);
|
||||
team.subscribe((n) => sessionStorage?.setItem('team', JSON.stringify(n ?? '')));
|
||||
memberships.subscribe((n) => sessionStorage?.setItem('memberships', JSON.stringify(n ?? '')));
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
let currentRange = '30d';
|
||||
|
||||
$: usersUsage.load(currentRange);
|
||||
$: data = $usersUsage.response;
|
||||
$: data = $usersUsage;
|
||||
|
||||
//TODO: add types once they are fixed
|
||||
</script>
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
afterNavigate(handle);
|
||||
|
||||
async function handle() {
|
||||
if ($user?.response?.$id !== userId) {
|
||||
if ($user?.$id !== userId) {
|
||||
await user.load(userId);
|
||||
title.set($user.response.name);
|
||||
} else if ($user.response) {
|
||||
title.set($user.response.name);
|
||||
title.set($user.name);
|
||||
} else if ($user) {
|
||||
title.set($user.name);
|
||||
}
|
||||
|
||||
backButton.set(`${base}/console/${$page.params.project}/users`);
|
||||
@@ -46,6 +46,10 @@
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
$: if ($user) {
|
||||
handle();
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
||||
@@ -14,9 +14,7 @@
|
||||
try {
|
||||
await sdkForProject.teams.deleteMembership('tmpstring', 'tmpstring2');
|
||||
showDeleteAll = false;
|
||||
await goto(
|
||||
`${base}/console/${$page.params.project}/users/${$user.response.$id}/membeships`
|
||||
);
|
||||
await goto(`${base}/console/${$page.params.project}/users/${$user.$id}/membeships`);
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
type: 'error',
|
||||
@@ -31,7 +29,7 @@
|
||||
<svelte:fragment slot="header">Delete All Memberships</svelte:fragment>
|
||||
|
||||
<p>
|
||||
Are you sure you want to delete <b>{$user.response.name}'s</b> all memberships?
|
||||
Are you sure you want to delete <b>{$user.name}'s</b> all memberships?
|
||||
</p>
|
||||
<svelte:fragment slot="footer">
|
||||
<Button text on:click={() => (showDeleteAll = false)}>Cancel</Button>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<svelte:fragment slot="header">Delete All Sessions</svelte:fragment>
|
||||
|
||||
<p>
|
||||
Are you sure you want to delete <b>all of {$user.response.name}'s sessions?</b>
|
||||
Are you sure you want to delete <b>all of {$user.name}'s sessions?</b>
|
||||
</p>
|
||||
<svelte:fragment slot="footer">
|
||||
<Button text on:click={() => (showDeleteAll = false)}>Cancel</Button>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
const deleteUser = async () => {
|
||||
try {
|
||||
await sdkForProject.users.delete($user.response.$id);
|
||||
await sdkForProject.users.delete($user.$id);
|
||||
showDelete = false;
|
||||
await goto(`${base}/console/${$page.params.project}/users`);
|
||||
} catch (error) {
|
||||
@@ -28,7 +28,7 @@
|
||||
<Form on:submit={deleteUser}>
|
||||
<Modal warning={true} bind:show={showDelete}>
|
||||
<svelte:fragment slot="header">Delete User</svelte:fragment>
|
||||
<p>Are you sure you want to delete <b>{$user.response.name}</b> from '{$project.name}'?</p>
|
||||
<p>Are you sure you want to delete <b>{$user.name}</b> from '{$project.name}'?</p>
|
||||
<svelte:fragment slot="footer">
|
||||
<Button text on:click={() => (showDelete = false)}>Cancel</Button>
|
||||
<Button secondary submit>Delete</Button>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
import { Container } from '$lib/layout';
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import { sdkForProject } from '$lib/stores/sdk';
|
||||
import { app } from '$lib/stores/app';
|
||||
|
||||
let offset = 0;
|
||||
const limit = 25;
|
||||
@@ -42,7 +43,9 @@
|
||||
<img
|
||||
height="20"
|
||||
width="20"
|
||||
src={`/icons/color/${log?.clientName.toLocaleLowerCase()}.svg`}
|
||||
src={`/icons/${
|
||||
$app.themeInUse
|
||||
}/color/${log?.clientName.toLocaleLowerCase()}.svg`}
|
||||
alt={log.clientName} />
|
||||
</div>
|
||||
<span class="u-line-height-1-5">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores';
|
||||
import { toLocaleDate } from '$lib/helpers/date';
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import { Avatar, CardGrid, Box, DropList, DropListItem } from '$lib/components';
|
||||
import { Pill } from '$lib/elements';
|
||||
import {
|
||||
@@ -21,7 +21,7 @@
|
||||
$: if (newKey && newValue) {
|
||||
arePrefsDisabled = false;
|
||||
} else if (prefs) {
|
||||
if (JSON.stringify(prefs) !== JSON.stringify(Object.entries($user.response.prefs))) {
|
||||
if (JSON.stringify(prefs) !== JSON.stringify(Object.entries($user.prefs))) {
|
||||
arePrefsDisabled = false;
|
||||
}
|
||||
}
|
||||
@@ -29,9 +29,9 @@
|
||||
let showError: false | 'name' | 'email' | 'phone' | 'password' = false;
|
||||
let errorMessage = 'Something went wrong';
|
||||
let errorType: 'error' | 'warning' | 'success' = 'error';
|
||||
let userName: string = $user.response.name,
|
||||
userEmail: string = $user.response.email,
|
||||
userPhone: string = $user.response.phone,
|
||||
let userName = null,
|
||||
userEmail = null,
|
||||
userPhone = null,
|
||||
newPassword: string = null,
|
||||
newPref = false,
|
||||
newKey: string = null,
|
||||
@@ -43,7 +43,10 @@
|
||||
|
||||
onMount(async () => {
|
||||
await user.load($page.params.user);
|
||||
prefs = Object.entries($user.response.prefs);
|
||||
prefs = Object.entries($user.prefs);
|
||||
userName ??= $user.name;
|
||||
userEmail ??= $user.email;
|
||||
userPhone ??= $user.phone;
|
||||
});
|
||||
|
||||
const getAvatar = (name: string) => sdkForProject.avatars.getInitials(name, 48, 48).toString();
|
||||
@@ -56,14 +59,11 @@
|
||||
|
||||
async function updateVerificationEmail() {
|
||||
try {
|
||||
await sdkForProject.users.updateEmailVerification(
|
||||
$user.response.$id,
|
||||
!$user.response.emailVerification
|
||||
);
|
||||
$user.response.emailVerification = !$user.response.emailVerification;
|
||||
await sdkForProject.users.updateEmailVerification($user.$id, !$user.emailVerification);
|
||||
$user.emailVerification = !$user.emailVerification;
|
||||
addNotification({
|
||||
message: `The account has been ${
|
||||
$user.response.emailVerification ? 'verified' : 'unverified'
|
||||
$user.emailVerification ? 'verified' : 'unverified'
|
||||
}`,
|
||||
type: 'success'
|
||||
});
|
||||
@@ -76,14 +76,11 @@
|
||||
}
|
||||
async function updateVerificationPhone() {
|
||||
try {
|
||||
await sdkForProject.users.updatePhoneVerification(
|
||||
$user.response.$id,
|
||||
!$user.response.phoneVerification
|
||||
);
|
||||
$user.response.emailVerification = !$user.response.emailVerification;
|
||||
await sdkForProject.users.updatePhoneVerification($user.$id, !$user.phoneVerification);
|
||||
$user.phoneVerification = !$user.phoneVerification;
|
||||
addNotification({
|
||||
message: `The account has been ${
|
||||
$user.response.emailVerification ? 'verified' : 'unverified'
|
||||
$user.phoneVerification ? 'verified' : 'unverified'
|
||||
}`,
|
||||
type: 'success'
|
||||
});
|
||||
@@ -96,10 +93,10 @@
|
||||
}
|
||||
async function updateStatus() {
|
||||
try {
|
||||
await sdkForProject.users.updateStatus($user.response.$id, !$user.response.status);
|
||||
$user.response.status = !$user.response.status;
|
||||
await sdkForProject.users.updateStatus($user.$id, !$user.status);
|
||||
$user.status = !$user.status;
|
||||
addNotification({
|
||||
message: `The account has been ${$user.response.status ? 'unblocked' : 'blocked'}`,
|
||||
message: `The account has been ${$user.status ? 'unblocked' : 'blocked'}`,
|
||||
type: 'success'
|
||||
});
|
||||
} catch (error) {
|
||||
@@ -111,8 +108,8 @@
|
||||
}
|
||||
async function updateName() {
|
||||
try {
|
||||
await sdkForProject.users.updateName($user.response.$id, userName);
|
||||
$user.response.name = userName;
|
||||
await sdkForProject.users.updateName($user.$id, userName);
|
||||
$user.name = userName;
|
||||
showError = false;
|
||||
addNotification({
|
||||
message: 'Name has been updated',
|
||||
@@ -124,8 +121,8 @@
|
||||
}
|
||||
async function updateEmail() {
|
||||
try {
|
||||
await sdkForProject.users.updateEmail($user.response.$id, userEmail);
|
||||
$user.response.email = userEmail;
|
||||
await sdkForProject.users.updateEmail($user.$id, userEmail);
|
||||
$user.email = userEmail;
|
||||
showError = false;
|
||||
addNotification({
|
||||
message: 'Email has been updated',
|
||||
@@ -137,8 +134,8 @@
|
||||
}
|
||||
async function updatePhone() {
|
||||
try {
|
||||
await sdkForProject.users.updatePhone($user.response.$id, userPhone);
|
||||
$user.response.phone = userPhone;
|
||||
await sdkForProject.users.updatePhone($user.$id, userPhone);
|
||||
$user.phone = userPhone;
|
||||
showError = false;
|
||||
addNotification({
|
||||
message: 'Phone has been updated',
|
||||
@@ -150,7 +147,7 @@
|
||||
}
|
||||
async function updatePassword() {
|
||||
try {
|
||||
await sdkForProject.users.updatePassword($user.response.$id, newPassword);
|
||||
await sdkForProject.users.updatePassword($user.$id, newPassword);
|
||||
newPassword = null;
|
||||
showError = false;
|
||||
addNotification({
|
||||
@@ -172,8 +169,8 @@
|
||||
newValue = null;
|
||||
}
|
||||
newPref = null;
|
||||
await sdkForProject.users.updatePrefs($user.response.$id, updatedPrefs);
|
||||
$user.response.prefs = updatedPrefs;
|
||||
await sdkForProject.users.updatePrefs($user.$id, updatedPrefs);
|
||||
$user.prefs = updatedPrefs;
|
||||
arePrefsDisabled = true;
|
||||
|
||||
addNotification({
|
||||
@@ -197,9 +194,9 @@
|
||||
}
|
||||
return acc;
|
||||
}, {});
|
||||
await sdkForProject.users.updatePrefs($user.response.$id, updatedPrefs);
|
||||
await sdkForProject.users.updatePrefs($user.$id, updatedPrefs);
|
||||
prefs = Object.entries(updatedPrefs);
|
||||
$user.response.prefs = updatedPrefs;
|
||||
$user.prefs = updatedPrefs;
|
||||
addNotification({
|
||||
message: 'Preferences have been updated',
|
||||
type: 'success'
|
||||
@@ -213,62 +210,65 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if $user.response}
|
||||
{#if $user}
|
||||
<Container>
|
||||
<CardGrid>
|
||||
<div class="grid-1-2-col-1 u-flex u-cross-center u-gap-16">
|
||||
<Avatar size={48} name={$user.response.name} src={getAvatar($user.response.name)} />
|
||||
<h6 class="heading-level-7">{$user.response.name}</h6>
|
||||
{#if !$user.response.status}
|
||||
<Avatar size={48} name={$user.name} src={getAvatar($user.name)} />
|
||||
<h6 class="heading-level-7">{$user.name}</h6>
|
||||
{#if !$user.status}
|
||||
<Pill danger>Blocked</Pill>
|
||||
{:else}
|
||||
<Pill success={$user.response.emailVerification}>
|
||||
{$user.response.emailVerification ? 'Verified' : 'Unverified'}
|
||||
<Pill success={$user.emailVerification || $user.phoneVerification}>
|
||||
{$user.emailVerification || $user.phoneVerification
|
||||
? 'Verified'
|
||||
: 'Unverified'}
|
||||
</Pill>
|
||||
{/if}
|
||||
</div>
|
||||
<svelte:fragment slot="aside">
|
||||
<div>
|
||||
<span class="title">{$user.response.email}</span>
|
||||
<p>Joined: {toLocaleDate($user.response.registration)}</p>
|
||||
<span class="title">{$user.email}</span>
|
||||
<p>Joined: {toLocaleDateTime($user.registration)}</p>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
|
||||
<svelte:fragment slot="actions">
|
||||
<Button
|
||||
text={$user.response.status}
|
||||
secondary={!$user.response.status}
|
||||
text={$user.status}
|
||||
secondary={!$user.status}
|
||||
on:click={() => updateStatus()}
|
||||
>{$user.response.status ? 'Block Account' : 'Unblock Accout'}</Button>
|
||||
{#if $user.response.status}
|
||||
{#if $user.response.phone && $user.response.email}
|
||||
>{$user.status ? 'Block Account' : 'Unblock Accout'}</Button>
|
||||
{#if $user.status}
|
||||
{#if $user.phone && $user.email}
|
||||
<DropList
|
||||
bind:show={showVerifcationDropdown}
|
||||
position="top"
|
||||
horizontal="left"
|
||||
arrow={false}>
|
||||
arrow={true}
|
||||
arrowPosition="end">
|
||||
<Button
|
||||
secondary
|
||||
on:click={() =>
|
||||
(showVerifcationDropdown = !showVerifcationDropdown)}>
|
||||
{$user.response.emailVerification ? 'Unverify' : 'Verify'} Account
|
||||
{$user.emailVerification ? 'Unverify' : 'Verify'} Account
|
||||
</Button>
|
||||
<svelte:fragment slot="list">
|
||||
<DropListItem icon="mail" on:click={() => updateVerificationEmail()}
|
||||
>{$user.response.emailVerification ? 'Unverify' : 'Verify'} email</DropListItem>
|
||||
>{$user.emailVerification ? 'Unverify' : 'Verify'} email</DropListItem>
|
||||
<DropListItem
|
||||
icon="phone"
|
||||
on:click={() => updateVerificationPhone()}>
|
||||
{$user.response.phoneVerification ? 'Unverify' : 'Verify'} phone</DropListItem>
|
||||
{$user.phoneVerification ? 'Unverify' : 'Verify'} phone</DropListItem>
|
||||
</svelte:fragment>
|
||||
</DropList>
|
||||
{:else if !$user.response.phone}
|
||||
{:else if !$user.phone}
|
||||
<Button secondary on:click={() => updateVerificationEmail()}>
|
||||
{$user.response.emailVerification ? 'Unverify' : 'Verify'} Account
|
||||
{$user.emailVerification ? 'Unverify' : 'Verify'} Account
|
||||
</Button>
|
||||
{:else if !$user.response.email}
|
||||
{:else if !$user.email}
|
||||
<Button secondary on:click={() => updateVerificationPhone()}>
|
||||
{$user.response.phoneVerification ? 'Unverify' : 'Verify'} Account
|
||||
{$user.phoneVerification ? 'Unverify' : 'Verify'} Account
|
||||
</Button>{/if}
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
@@ -292,7 +292,7 @@
|
||||
|
||||
<svelte:fragment slot="actions">
|
||||
<Button
|
||||
disabled={userName === $user.response.name}
|
||||
disabled={userName === $user.name || !userName}
|
||||
on:click={() => {
|
||||
updateName();
|
||||
}}>Update</Button>
|
||||
@@ -316,7 +316,7 @@
|
||||
|
||||
<svelte:fragment slot="actions">
|
||||
<Button
|
||||
disabled={userEmail === $user.response.email}
|
||||
disabled={userEmail === $user.email || !userEmail}
|
||||
on:click={() => {
|
||||
updateEmail();
|
||||
}}>Update</Button>
|
||||
@@ -340,7 +340,7 @@
|
||||
|
||||
<svelte:fragment slot="actions">
|
||||
<Button
|
||||
disabled={userPhone === $user.response.phone}
|
||||
disabled={userPhone === $user.phone || !userPhone}
|
||||
on:click={() => {
|
||||
updatePhone();
|
||||
}}>Update</Button>
|
||||
@@ -477,15 +477,12 @@
|
||||
<svelte:fragment slot="aside">
|
||||
<Box>
|
||||
<svelte:fragment slot="image">
|
||||
<Avatar
|
||||
size={48}
|
||||
name={$user.response.name}
|
||||
src={getAvatar($user.response.name)} />
|
||||
<Avatar size={48} name={$user.name} src={getAvatar($user.name)} />
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$user.response.name}</h6>
|
||||
<h6 class="u-bold">{$user.name}</h6>
|
||||
</svelte:fragment>
|
||||
<p>{$user.response.email}</p>
|
||||
<p>{$user.email}</p>
|
||||
</Box>
|
||||
</svelte:fragment>
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
import DeleteAllSessions from './_deleteAllSessions.svelte';
|
||||
import DeleteSessions from './_deleteSession.svelte';
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import { app } from '$lib/stores/app';
|
||||
|
||||
let offset = 0;
|
||||
let showDelete = false;
|
||||
@@ -54,7 +55,9 @@
|
||||
<img
|
||||
height="20"
|
||||
width="20"
|
||||
src={`/icons/color/${session?.clientName.toLocaleLowerCase()}.svg`}
|
||||
src={`/icons/${
|
||||
$app.themeInUse
|
||||
}/color/${session?.clientName.toLocaleLowerCase()}.svg`}
|
||||
alt={session.clientName} />
|
||||
</div>
|
||||
<span class="u-line-height-1-5">
|
||||
|
||||
@@ -3,26 +3,17 @@ import type { Models } from '@aw-labs/appwrite-console';
|
||||
import { writable } from 'svelte/store';
|
||||
import { browser } from '$app/env';
|
||||
|
||||
export type SelectedUser = {
|
||||
loading: boolean;
|
||||
response?: Models.User<Record<string, unknown>>;
|
||||
};
|
||||
|
||||
function createUserStore() {
|
||||
const { subscribe, set } = writable<SelectedUser>({
|
||||
loading: true,
|
||||
response: browser ? JSON.parse(sessionStorage.getItem('selectedUser')) : null
|
||||
});
|
||||
const { subscribe, set } = writable<Models.User<Record<string, unknown>>>(
|
||||
browser ? JSON.parse(sessionStorage.getItem('selectedUser')) : null
|
||||
);
|
||||
|
||||
return {
|
||||
subscribe,
|
||||
set,
|
||||
load: async (userId: string) => {
|
||||
const response = await sdkForProject.users.get(userId);
|
||||
set({
|
||||
loading: false,
|
||||
response
|
||||
});
|
||||
set(response);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -30,7 +21,5 @@ function createUserStore() {
|
||||
export const user = createUserStore();
|
||||
|
||||
if (browser) {
|
||||
user.subscribe((n) =>
|
||||
sessionStorage?.setItem('selectedUser', JSON.stringify(n.response ?? ''))
|
||||
);
|
||||
user.subscribe((n) => sessionStorage?.setItem('selectedUser', JSON.stringify(n ?? '')));
|
||||
}
|
||||
@@ -1,7 +1,14 @@
|
||||
<script lang="ts">
|
||||
import { goto } from '$app/navigation';
|
||||
import { base } from '$app/paths';
|
||||
import { Button, Form, FormItem, InputEmail, InputPassword } from '$lib/elements/forms';
|
||||
import {
|
||||
Button,
|
||||
Form,
|
||||
FormItem,
|
||||
FormList,
|
||||
InputEmail,
|
||||
InputPassword
|
||||
} from '$lib/elements/forms';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { sdkForConsole } from '$lib/stores/sdk';
|
||||
import { user } from '$lib/stores/user';
|
||||
@@ -33,23 +40,25 @@
|
||||
<h1>Login</h1>
|
||||
|
||||
<Form on:submit={login}>
|
||||
<InputEmail
|
||||
id="email"
|
||||
label="E-Mail"
|
||||
placeholder="test@example.com"
|
||||
autofocus={true}
|
||||
required={true}
|
||||
bind:value={mail} />
|
||||
|
||||
<InputPassword
|
||||
id="password"
|
||||
label="Password"
|
||||
placeholder="********"
|
||||
required={true}
|
||||
bind:value={pass} />
|
||||
<FormItem>
|
||||
<Button submit>Login</Button>
|
||||
</FormItem>
|
||||
<FormList>
|
||||
<InputEmail
|
||||
id="email"
|
||||
label="Email"
|
||||
placeholder="Enter email"
|
||||
autofocus={true}
|
||||
required={true}
|
||||
bind:value={mail} />
|
||||
<InputPassword
|
||||
id="password"
|
||||
label="Password"
|
||||
placeholder="Enter password"
|
||||
required={true}
|
||||
meter={false}
|
||||
bind:value={pass} />
|
||||
<FormItem>
|
||||
<Button submit>Login</Button>
|
||||
</FormItem>
|
||||
</FormList>
|
||||
</Form>
|
||||
|
||||
<a href={`${base}/register`}>Create an Account</a>
|
||||
@@ -38,7 +38,7 @@
|
||||
<InputText id="name" label="Name" placeholder="John Doe" autofocus={true} bind:value={name} />
|
||||
<InputEmail
|
||||
id="email"
|
||||
label="E-Mail"
|
||||
label="Email"
|
||||
placeholder="test@example.com"
|
||||
required={true}
|
||||
bind:value={mail} />
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M18.3652 18.8023C16.5033 20.2361 13.8051 21 11.4823 21C8.21859 21 5.29142 19.7425 3.07268 17.6488C2.90387 17.4843 3.05468 17.2598 3.264 17.3879C5.6583 18.8434 8.62374 19.719 11.677 19.719C13.8819 19.7084 16.0631 19.2427 18.0951 18.3487C18.4103 18.2088 18.6747 18.5643 18.3652 18.8029V18.8023ZM19.1395 17.8774C18.9032 17.5601 17.5662 17.7275 16.9675 17.801C16.7846 17.8245 16.757 17.6582 16.9213 17.5389C17.9905 16.7574 19.7315 16.9824 19.9352 17.2451C20.1389 17.5078 19.8823 19.337 18.8829 20.2091C18.7293 20.343 18.583 20.2719 18.6578 20.0939C18.8829 19.5086 19.386 18.1959 19.1474 17.8774" fill="#FF9900"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.7808 10.822C12.7808 11.7767 12.8036 12.5727 12.3504 13.4202C11.9794 14.1085 11.3963 14.5333 10.7576 14.5333C9.87406 14.5333 9.35621 13.8168 9.35621 12.7589C9.35621 10.6714 11.1138 10.2917 12.7813 10.2917V10.822H12.7808ZM15.1029 16.7935C14.9508 16.9385 14.7308 16.9487 14.5591 16.8522C13.7958 16.1768 13.6559 15.8631 13.2382 15.2188C11.9757 16.5898 11.0788 17 9.4442 17C7.50531 17 6 15.7283 6 13.1821C6 11.1938 7.00973 9.83977 8.45409 9.17796C9.70339 8.59233 11.4488 8.48964 12.7819 8.33167V8.02136C12.7819 7.43911 12.8243 6.74966 12.5009 6.24696C12.2227 5.7956 11.6847 5.60941 11.2092 5.60941C10.332 5.60941 9.5518 6.08898 9.36098 7.08084C9.32229 7.30652 9.17017 7.51866 8.95974 7.52881L6.72244 7.26251C6.53481 7.21738 6.32491 7.05602 6.37951 6.75474C6.8963 3.86886 9.34349 3 11.532 3C12.652 3 14.1154 3.31708 14.9985 4.2198C16.1185 5.33296 16.0119 6.81793 16.0119 8.43435V12.2528C16.0119 13.4004 16.4588 13.9031 16.8796 14.5237C17.0254 14.7494 17.0577 15.0089 16.8701 15.1748C16.276 15.7095 15.688 16.2518 15.1061 16.8014L15.1029 16.7946" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,5 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M11.5 3L3 6.26923L4.30769 17.3846L11.5 21.3077L18.6923 17.3846L20 6.26923L11.5 3Z" fill="#DD0031"/>
|
||||
<path d="M11.5 3V21.3077L18.6923 17.3846L20 6.26923L11.5 3Z" fill="#C3002F"/>
|
||||
<path d="M11.5003 5.02304L6.18665 16.9688H8.16785L9.23605 14.2959H13.7463L14.8145 16.9688H16.7957L11.5003 5.02304ZM13.0524 12.6482H9.94819L11.5003 8.90427L13.0524 12.6482Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 478 B |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19.6437 17.5861C19.3385 18.2848 18.9772 18.928 18.5586 19.5193C17.9881 20.3255 17.5209 20.8835 17.1609 21.1934C16.6027 21.702 16.0048 21.9625 15.3644 21.9773C14.9047 21.9773 14.3504 21.8477 13.705 21.5847C13.0576 21.323 12.4626 21.1934 11.9186 21.1934C11.348 21.1934 10.7361 21.323 10.0815 21.5847C9.42602 21.8477 8.89793 21.9847 8.49417 21.9983C7.88012 22.0242 7.26806 21.7563 6.65713 21.1934C6.2672 20.8563 5.77947 20.2786 5.1952 19.4601C4.56832 18.586 4.05294 17.5725 3.64918 16.417C3.21677 15.1689 3 13.9603 3 12.7902C3 11.4498 3.29226 10.2938 3.87766 9.32509C4.33773 8.54696 4.94978 7.93316 5.71581 7.48255C6.48185 7.03195 7.30955 6.80233 8.20091 6.78764C8.68863 6.78764 9.32822 6.93714 10.123 7.23096C10.9156 7.52576 11.4245 7.67526 11.6476 7.67526C11.8144 7.67526 12.3798 7.50045 13.3382 7.15194C14.2445 6.82874 15.0094 6.69492 15.636 6.74764C17.334 6.88343 18.6097 7.54675 19.4581 8.74177C17.9395 9.6536 17.1883 10.9307 17.2032 12.5691C17.2169 13.8452 17.6841 14.9071 18.6022 15.7503C19.0183 16.1417 19.483 16.4441 20 16.6589C19.8879 16.9812 19.7695 17.2898 19.6437 17.5861V17.5861ZM15.7494 2.40011C15.7494 3.40034 15.3806 4.33425 14.6456 5.19867C13.7586 6.22629 12.6857 6.8201 11.5223 6.7264C11.5075 6.60641 11.4989 6.48011 11.4989 6.3474C11.4989 5.38718 11.9207 4.35956 12.6698 3.51934C13.0438 3.09392 13.5194 2.74019 14.0962 2.45801C14.6718 2.18005 15.2162 2.02632 15.7282 2C15.7431 2.13371 15.7494 2.26744 15.7494 2.4001V2.40011Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,10 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3.58416 3.00005C3.49998 2.99885 3.41659 3.01808 3.33984 3.05639C3.26308 3.09471 3.19483 3.15118 3.13987 3.22184C3.08491 3.2925 3.04458 3.37564 3.0217 3.46541C2.99882 3.55519 2.99396 3.64943 3.00746 3.74151L5.45566 20.211C5.48616 20.4125 5.57976 20.5957 5.72004 20.7284C5.86031 20.861 6.03829 20.9347 6.2227 20.9364H17.9677C18.1059 20.9383 18.2401 20.8852 18.346 20.7867C18.4518 20.6881 18.5222 20.5507 18.5443 20.3995L20.9926 3.7447C21.006 3.65263 21.0012 3.5584 20.9783 3.46864C20.9554 3.37888 20.915 3.29575 20.8601 3.22511C20.8051 3.15446 20.7368 3.09801 20.6601 3.05971C20.5833 3.02141 20.5 3.00219 20.4158 3.0034L3.58416 3.00005ZM13.8931 14.9032H10.1444L9.12934 9.02674H14.8014L13.8931 14.9032Z" fill="#2684FF"/>
|
||||
<path d="M20.1983 9.01833H14.7902L13.8825 14.8901H10.1369L5.71411 20.7076C5.85429 20.8419 6.03301 20.9166 6.21832 20.9183H17.9568C18.0949 20.9203 18.2291 20.8672 18.3348 20.7688C18.4406 20.6703 18.5109 20.533 18.533 20.3819L20.1983 9.01833Z" fill="url(#paint0_linear_2689_27584)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2689_27584" x1="21.4487" y1="10.6627" x2="14.3163" y2="19.8015" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.18" stop-color="#0052CC"/>
|
||||
<stop offset="1" stop-color="#2684FF"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,5 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M18.0162 21H5.98378C4.33587 21 3 19.6641 3 18.0162V5.98378C3 4.33587 4.33587 3 5.98378 3H18.0162C19.6641 3 21 4.33587 21 5.98378V18.0162C21 19.6641 19.6641 21 18.0162 21Z" fill="#00AEEF"/>
|
||||
<path d="M12.2123 10.5786C11.2758 10.5786 10.4609 11.1054 10.0505 11.8788C9.63991 11.1054 8.82541 10.5786 7.88828 10.5786C7.35853 10.578 6.84298 10.7498 6.41945 11.0681V9.00628C6.41709 8.87811 6.36446 8.756 6.27291 8.66627C6.18135 8.57655 6.0582 8.52639 5.93001 8.52661C5.66268 8.52661 5.44752 8.73987 5.44141 9.00628V13.0663H5.4419C5.46348 14.3993 6.54981 15.4732 7.88828 15.4732C8.82541 15.4732 9.63991 14.9459 10.0505 14.1733C10.4609 14.9459 11.2758 15.4732 12.2123 15.4732C13.5634 15.4732 14.6595 14.3776 14.6595 13.0254C14.6595 11.6739 13.5634 10.5786 12.2123 10.5786V10.5786ZM7.88828 14.4934C7.07751 14.4934 6.41945 13.8366 6.41945 13.0258C6.41945 12.2152 7.07751 11.5583 7.88828 11.5583C8.69899 11.5583 9.35564 12.2152 9.35564 13.0254C9.35564 13.8364 8.69899 14.4934 7.88828 14.4934ZM12.2123 14.4934C11.4013 14.4934 10.7437 13.8364 10.7437 13.0254C10.7437 12.2152 11.4013 11.5583 12.2123 11.5583C13.0229 11.5583 13.6801 12.2152 13.6801 13.0254C13.6801 13.8364 13.0229 14.4934 12.2123 14.4934Z" fill="white"/>
|
||||
<path d="M18.4568 14.6538L17.1266 13.0222L18.4584 11.3875C18.6268 11.1718 18.5785 10.8707 18.346 10.7107C18.1133 10.5494 17.7868 10.5907 17.6067 10.7999V10.7997L16.4609 12.2039L15.3161 10.7997V10.7999C15.1379 10.5907 14.8093 10.5494 14.5773 10.7107C14.3453 10.8708 14.2968 11.1718 14.466 11.3875H14.4655L15.795 13.0222L14.4655 14.6538H14.466C14.2968 14.8702 14.3453 15.1704 14.5773 15.331C14.8093 15.4917 15.1379 15.4508 15.3161 15.2412L16.4609 13.8389L17.6051 15.2412C17.7854 15.4508 18.1118 15.4917 18.3445 15.331C18.577 15.1704 18.6255 14.8702 18.4568 14.6538Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,12 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M21 12C21 16.9698 16.9698 21 12 21C7.0302 21 3 16.9698 3 12C3 7.0302 7.0302 3 12 3C16.9698 3 21 7.0302 21 12Z" fill="#4CAF50"/>
|
||||
<path d="M12 3V12L15.6 13.8L11.6206 21C11.7633 21 11.8573 21 12 21C16.9738 21 21 16.9738 21 12C21 7.02615 16.9738 3 12 3Z" fill="#FFC107"/>
|
||||
<path d="M21 12C21 16.9698 16.9698 21 12 21C7.0302 21 3 16.9698 3 12C3 7.0302 7.0302 3 12 3C16.9698 3 21 7.0302 21 12Z" fill="#4CAF50"/>
|
||||
<path d="M12 3V12L15.6 13.8L11.6206 21C11.7633 21 11.8573 21 12 21C16.9738 21 21 16.9738 21 12C21 7.02615 16.9738 3 12 3Z" fill="#FFC107"/>
|
||||
<path d="M20.028 7.95H12V13.8L10.65 13.35L4.42196 7.167H4.41296C6.00596 4.6605 8.80946 3 12 3C15.51 3 18.5475 5.016 20.028 7.95Z" fill="#F44336"/>
|
||||
<path d="M4.42114 7.16882L8.40049 13.8567L10.65 13.35L4.42114 7.16882Z" fill="#DD2C00"/>
|
||||
<path d="M11.6206 21L15.6409 13.7735L13.8 12.45L11.6206 21Z" fill="#558B2F"/>
|
||||
<path d="M20.0392 7.95001H12L11.2894 10.011L20.0392 7.95001Z" fill="#F9A825"/>
|
||||
<path d="M16.05 12C16.05 14.2361 14.236 16.05 12 16.05C9.7639 16.05 7.94995 14.2361 7.94995 12C7.94995 9.76396 9.7639 7.95001 12 7.95001C14.236 7.95001 16.05 9.76396 16.05 12Z" fill="white"/>
|
||||
<path d="M15.15 12C15.15 13.7402 13.7401 15.15 12 15.15C10.2598 15.15 8.84998 13.7402 8.84998 12C8.84998 10.2599 10.2598 8.85001 12 8.85001C13.7401 8.85001 15.15 10.2599 15.15 12Z" fill="#2196F3"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,5 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M5.25 18.625L4 3H19L17.75 18.625L11.5 20.5L5.25 18.625Z" fill="#1172B8"/>
|
||||
<path d="M17.75 4.25006H11.5V19.5626L16.5 18.0001L17.75 4.25006Z" fill="#33AADD"/>
|
||||
<path d="M13.6875 12.0626H7.4375L7.125 9.87506L12.125 8.31256H7.125L6.8125 6.43756H16.5L16.1875 8.62506L12.125 10.1876H15.875L15.25 16.1251L11.5 17.3751L7.75 16.1251L7.4375 13.0001H9.3125L9.625 14.5626L11.5 15.1876L13.375 14.5626L13.6875 12.0626Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 532 B |
@@ -0,0 +1,17 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M6.66994 17.3279L3.59227 14.2494C3.22739 13.8739 3 13.3449 3 12.8279C3 12.5885 3.13485 12.2143 3.23664 11.9988L6.07768 6.07855L6.66994 17.3279Z" fill="#01579B"/>
|
||||
<path d="M17.2066 6.67088L14.1289 3.59242C13.8605 3.32266 13.3 3 12.8267 3C12.4195 3 12.0203 3.08199 11.7612 3.2367L6.0791 6.07846L17.2066 6.67088Z" fill="#40C4FF"/>
|
||||
<path d="M10.3389 20.9986H17.7978V17.8011L12.2334 16.0252L7.14355 17.8011L10.3389 20.9986Z" fill="#40C4FF"/>
|
||||
<path d="M6.0791 15.6709C6.0791 16.6204 6.19808 16.8544 6.67137 17.3291L7.14465 17.8025H17.7989L12.5901 11.8823L6.0791 6.0798V15.6709Z" fill="#29B6F6"/>
|
||||
<path d="M15.5491 6.07855H6.07812L17.7979 17.8013H20.9945V10.4595L17.2069 6.67097C16.6755 6.13674 16.2022 6.07855 15.5491 6.07855Z" fill="#01579B"/>
|
||||
<path opacity="0.2" d="M6.78938 17.4469C6.31609 16.9709 6.19711 16.5027 6.19711 15.671V6.19756L6.07812 6.07855V15.6696C6.07945 16.5027 6.07945 16.7328 6.78938 17.4469L7.145 17.8026L6.78938 17.4469Z" fill="white"/>
|
||||
<path opacity="0.2" d="M20.8763 10.3419V17.6836H17.6797L17.7987 17.8013H20.9953V10.4609L20.8763 10.3419Z" fill="#263238"/>
|
||||
<path opacity="0.2" d="M17.2066 6.67097C16.6196 6.08384 16.1384 6.07855 15.4311 6.07855H6.0791L6.19808 6.19756H15.4324C15.7841 6.19756 16.6765 6.13806 17.2066 6.67097Z" fill="white"/>
|
||||
<path opacity="0.2" d="M20.8771 10.3418L17.2071 6.67088L14.1294 3.59242C13.8611 3.32266 13.3005 3 12.8273 3C12.4201 3 12.0208 3.08199 11.7617 3.2367L6.07963 6.07846L3.2386 11.9987C3.1368 12.2142 3.00195 12.5885 3.00195 12.8278C3.00195 13.3448 3.22934 13.8738 3.59422 14.2493L6.43129 17.066C6.49871 17.1493 6.57803 17.2339 6.67322 17.3278L6.7922 17.4468L7.14783 17.8025L10.2255 20.881L10.3445 21H17.6844H17.8034V17.8025H21V17.7946V10.4608L20.8771 10.3418Z" fill="url(#paint0_radial_2689_27562)"/>
|
||||
<defs>
|
||||
<radialGradient id="paint0_radial_2689_27562" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(12.0003 11.9995) scale(8.99837 9.00066)">
|
||||
<stop stop-color="white" stop-opacity="0.1"/>
|
||||
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,5 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M11.2916 3.00463C11.2496 3.00905 11.1146 3.02455 10.9928 3.03562C9.26176 3.21712 7.55728 3.9498 6.16713 5.11411C5.91035 5.32661 5.32595 5.91098 5.11345 6.16775C3.96237 7.54234 3.28943 9.08517 3.04151 10.9113C2.98616 11.3164 2.98616 12.6844 3.04151 13.0894C3.28943 14.9156 3.96237 16.4584 5.11345 17.833C5.32595 18.0898 5.91035 18.6741 6.16713 18.8866C7.54178 20.0377 9.08467 20.7106 10.9109 20.9585C11.316 21.0138 12.684 21.0138 13.0891 20.9585C14.9153 20.7106 16.4582 20.0377 17.8329 18.8866C18.0897 18.6741 18.674 18.0898 18.8866 17.833C20.0376 16.4584 20.7106 14.9156 20.9585 13.0894C21.0138 12.6844 21.0138 11.3164 20.9585 10.9113C20.7106 9.08517 20.0376 7.54234 18.8866 6.16775C18.674 5.91098 18.0897 5.32661 17.8329 5.11411C16.4626 3.96751 14.9043 3.28574 13.1024 3.04447C12.9076 3.01791 12.6242 3.00684 12.0996 3.00241C11.6989 2.99799 11.3337 3.0002 11.2916 3.00463ZM11.4023 3.96087C11.4023 4.21985 11.42 4.78208 11.4444 5.31554C11.4577 5.57674 11.4732 5.95082 11.4798 6.14561C11.5042 6.83623 11.5772 8.64911 11.5883 8.81069L11.5993 8.97228L11.4997 8.96121C11.4444 8.95678 11.3935 8.9435 11.3846 8.93686C11.378 8.92801 11.3625 8.77528 11.3536 8.59598C11.3138 7.80797 11.1832 4.75109 11.1699 4.30396L11.1566 3.81256L11.2186 3.80371C11.2518 3.79928 11.3071 3.79264 11.3426 3.79043L11.4023 3.78821V3.96087ZM13.5208 3.90774C13.523 3.90996 13.5296 4.57844 13.5362 5.39302C13.5451 6.2098 13.5562 6.94248 13.5628 7.02217C13.5695 7.10407 13.5672 7.1749 13.5562 7.17933C13.5473 7.18597 13.492 7.18597 13.4366 7.17933L13.3348 7.17047L13.3193 6.52634C13.3105 6.16996 13.2994 5.77595 13.295 5.64757C13.2773 5.25578 13.2618 3.92545 13.275 3.89225C13.2839 3.8679 13.3082 3.86569 13.4012 3.88118C13.4654 3.89446 13.5185 3.90553 13.5208 3.90774ZM8.40066 4.64927C8.41395 4.66919 8.51799 5.88884 8.64638 7.48479C8.68843 8.02711 8.73049 8.52293 8.73713 8.58491C8.7482 8.6978 8.74599 8.70223 8.67515 8.7465C8.63531 8.77085 8.59546 8.79077 8.58661 8.79077C8.57997 8.79077 8.56669 8.73322 8.56004 8.66239C8.52905 8.37463 8.40952 6.98454 8.3254 5.9796C8.2767 5.38859 8.23243 4.85956 8.22579 4.80201C8.21472 4.70461 8.21693 4.69576 8.27449 4.66477C8.34532 4.62714 8.38517 4.6205 8.40066 4.64927ZM14.4947 5.09419C14.5567 5.11633 14.5634 5.12739 14.5766 5.25356C14.5988 5.47492 14.5921 6.53298 14.5678 6.53298C14.5036 6.53298 14.3708 6.45772 14.3597 6.41566C14.3531 6.3891 14.3464 6.07478 14.3464 5.7184C14.3464 4.99901 14.3376 5.04107 14.4947 5.09419ZM10.4062 5.19823C10.4062 5.25799 10.4217 5.58781 10.4394 5.93533C10.4571 6.28285 10.477 6.72334 10.4859 6.9137C10.5014 7.29886 10.5058 7.28558 10.3575 7.29443C10.2844 7.29664 10.2844 7.29664 10.28 7.18597C10.2756 7.12399 10.2645 6.93141 10.2512 6.75433C10.2402 6.57725 10.2136 6.19431 10.1959 5.90213C10.1782 5.60994 10.1561 5.31997 10.1494 5.25799C10.1361 5.14731 10.1384 5.14289 10.1981 5.12075C10.2335 5.10747 10.2955 5.0964 10.3354 5.0964C10.4062 5.09419 10.4062 5.09419 10.4062 5.19823ZM16.5468 5.50148L16.622 5.53247L16.6375 5.82908C16.6442 5.99067 16.6486 6.3404 16.6442 6.60381L16.6375 7.08636L16.5445 7.03988L16.4516 6.9956L16.4449 6.26072C16.4405 5.85564 16.4427 5.51255 16.4472 5.49705C16.456 5.46385 16.456 5.46385 16.5468 5.50148ZM12.5047 5.79145C12.518 5.80473 12.549 6.87829 12.5512 7.42281L12.5534 7.75042L12.4494 7.73492C12.3896 7.72828 12.3409 7.72164 12.3387 7.71943C12.332 7.715 12.2656 6.07478 12.2656 5.91541V5.75161L12.3785 5.76489C12.4427 5.77374 12.4981 5.78481 12.5047 5.79145ZM17.6027 5.94861C17.6292 5.9796 17.6336 6.46436 17.6403 9.13829C17.6469 12.2084 17.6469 12.2881 17.6071 12.2881C17.5827 12.2881 17.5495 12.2749 17.5296 12.2594C17.4964 12.235 17.492 11.9672 17.4809 9.34415C17.4721 7.75484 17.461 6.31163 17.4543 6.13676L17.4411 5.81801L17.5053 5.8645C17.5429 5.89106 17.5849 5.92869 17.6027 5.94861ZM15.617 6.40238C15.6281 6.41124 15.6392 6.53741 15.6414 6.68128C15.6525 7.17047 15.6547 10.1698 15.6436 10.1786C15.6392 10.1831 15.5993 10.172 15.5551 10.1543L15.4754 10.1211V8.23739V6.3559L15.5374 6.36918C15.5706 6.37803 15.606 6.39131 15.617 6.40238ZM9.50747 6.52634C9.51411 6.5861 9.52518 6.72113 9.53182 6.8318C9.53846 6.94027 9.55396 7.18818 9.56724 7.38076C9.5938 7.77034 9.58937 7.79469 9.4632 7.79469C9.39679 7.79469 9.38794 7.78805 9.37908 7.72164C9.35695 7.59104 9.27947 6.50199 9.29054 6.48428C9.30161 6.46879 9.41671 6.42894 9.46984 6.42452C9.48312 6.4223 9.50083 6.46879 9.50747 6.52634ZM5.84615 7.09079C5.8705 7.32542 5.9192 7.81682 5.95462 8.18205C5.99225 8.54728 6.02324 8.85718 6.02324 8.87046C6.02324 8.89702 5.85279 8.98113 5.83509 8.96343C5.82402 8.95236 5.60266 6.99339 5.60266 6.90485C5.60266 6.85173 5.7731 6.62816 5.79524 6.65251C5.80188 6.65694 5.82402 6.85394 5.84615 7.09079ZM14.5257 7.32321L14.5899 7.36084L14.5921 7.83896C14.5944 8.10015 14.5988 8.39234 14.5988 8.48752C14.6032 8.68674 14.5789 8.71994 14.4593 8.67788L14.3907 8.65353V8.46317C14.3907 8.35692 14.3841 8.04924 14.3752 7.77698L14.3619 7.28558H14.4128C14.4394 7.28558 14.4903 7.30328 14.5257 7.32321ZM6.81793 8.18205C6.85778 8.6070Line truncated
|
||||
<path d="M7.89173 10.5703C7.66145 10.67 7.64374 10.9822 7.86073 11.0929C8.01793 11.1726 8.17735 11.1349 8.25928 10.9977C8.41427 10.7452 8.16186 10.453 7.89173 10.5703Z" fill="white"/>
|
||||
<path d="M9.39184 10.7828C9.17928 10.9134 9.17928 11.2278 9.39184 11.3584C9.60219 11.4846 9.87453 11.3186 9.87453 11.0662C9.87453 10.8226 9.59555 10.6588 9.39184 10.7828Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,10 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3 9.17143C3 7.01123 3 5.93112 3.4204 5.10604C3.7902 4.38027 4.38027 3.7902 5.10604 3.4204C5.93112 3 7.01123 3 9.17143 3H14.8286C16.9888 3 18.0689 3 18.894 3.4204C19.6197 3.7902 20.2098 4.38027 20.5796 5.10604C21 5.93112 21 7.01123 21 9.17143V14.8286C21 16.9888 21 18.0689 20.5796 18.894C20.2098 19.6197 19.6197 20.2098 18.894 20.5796C18.0689 21 16.9888 21 14.8286 21H9.17143C7.01123 21 5.93112 21 5.10604 20.5796C4.38027 20.2098 3.7902 19.6197 3.4204 18.894C3 18.0689 3 16.9888 3 14.8286V9.17143Z" fill="url(#paint0_linear_2689_29667)"/>
|
||||
<path d="M17.2661 8.26667C16.3028 7.46667 15.1468 7.06667 13.9266 7L13.7339 7.2C14.8257 7.46667 15.789 8 16.6881 8.73333C15.5963 8.13333 14.3761 7.73333 13.0917 7.6C12.7064 7.53333 12.3853 7.53333 12 7.53333C11.6147 7.53333 11.2936 7.53333 10.9083 7.6C9.62385 7.73333 8.40367 8.13333 7.31193 8.73333C8.21101 8 9.17431 7.46667 10.2661 7.2L10.0734 7C8.85321 7.06667 7.69725 7.46667 6.73395 8.26667C5.6422 10.4 5.06422 12.8 5 15.2667C5.9633 16.3333 7.31193 17 8.72477 17C8.72477 17 9.17431 16.4667 9.49541 16C8.66055 15.8 7.88991 15.3333 7.37615 14.6C7.82569 14.8667 8.27523 15.1333 8.72477 15.3333C9.30275 15.6 9.88073 15.7333 10.4587 15.8667C10.9725 15.9333 11.4862 16 12 16C12.5138 16 13.0275 15.9333 13.5413 15.8667C14.1193 15.7333 14.6972 15.6 15.2752 15.3333C15.7248 15.1333 16.1743 14.8667 16.6239 14.6C16.1101 15.3333 15.3394 15.8 14.5046 16C14.8257 16.4667 15.2752 17 15.2752 17C16.6881 17 18.0367 16.3333 19 15.2667C18.9358 12.8 18.3578 10.4 17.2661 8.26667ZM9.88073 14.0667C9.23853 14.0667 8.66055 13.4667 8.66055 12.7333C8.66055 12 9.23853 11.4 9.88073 11.4C10.5229 11.4 11.1009 12 11.1009 12.7333C11.1009 13.4667 10.5229 14.0667 9.88073 14.0667ZM14.1193 14.0667C13.4771 14.0667 12.8991 13.4667 12.8991 12.7333C12.8991 12 13.4771 11.4 14.1193 11.4C14.7615 11.4 15.3394 12 15.3394 12.7333C15.3394 13.4667 14.7615 14.0667 14.1193 14.0667Z" fill="white"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2689_29667" x1="12" y1="3" x2="12" y2="21" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#687EC9"/>
|
||||
<stop offset="1" stop-color="#5971C3"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1,13 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="12" cy="12" r="9" fill="#1794D4"/>
|
||||
<path d="M13.6364 6H12.3636V7.29412H13.6364V6Z" fill="white"/>
|
||||
<path d="M8.54546 7.94117H9.81818V9.23529H8.54546V7.94117Z" fill="white"/>
|
||||
<path d="M6.00098 12.4327C6.10973 14.31 7.20926 17 11.0909 17C15.4182 17 17.3485 13.7647 17.7727 12.1471C18.303 12.1471 19.4909 11.8235 20 10.5294C19.6818 10.2059 18.4091 10.2059 17.7727 10.5294C17.7727 10.0118 17.4545 8.91176 16.8182 8.58823C16.3939 9.0196 15.7364 10.1412 16.5 11.1765C16.1818 11.8235 15.3334 11.8235 14.9091 11.8235H6.60003C6.26309 11.8235 5.98117 12.0907 6.00098 12.4327Z" fill="white"/>
|
||||
<path d="M7.90909 9.88235H6.63636V11.1765H7.90909V9.88235Z" fill="white"/>
|
||||
<path d="M8.54546 9.88235H9.81818V11.1765H8.54546V9.88235Z" fill="white"/>
|
||||
<path d="M11.7273 9.88235H10.4545V11.1765H11.7273V9.88235Z" fill="white"/>
|
||||
<path d="M12.3636 9.88235H13.6364V11.1765H12.3636V9.88235Z" fill="white"/>
|
||||
<path d="M15.5455 9.88235H14.2727V11.1765H15.5455V9.88235Z" fill="white"/>
|
||||
<path d="M11.7273 7.94117H10.4545V9.23529H11.7273V7.94117Z" fill="white"/>
|
||||
<path d="M12.3636 7.94117H13.6364V9.23529H12.3636V7.94117Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM15.1654 19.037C14.1996 19.4722 13.1281 19.7143 12 19.7143C10.1377 19.7143 8.42951 19.0544 7.09654 17.9556C8.48321 15.6287 10.7135 13.8645 13.3648 13.0839C14.1263 14.9945 14.7317 16.9841 15.1654 19.037ZM16.3385 18.3796C15.9112 16.4583 15.3384 14.5919 14.6322 12.7925C15.2201 12.6941 15.8239 12.6429 16.4397 12.6429C17.5521 12.6429 18.6244 12.8098 19.6336 13.1196C19.3162 15.3031 18.084 17.1902 16.3385 18.3796ZM19.7118 11.8028C18.6702 11.5123 17.5726 11.3571 16.4397 11.3571C15.65 11.3571 14.8779 11.4325 14.1302 11.5763C13.9352 11.1262 13.7317 10.6807 13.5199 10.2398C15.203 9.49277 16.7584 8.51045 18.1443 7.33472C19.0924 8.58155 19.6697 10.1257 19.7118 11.8028ZM17.2834 6.37894C15.9823 7.47803 14.5224 8.39457 12.9429 9.08918C12.1091 7.49476 11.1654 5.967 10.1218 4.51596C10.723 4.36557 11.3522 4.28571 12 4.28571C14.0444 4.28571 15.903 5.08094 17.2834 6.37894ZM8.85163 4.95532C6.58698 5.96897 4.90033 8.04257 4.42271 10.5451C4.86157 10.5774 5.30494 10.5938 5.75224 10.5938C7.85305 10.5938 9.86896 10.2316 11.7412 9.56624C10.8908 7.95459 9.92393 6.41388 8.85163 4.95532ZM4.28768 11.8243C4.28637 11.8827 4.28571 11.9413 4.28571 12C4.28571 13.9235 4.98967 15.6825 6.15399 17.0335C7.68774 14.6031 10.0599 12.7534 12.8648 11.8914C12.6916 11.4981 12.5117 11.1084 12.3253 10.7224C10.2751 11.471 8.0612 11.8795 5.75224 11.8795C5.2596 11.8795 4.77118 11.8609 4.28768 11.8243Z" fill="#E84C88"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.0116 6.81885L7.50574 9.63756L12.0116 12.4563L7.50574 15.275L3 12.4411L7.50574 9.62234L3 6.81885L7.50574 4.00013L12.0116 6.81885ZM7.48252 16.1814L11.9883 13.3627L16.494 16.1814L11.9883 19.0001L7.48252 16.1814V16.1814ZM12.0116 12.4409L16.5173 9.62221L12.0116 6.81871L16.4941 4L21 6.81871L16.4941 9.63743L21 12.4561L16.4941 15.2749L12.0116 12.4409Z" fill="#0061FF"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 480 B |
@@ -0,0 +1,10 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="12" cy="12" r="9" fill="url(#paint0_linear_2689_29649)"/>
|
||||
<path d="M15.4758 14.8155L15.8904 12.301H13.2968V10.6699C13.2968 9.98181 13.6584 9.31068 14.8201 9.31068H16V7.1699C16 7.1699 14.9297 7 13.9068 7C11.7699 7 10.3744 8.2046 10.3744 10.3845V12.301H8V14.8155H10.3744V20.8947C10.8511 20.9643 11.3388 21 11.8356 21C12.3324 21 12.8201 20.9643 13.2968 20.8947V14.8155H15.4758Z" fill="white"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2689_29649" x1="12" y1="3" x2="12" y2="20.9466" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#18ACFE"/>
|
||||
<stop offset="1" stop-color="#0163E0"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 722 B |
@@ -0,0 +1,7 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.6666 12C11.6666 10.159 13.159 8.66666 15 8.66666C16.8409 8.66666 18.3333 10.159 18.3333 12C18.3333 13.8409 16.8409 15.3333 15 15.3333C13.159 15.3333 11.6666 13.8409 11.6666 12Z" fill="#1ABCFE"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 18.6667C5 16.8257 6.49238 15.3333 8.33333 15.3333H11.6667V18.6667C11.6667 20.5076 10.1743 22 8.33333 22C6.49238 22 5 20.5076 5 18.6667Z" fill="#0ACF83"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.6666 2V8.66667H15C16.8409 8.66667 18.3333 7.17428 18.3333 5.33333C18.3333 3.49238 16.8409 2 15 2H11.6666Z" fill="#FF7262"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 5.33333C5 7.17428 6.49238 8.66667 8.33333 8.66667H11.6667V2H8.33333C6.49238 2 5 3.49238 5 5.33333Z" fill="#F24E1E"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 12C5 13.8409 6.49238 15.3333 8.33333 15.3333H11.6667V8.66666H8.33333C6.49238 8.66666 5 10.159 5 12Z" fill="#A259FF"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,13 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.647 3L5 11.7147L7.67631 14.4119L18.9996 3H13.647Z" fill="#47C5FB"/>
|
||||
<path d="M13.5868 11.0365L8.95703 15.7025L11.6432 18.4501L14.3146 15.7578L18.9998 11.0365H13.5868Z" fill="#47C5FB"/>
|
||||
<path d="M11.6427 18.4501L13.6763 20.4995H18.9993L14.3141 15.7578L11.6427 18.4501Z" fill="#00569E"/>
|
||||
<path d="M8.92627 15.7324L11.6026 13.0351L14.314 15.7578L11.6426 18.4501L8.92627 15.7324Z" fill="#00B5F8"/>
|
||||
<path d="M11.6427 18.4501L13.8671 17.7061L14.0881 15.9855L11.6427 18.4501Z" fill="url(#paint0_linear_2689_27555)" fill-opacity="0.8"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2689_27555" x1="11.688" y1="16.793" x2="13.4506" y2="17.4232" gradientUnits="userSpaceOnUse">
|
||||
<stop/>
|
||||
<stop offset="1" stop-opacity="0"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 850 B |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12 3C7.0275 3 3 7.12937 3 12.2276C3 16.3109 5.57625 19.7597 9.15375 20.9824C9.60375 21.0631 9.7725 20.7863 9.7725 20.5441C9.7725 20.3249 9.76125 19.5982 9.76125 18.8254C7.5 19.2522 6.915 18.2602 6.735 17.7412C6.63375 17.4759 6.195 16.6569 5.8125 16.4378C5.4975 16.2647 5.0475 15.838 5.80125 15.8264C6.51 15.8149 7.01625 16.4954 7.185 16.7723C7.995 18.1679 9.28875 17.7758 9.80625 17.5335C9.885 16.9337 10.1212 16.53 10.38 16.2993C8.3775 16.0687 6.285 15.2728 6.285 11.7432C6.285 10.7397 6.63375 9.9092 7.2075 9.26326C7.1175 9.03257 6.8025 8.08674 7.2975 6.81794C7.2975 6.81794 8.05125 6.57571 9.7725 7.76377C10.4925 7.55615 11.2575 7.45234 12.0225 7.45234C12.7875 7.45234 13.5525 7.55615 14.2725 7.76377C15.9938 6.56418 16.7475 6.81794 16.7475 6.81794C17.2425 8.08674 16.9275 9.03257 16.8375 9.26326C17.4113 9.9092 17.76 10.7282 17.76 11.7432C17.76 15.2843 15.6563 16.0687 13.6538 16.2993C13.98 16.5877 14.2613 17.1414 14.2613 18.0065C14.2613 19.2407 14.25 20.2326 14.25 20.5441C14.25 20.7863 14.4188 21.0746 14.8688 20.9824C16.6554 20.364 18.2079 19.1866 19.3078 17.6162C20.4077 16.0457 20.9995 14.1611 21 12.2276C21 7.12937 16.9725 3 12 3Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,6 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.1835 6.47996C13.9079 6.47996 15.0712 7.20996 15.7344 7.82L18.3263 5.33999C16.7345 3.89 14.663 3 12.1835 3C8.5916 3 5.48956 5.01998 3.97937 7.95994L6.94874 10.22C7.6937 8.04998 9.75491 6.47996 12.1835 6.47996" fill="#EB4335"/>
|
||||
<path d="M6.95913 13.78C6.76525 13.22 6.65305 12.62 6.65305 12C6.65305 11.38 6.76525 10.78 6.94893 10.22L6.94379 10.1007L4.07348 7.9162L3.97956 7.95998C3.35715 9.17999 3 10.55 3 12C3 13.45 3.35715 14.8199 3.97956 16.04L6.95913 13.78" fill="#FBBC05"/>
|
||||
<path d="M12.1834 21C14.6629 21 16.7445 20.2 18.265 18.82L15.367 16.6199C14.5915 17.1499 13.5507 17.5199 12.1834 17.5199C9.75488 17.5199 7.69368 15.95 6.95892 13.78L6.85122 13.7889L4.01644 15.9389L3.97937 16.0399C5.48955 18.9799 8.59157 21 12.1834 21Z" fill="#34A853"/>
|
||||
<path d="M21.0004 12.1997C21.0004 11.4598 20.9391 10.9198 20.8065 10.3598H12.1841V13.6997H17.2452C17.1432 14.5297 16.5922 15.7797 15.3677 16.6197L15.3506 16.7315L18.0768 18.8013L18.2657 18.8197C20.0003 17.2497 21.0004 14.9397 21.0004 12.1997" fill="#4285F4"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,26 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="3" y="3" width="18" height="18" rx="6" fill="url(#paint0_radial_2689_29651)"/>
|
||||
<rect x="3" y="3" width="18" height="18" rx="6" fill="url(#paint1_radial_2689_29651)"/>
|
||||
<rect x="3" y="3" width="18" height="18" rx="6" fill="url(#paint2_radial_2689_29651)"/>
|
||||
<path d="M16.2 8.7C16.2 9.19706 15.7971 9.6 15.3 9.6C14.8029 9.6 14.4 9.19706 14.4 8.7C14.4 8.20294 14.8029 7.8 15.3 7.8C15.7971 7.8 16.2 8.20294 16.2 8.7Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15ZM12 13.8C12.9941 13.8 13.8 12.9941 13.8 12C13.8 11.0059 12.9941 10.2 12 10.2C11.0059 10.2 10.2 11.0059 10.2 12C10.2 12.9941 11.0059 13.8 12 13.8Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6 11.76C6 9.74381 6 8.73572 6.39238 7.96563C6.73752 7.28825 7.28825 6.73752 7.96563 6.39238C8.73572 6 9.74381 6 11.76 6H12.24C14.2562 6 15.2643 6 16.0344 6.39238C16.7117 6.73752 17.2625 7.28825 17.6076 7.96563C18 8.73572 18 9.74381 18 11.76V12.24C18 14.2562 18 15.2643 17.6076 16.0344C17.2625 16.7117 16.7117 17.2625 16.0344 17.6076C15.2643 18 14.2562 18 12.24 18H11.76C9.74381 18 8.73572 18 7.96563 17.6076C7.28825 17.2625 6.73752 16.7117 6.39238 16.0344C6 15.2643 6 14.2562 6 12.24V11.76ZM11.76 7.2H12.24C13.2679 7.2 13.9666 7.20093 14.5068 7.24506C15.0329 7.28805 15.3019 7.36596 15.4896 7.46158C15.9412 7.69168 16.3083 8.05883 16.5384 8.51042C16.634 8.6981 16.712 8.96715 16.7549 9.49325C16.7991 10.0334 16.8 10.7321 16.8 11.76V12.24C16.8 13.2679 16.7991 13.9666 16.7549 14.5068C16.712 15.0329 16.634 15.3019 16.5384 15.4896C16.3083 15.9412 15.9412 16.3083 15.4896 16.5384C15.3019 16.634 15.0329 16.712 14.5068 16.7549C13.9666 16.7991 13.2679 16.8 12.24 16.8H11.76C10.7321 16.8 10.0334 16.7991 9.49325 16.7549C8.96715 16.712 8.6981 16.634 8.51042 16.5384C8.05883 16.3083 7.69168 15.9412 7.46158 15.4896C7.36596 15.3019 7.28805 15.0329 7.24506 14.5068C7.20093 13.9666 7.2 13.2679 7.2 12.24V11.76C7.2 10.7321 7.20093 10.0334 7.24506 9.49325C7.28805 8.96715 7.36596 8.6981 7.46158 8.51042C7.69168 8.05883 8.05883 7.69168 8.51042 7.46158C8.6981 7.36596 8.96715 7.28805 9.49325 7.24506C10.0334 7.20093 10.7321 7.2 11.76 7.2Z" fill="white"/>
|
||||
<defs>
|
||||
<radialGradient id="paint0_radial_2689_29651" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.42857 16.5) rotate(-55.3758) scale(16.4055)">
|
||||
<stop stop-color="#B13589"/>
|
||||
<stop offset="0.79309" stop-color="#C62F94"/>
|
||||
<stop offset="1" stop-color="#8A3AC8"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint1_radial_2689_29651" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(2.03572 3.64286) rotate(-8.1301) scale(25.0013 5.34751)">
|
||||
<stop offset="0.156701" stop-color="#406ADC"/>
|
||||
<stop offset="0.467799" stop-color="#6A45BE"/>
|
||||
<stop offset="1" stop-color="#6A45BE" stop-opacity="0"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint2_radial_2689_29651" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(8.78571 21.6429) rotate(-65.1363) scale(14.5249)">
|
||||
<stop stop-color="#E0E8B7"/>
|
||||
<stop offset="0.444662" stop-color="#FB8A2E"/>
|
||||
<stop offset="0.71474" stop-color="#E2425C"/>
|
||||
<stop offset="1" stop-color="#E2425C" stop-opacity="0"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
@@ -0,0 +1,28 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3 21L12.03 11.9701L21 21H3Z" fill="url(#paint0_linear_2689_27616)"/>
|
||||
<path d="M3 3H12.03L3 12.5192V3Z" fill="url(#paint1_linear_2689_27616)"/>
|
||||
<path d="M12.03 3L3 12.51V21L12.03 11.97L21 3H12.03Z" fill="url(#paint2_linear_2689_27616)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2689_27616" x1="7.7877" y1="25.2042" x2="16.2921" y2="16.7001" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.097" stop-color="#0095D5"/>
|
||||
<stop offset="0.301" stop-color="#238AD9"/>
|
||||
<stop offset="0.621" stop-color="#557BDE"/>
|
||||
<stop offset="0.864" stop-color="#7472E2"/>
|
||||
<stop offset="1" stop-color="#806EE3"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2689_27616" x1="4.2627" y1="6.6177" x2="9.20189" y2="1.6785" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.118" stop-color="#0095D5"/>
|
||||
<stop offset="0.418" stop-color="#3C83DC"/>
|
||||
<stop offset="0.696" stop-color="#6D74E1"/>
|
||||
<stop offset="0.833" stop-color="#806EE3"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear_2689_27616" x1="-0.0306008" y1="19.5492" x2="16.7193" y2="2.79928" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.107" stop-color="#C757BC"/>
|
||||
<stop offset="0.214" stop-color="#D0609A"/>
|
||||
<stop offset="0.425" stop-color="#E1725C"/>
|
||||
<stop offset="0.605" stop-color="#EE7E2F"/>
|
||||
<stop offset="0.743" stop-color="#F58613"/>
|
||||
<stop offset="0.823" stop-color="#F88909"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 684 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M5.1375 7.84375C5.1375 7.625 5.025 7.40625 4.9125 7.29687L3.225 5.32812V5H8.4L12.45 13.6406L16.05 5H21V5.32812L19.5375 6.64063C19.425 6.75 19.3125 6.85937 19.425 7.07812V16.9219C19.425 17.0313 19.425 17.25 19.5375 17.3594L20.8875 18.6719V19H13.8V18.6719L15.2625 17.25C15.375 17.1406 15.375 17.0313 15.375 16.8125V8.82813L11.325 18.7813H10.875L6.15 8.82813V15.5C6.15 15.8281 6.2625 16.0469 6.375 16.2656L8.2875 18.4531V18.7813H3V18.4531L4.9125 16.2656C5.1375 16.0469 5.25 15.8281 5.1375 15.5V7.84375Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 628 B |
@@ -0,0 +1,26 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19.2582 12.2903C19.2582 15.7276 17.6529 18.825 15.0848 21C5.90332 12.2903 5.90332 12.2903 5.90332 12.2903C14.25 12.2903 16.3367 12.2904 19.2582 12.2903Z" fill="url(#paint0_linear_2689_27578)"/>
|
||||
<path d="M19.2582 12.2903C15.7107 12.2903 12.7893 12.2903 5.90332 12.2903C5.90332 12.2903 5.90332 12.2903 15.0848 3C17.6529 5.32001 19.2582 8.62389 19.2582 12.2903Z" fill="url(#paint1_linear_2689_27578)"/>
|
||||
<path d="M20.9033 16.3548C21.3427 14.9866 21.5807 13.5223 21.5807 12C21.5807 10.4778 21.3427 9.01342 20.9033 7.64517L5.90332 12.2903L20.9033 16.3548Z" fill="url(#paint2_linear_2689_27578)"/>
|
||||
<path d="M7.06445 10.6452C7.06445 8.98832 8.4076 7.64517 10.0645 7.64517H11.6128C13.2697 7.64517 14.6128 8.98832 14.6128 10.6452V16.2492C14.6128 17.2696 13.7856 18.0968 12.7652 18.0968V18.0968C12.2752 18.0968 11.8053 17.9021 11.4588 17.5556L10.8386 16.9355H10.0645C8.4076 16.9355 7.06445 15.5923 7.06445 13.9355V10.6452Z" fill="black" fill-opacity="0.3"/>
|
||||
<rect x="3" y="6.48386" width="10.4516" height="10.4516" rx="2" fill="url(#paint3_linear_2689_27578)"/>
|
||||
<path d="M8.09601 11.1242L6.72715 8.80646H5.32251L7.55025 12.5473V14.6129H8.89227V12.5473L11.129 8.80646H9.71537L8.34652 11.1242H8.09601Z" fill="white"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2689_27578" x1="11.5373" y1="15.1195" x2="17.2972" y2="18.625" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#0E51A3"/>
|
||||
<stop offset="1" stop-color="#1464B6"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2689_27578" x1="10.494" y1="10.062" x2="17.4732" y2="6.02856" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#2292E2"/>
|
||||
<stop offset="1" stop-color="#2294DB"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear_2689_27578" x1="10.293" y1="12.2082" x2="21.3717" y2="12.2082" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#176FE0"/>
|
||||
<stop offset="1" stop-color="#2F9FEF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear_2689_27578" x1="3" y1="11.7097" x2="13.4516" y2="11.7097" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#084C8A"/>
|
||||
<stop offset="1" stop-color="#1572CB"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,4 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.2666 3.19203C11.8025 2.93541 11.1975 2.93657 10.733 3.19203C8.40657 4.45431 6.08015 5.71698 3.75333 6.97868C3.30057 7.21287 2.99519 7.69092 3.00006 8.18711V15.8139C2.99679 16.3198 3.31791 16.8025 3.78236 17.0334C4.4507 17.383 5.10002 17.7681 5.78044 18.0944C6.56641 18.4741 7.54974 18.5581 8.34532 18.1621C8.99111 17.8339 9.27794 17.104 9.27714 16.4331C9.28234 13.9161 9.27794 11.399 9.27914 8.88191C9.29449 8.77004 9.20908 8.65048 9.08498 8.65317C8.78768 8.64856 8.48997 8.65048 8.19266 8.6524C8.0803 8.64195 7.97068 8.73369 7.97915 8.84473C7.97515 11.3456 7.97995 13.8472 7.97675 16.3484C7.98322 16.6944 7.7455 17.0269 7.40636 17.1438C6.62309 17.4137 4.38745 15.9865 4.38745 15.9865C4.3054 15.9491 4.2533 15.8617 4.26134 15.7748C4.26134 13.2585 4.26175 10.7421 4.26134 8.22622C4.25007 8.1248 4.31365 8.03344 4.4084 7.99203C6.72714 6.73719 9.04468 5.4792 11.3634 4.22359C11.4439 4.17074 11.5562 4.1709 11.6366 4.22398C13.9553 5.4792 16.2733 6.73603 18.5924 7.99094C18.6875 8.03229 18.7483 8.12518 18.7387 8.22622C18.7383 10.7421 18.7395 13.2585 18.7379 15.7744C18.7447 15.8634 18.698 15.9497 18.6134 15.9888C16.3163 17.2368 13.993 18.4446 11.7167 19.7289C11.6174 19.7849 11.5049 19.8484 11.3937 19.7867C10.795 19.4611 10.2037 19.1229 9.60707 18.7942C9.54222 18.7544 9.45962 18.7374 9.39196 18.7819C9.12442 18.9205 8.87287 19.0327 8.5657 19.1523C8.13424 19.3202 8.2032 19.3889 8.59225 19.6117C9.29001 20 9.98891 20.3867 10.6866 20.7753C11.1459 21.0571 11.7631 21.0772 12.2372 20.8167C14.564 19.556 16.89 18.2938 19.2173 17.0331C19.6805 16.8009 20.0032 16.3201 20 15.8139V8.18711C20.0044 7.70098 19.7107 7.23146 19.2716 6.99381C16.9371 5.72538 14.6015 4.4597 12.2666 3.19203Z" fill="#8CC84B"/>
|
||||
<path d="M15.7774 8.9183C14.8642 8.43794 13.7777 8.41237 12.7629 8.47513C12.0298 8.54635 11.2587 8.74527 10.7245 9.26198C10.1767 9.78144 10.0574 10.6202 10.3176 11.2983C10.5041 11.7775 10.9735 12.0891 11.4589 12.2539C12.0842 12.4709 12.7409 12.538 13.3979 12.6052C13.9971 12.6664 14.5964 12.7276 15.1723 12.9027C15.4076 12.9794 15.6816 13.0966 15.7536 13.3482C15.8201 13.6463 15.7472 13.9927 15.5011 14.1998C14.7193 14.8081 12.5448 14.7149 11.7724 14.2361C11.4601 14.0321 11.3255 13.671 11.2708 13.3269C11.2648 13.2197 11.177 13.1214 11.0585 13.1295C10.762 13.126 10.4655 13.1268 10.169 13.1291C10.0655 13.1206 9.95796 13.193 9.95229 13.2968C9.89137 14.8728 11.3636 15.5599 12.7448 15.7112C13.534 15.7851 14.3405 15.7809 15.1176 15.6144C15.7017 15.4836 16.2874 15.2429 16.6895 14.8005C17.1854 14.2628 17.2829 13.4624 17.0605 12.7927C16.8905 12.2931 16.4046 11.9726 15.9079 11.8077C15.2325 11.58 14.4321 11.4576 13.8204 11.4003C12.9312 11.317 11.8746 11.351 11.6229 10.7766C11.5226 10.4758 11.608 10.1023 11.8891 9.91728C12.633 9.42117 14.1469 9.48705 14.9173 9.85766C15.2711 10.0318 15.4761 10.3895 15.5607 10.7506C15.5763 10.8567 15.6489 10.9674 15.7738 10.9627C16.0683 10.9685 16.3628 10.9643 16.6572 10.9647C16.7584 10.9717 16.8691 10.9155 16.8889 10.8137C16.8764 10.059 16.4844 9.2864 15.7774 8.9183Z" fill="#8CC84B"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.10392 6.3311C6.68753 6.81122 6.90647 6.77459 8.00241 6.70054L18.3342 6.07236C18.5533 6.07236 18.3711 5.85101 18.298 5.81423L16.5822 4.55816C16.2534 4.29969 15.8153 4.00369 14.9758 4.07774L4.97151 4.8166C4.60665 4.85323 4.53378 5.03795 4.67907 5.18601L6.10392 6.3311ZM6.72422 8.76921V19.7768C6.72422 20.3684 7.01618 20.5897 7.67328 20.5531L19.0279 19.8878C19.6854 19.8512 19.7586 19.4443 19.7586 18.9638V8.03002C19.7586 7.55023 19.5763 7.2915 19.1739 7.32843L7.30817 8.03002C6.87025 8.06729 6.72419 8.28909 6.72419 8.76921H6.72422ZM17.9335 9.35968C18.0063 9.69246 17.9335 10.0249 17.6042 10.0624L17.0572 10.1727V18.2993C16.5822 18.5578 16.1441 18.7056 15.7791 18.7056C15.1947 18.7056 15.0484 18.5207 14.6107 17.967L11.0321 12.2783V17.7822L12.1645 18.041C12.1645 18.041 12.1645 18.7056 11.2508 18.7056L8.7322 18.8535C8.65904 18.7056 8.7322 18.3365 8.98768 18.2625L9.64494 18.0781V10.8009L8.73238 10.7268C8.65918 10.3941 8.84147 9.91423 9.35298 9.877L12.0549 9.69257L15.7791 15.4552V10.3574L14.8296 10.2471C14.7567 9.84026 15.0484 9.54485 15.4135 9.50822L17.9335 9.35968ZM4.13153 3.8193L14.5376 3.04333C15.8155 2.93235 16.1443 3.0067 16.9475 3.59746L20.2692 5.96154C20.8173 6.36806 21 6.47874 21 6.9219V19.8878C21 20.7004 20.7076 21.181 19.6856 21.2545L7.60097 21.9935C6.83371 22.0305 6.46856 21.9198 6.06675 21.4023L3.62056 18.1886C3.18228 17.597 3 17.1545 3 16.6367V5.1117C3 4.44719 3.29243 3.89286 4.13153 3.8193V3.8193Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12 3C7.04156 3 3 7.01259 3 12C3 16.9874 7.01287 21 12 21C16.9871 21 21 16.9871 21 12C21 7.01287 16.9584 3 12 3ZM12 16.5C9.50644 16.5 7.5 14.4936 7.5 12C7.5 9.50644 9.50644 7.5 12 7.5C14.4936 7.5 16.5 9.50644 16.5 12C16.5 14.4936 14.4936 16.5 12 16.5Z" fill="#007DC1"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 382 B |
@@ -0,0 +1,5 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M17.7413 7.58116C17.957 6.17435 17.7413 5.23647 16.9861 4.37074C16.1589 3.39679 14.6486 3 12.7066 3H7.13258C6.737 3 6.41335 3.28858 6.34143 3.68537L4.00392 18.475C3.96796 18.7635 4.18373 19.016 4.47142 19.016H7.92374L7.67201 20.5311C7.63604 20.7836 7.81585 21 8.10355 21H11.0164C11.3761 21 11.6637 20.7475 11.6997 20.4228L12.3111 16.5992C12.347 16.2745 12.6707 16.022 12.9943 16.022H13.4259C16.2309 16.022 18.4605 14.8677 19.1078 11.5491C19.3595 10.1784 19.2516 8.98798 18.5324 8.19439C18.3166 7.94188 18.0649 7.76152 17.7413 7.58116" fill="#009CDE"/>
|
||||
<path d="M17.7413 7.58116C17.957 6.17435 17.7413 5.23647 16.9861 4.37074C16.1589 3.39679 14.6486 3 12.7066 3H7.13258C6.737 3 6.41335 3.28858 6.34143 3.68537L4.00392 18.4749C3.96796 18.7635 4.18373 19.016 4.47142 19.016H7.92374L8.75085 13.6774C8.82278 13.2806 9.14643 12.992 9.54201 12.992H11.1962C14.4328 12.992 16.9501 11.6934 17.6693 7.86974C17.7053 7.79759 17.7053 7.68938 17.7413 7.58116Z" fill="#012169"/>
|
||||
<path d="M9.72182 7.61723C9.75778 7.36473 10.0814 7.04008 10.4051 7.04008H14.7924C15.2959 7.04008 15.7993 7.07615 16.2309 7.1483C16.6264 7.22044 17.3457 7.4008 17.7053 7.61723C17.9211 6.21042 17.7053 5.27254 16.9501 4.40681C16.1589 3.39679 14.6486 3 12.7066 3H7.13258C6.737 3 6.41335 3.28858 6.34143 3.68537L4.00392 18.4749C3.96796 18.7635 4.18373 19.016 4.47142 19.016H7.92374L9.72182 7.61723V7.61723Z" fill="#003087"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,14 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.082 3C8.66956 3 7.52459 4.10863 7.52459 5.47619V7.19047H11.9508V7.66666H5.55737C4.14498 7.66666 3 8.77529 3 10.1429L3 13.8571C3 15.2247 4.14498 16.3333 5.55737 16.3333H7.03278V14.2381C7.03278 12.8705 8.17776 11.7619 9.59016 11.7619H14.3115C15.5066 11.7619 16.4754 10.8238 16.4754 9.66666V5.47619C16.4754 4.10863 15.3304 3 13.918 3H10.082ZM9.4918 6.04762C9.98071 6.04762 10.377 5.66386 10.377 5.19047C10.377 4.71709 9.98071 4.33333 9.4918 4.33333C9.00289 4.33333 8.60655 4.71709 8.60655 5.19047C8.60655 5.66386 9.00289 6.04762 9.4918 6.04762Z" fill="url(#paint0_linear_2689_27561)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.9176 20.9999C15.33 20.9999 16.475 19.8913 16.475 18.5237V16.8094L12.0488 16.8094L12.0488 16.3332L18.4422 16.3332C19.8546 16.3332 20.9996 15.2246 20.9996 13.857V10.1428C20.9996 8.77519 19.8546 7.66657 18.4422 7.66657L16.9668 7.66656V9.7618C16.9668 11.1294 15.8218 12.238 14.4094 12.238L9.6881 12.238C8.493 12.238 7.52417 13.1761 7.52417 14.3332L7.52417 18.5237C7.52417 19.8913 8.66915 20.9999 10.0815 20.9999H13.9176ZM14.5078 17.9523C14.0189 17.9523 13.6225 18.336 13.6225 18.8094C13.6225 19.2828 14.0189 19.6666 14.5078 19.6666C14.9967 19.6666 15.393 19.2828 15.393 18.8094C15.393 18.336 14.9967 17.9523 14.5078 17.9523Z" fill="url(#paint1_linear_2689_27561)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2689_27561" x1="9.7377" y1="3" x2="9.7377" y2="16.3333" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#327EBD"/>
|
||||
<stop offset="1" stop-color="#1565A7"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2689_27561" x1="14.2619" y1="7.66656" x2="14.2619" y2="20.9999" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FFDA4B"/>
|
||||
<stop offset="1" stop-color="#F9C600"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,4 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.6073 11.9852C13.6073 11.1024 12.8877 10.3868 12 10.3868C11.1123 10.3868 10.3927 11.1024 10.3927 11.9852C10.3927 12.868 11.1123 13.5836 12 13.5836C12.8877 13.5836 13.6073 12.868 13.6073 11.9852Z" fill="#53C1DE"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.2202 9.01766C17.5597 7.64602 17.9863 5.10245 16.4822 4.2401C14.9852 3.38151 13.0371 5.02672 12.0084 6.01427C10.9827 5.03657 8.97981 3.39838 7.47698 4.26347C5.9805 5.12494 6.44199 7.62634 6.78894 9.00657C5.39299 9.40087 3 10.2501 3 11.9852C3 13.7153 5.3905 14.6393 6.77819 15.0332C6.42995 16.421 5.99158 18.8867 7.48996 19.7462C8.99836 20.6112 10.995 19.012 12.0332 18.0137C13.0685 19.007 14.998 20.6167 16.4953 19.7547C17.9974 18.89 17.6061 16.3805 17.2592 14.9923C18.6044 14.5975 21 13.6937 21 11.9852C21 10.2668 18.5942 9.41063 17.2202 9.01766ZM17.0497 14.2566C16.8219 13.5394 16.5144 12.7768 16.1383 11.989C16.4973 11.2198 16.7928 10.467 17.0143 9.75439C18.0215 10.0448 20.2311 10.7085 20.2311 11.9852C20.2311 13.2738 18.1108 13.9438 17.0497 14.2566ZM16.11 19.0929C14.9928 19.736 13.3333 18.1967 12.5687 17.4652C13.0759 16.9135 13.5828 16.2721 14.0775 15.56C14.9477 15.4832 15.7698 15.3576 16.5154 15.1863C16.7596 16.1682 17.2321 18.4469 16.11 19.0929ZM7.87417 19.0837C6.75686 18.4431 7.26755 16.2428 7.52374 15.2205C8.26101 15.3827 9.07714 15.4994 9.94943 15.5697C10.4474 16.2666 10.9689 16.9071 11.4945 17.4681C10.8452 18.0928 8.99671 19.7274 7.87417 19.0837ZM3.76889 11.9852C3.76889 10.6917 5.96524 10.0328 6.99542 9.74314C7.22071 10.4717 7.51617 11.2335 7.87274 12.0038C7.51155 12.7856 7.21186 13.5595 6.98451 14.2966C6.00222 14.017 3.76889 13.2795 3.76889 11.9852ZM7.86222 4.92526C8.9841 4.27949 10.7248 5.8522 11.4695 6.56008C10.9466 7.11849 10.4299 7.75421 9.93621 8.44705C9.08965 8.52508 8.27925 8.65041 7.53425 8.81827C7.25475 7.70505 6.74155 5.57033 7.86222 4.92526ZM14.6276 9.27821C15.2019 9.3503 15.7521 9.44615 16.2688 9.56348C16.1137 10.0579 15.9204 10.5749 15.6927 11.1048C15.3626 10.482 15.0083 9.87176 14.6276 9.27821ZM12.0086 7.10653C12.3633 7.48859 12.7185 7.91526 13.0679 8.37813C12.3591 8.34483 11.6492 8.34467 10.9404 8.37766C11.2901 7.91907 11.6484 7.49303 12.0086 7.10653ZM8.3139 11.1043C8.08997 10.5761 7.89839 10.0568 7.74193 9.55539C8.25551 9.44108 8.80318 9.34768 9.3738 9.27678C8.99197 9.86902 8.63826 10.4791 8.3139 11.1043ZM9.39021 14.7481C8.80071 14.6827 8.24476 14.5941 7.73134 14.4829C7.89026 13.9726 8.08607 13.4422 8.31478 12.9027C8.64362 13.5343 9.00269 14.1503 9.39021 14.7481ZM12.0299 16.9178C11.6654 16.5267 11.3019 16.0942 10.9469 15.629C11.6597 15.6568 12.3739 15.6569 13.0866 15.6252C12.7361 16.099 12.3821 16.5321 12.0299 16.9178ZM15.7 12.8752C15.9406 13.4205 16.1434 13.9481 16.3045 14.4498C15.7826 14.5682 15.2191 14.6636 14.6254 14.7344C15.009 14.1297 15.3689 13.5099 15.7 12.8752ZM13.6484 14.8271C12.5581 14.9046 11.4609 14.9038 10.3703 14.8335C9.75053 13.9332 9.19887 12.9864 8.72265 12.0035C9.19653 11.0227 9.74422 10.0778 10.361 9.17895C11.4525 9.0969 12.5507 9.09671 13.6421 9.17943C14.2536 10.0782 14.8005 11.0207 15.2854 11.9927C14.8063 12.9731 14.2557 13.9199 13.6484 14.8271ZM16.0982 4.90252C17.2204 5.54618 16.7209 7.83216 16.4757 8.82619C15.729 8.65484 14.918 8.5273 14.069 8.44808C13.5743 7.74772 13.0619 7.11088 12.5474 6.55968C13.3017 5.83656 14.9869 4.26516 16.0982 4.90252Z" fill="#53C1DE"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,120 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.9453 14.8806L6.66846 20.9999L19.9751 20.0945L21 6.6395L16.9453 14.8806Z" fill="url(#paint0_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.9968 20.0853L18.8531 12.1694L15.7378 16.2946L19.9968 20.0853Z" fill="url(#paint1_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.0125 20.0853L11.6335 19.4258L6.71313 20.9828L20.0125 20.0853Z" fill="url(#paint2_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.72481 20.9846L8.81798 14.1082L4.21191 15.0958L6.72481 20.9846Z" fill="url(#paint3_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.5629 8.85884L15.3527 4.59161L13.9019 9.29522L20.5629 8.85884Z" fill="url(#paint4_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M18.1265 3.07011L15.0622 4.76826L13.1289 3.04733L18.1265 3.07011Z" fill="url(#paint5_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 17.4024L4.2837 15.0547L3.24529 12.2578L3 17.4024Z" fill="url(#paint6_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.17627 12.1694L4.22104 15.1412L8.76078 14.1199L13.9437 9.28961L15.4064 4.63073L13.1033 3L9.18769 4.46948C7.95404 5.6201 5.56016 7.89675 5.47385 7.93957C5.38845 7.9833 3.89307 10.8175 3.17627 12.1694Z" fill="white"/>
|
||||
<path d="M8.79175 14.091L13.9438 9.2896L13.9461 9.28226L15.7372 16.3173L8.79175 14.091Z" fill="url(#paint7_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.84488 6.8309C9.51858 4.17253 12.9654 2.60193 14.2882 3.94022C15.6101 5.27851 14.2082 8.53087 11.5345 11.1883C8.86083 13.8458 5.45671 15.5029 4.13485 14.1646C2.81208 12.8273 4.17119 9.48835 6.84488 6.8309V6.8309Z" fill="url(#paint8_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.72485 20.9818L8.80167 14.0835L15.699 16.3055C13.2051 18.6505 10.4315 20.6328 6.72485 20.9818Z" fill="url(#paint9_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.9529 9.27603L15.7235 16.3091C17.8067 14.1126 19.6764 11.7513 20.5921 8.83054L13.9529 9.27603V9.27603Z" fill="url(#paint10_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.574 8.86614C21.2826 6.72159 21.4462 3.64506 18.1046 3.07385L15.3628 4.59253L20.574 8.86614V8.86614Z" fill="url(#paint11_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 17.3714C3.09812 20.9108 5.64463 20.9635 6.72937 20.9946L4.22374 15.1266L3 17.3714Z" fill="#9E1209"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.9626 9.28701C15.5634 10.2736 18.7896 12.2551 18.855 12.2916C18.9566 12.349 20.2459 10.1115 20.5384 8.84698L13.9626 9.28701V9.28701Z" fill="url(#paint12_radial_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.79883 14.0835L11.5752 19.4549C13.2168 18.5621 14.5024 17.4743 15.6798 16.3091L8.79883 14.0835Z" fill="url(#paint13_radial_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.21271 15.1339L3.81934 19.8312C4.56158 20.8479 5.58272 20.9362 6.65384 20.857C5.87889 18.9229 4.33082 15.0556 4.21271 15.1339V15.1339Z" fill="url(#paint14_linear_2689_27558)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.3464 4.60429L20.8619 5.38048C20.5676 4.12965 19.6636 3.32248 18.1228 3.07013L15.3464 4.60429Z" fill="url(#paint15_linear_2689_27558)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2689_27558" x1="18.8145" y1="22.6369" x2="15.0012" y2="15.9231" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FB7655"/>
|
||||
<stop offset="0.41" stop-color="#E42B1E"/>
|
||||
<stop offset="0.99" stop-color="#990000"/>
|
||||
<stop offset="1" stop-color="#990000"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2689_27558" x1="20.706" y1="16.9894" x2="15.8037" y2="13.7089" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#871101"/>
|
||||
<stop offset="0.99" stop-color="#911209"/>
|
||||
<stop offset="1" stop-color="#911209"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear_2689_27558" x1="16.7906" y1="22.8407" x2="11.8885" y2="19.5603" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#871101"/>
|
||||
<stop offset="0.99" stop-color="#911209"/>
|
||||
<stop offset="1" stop-color="#911209"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear_2689_27558" x1="6.51552" y1="14.6056" x2="7.2783" y2="19.5492" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="white"/>
|
||||
<stop offset="0.23" stop-color="#E57252"/>
|
||||
<stop offset="0.46" stop-color="#DE3B20"/>
|
||||
<stop offset="0.99" stop-color="#A60003"/>
|
||||
<stop offset="1" stop-color="#A60003"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint4_linear_2689_27558" x1="16.3641" y1="5.32508" x2="17.2054" y2="8.94037" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="white"/>
|
||||
<stop offset="0.18" stop-color="#E46342"/>
|
||||
<stop offset="0.4" stop-color="#C82410"/>
|
||||
<stop offset="0.99" stop-color="#A80D00"/>
|
||||
<stop offset="1" stop-color="#A80D00"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint5_linear_2689_27558" x1="13.809" y1="4.05142" x2="17.4191" y2="2.2514" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="white"/>
|
||||
<stop offset="0.54" stop-color="#C81F11"/>
|
||||
<stop offset="0.99" stop-color="#BF0905"/>
|
||||
<stop offset="1" stop-color="#BF0905"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint6_linear_2689_27558" x1="3.35461" y1="13.3451" x2="3.65305" y2="16.3247" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="white"/>
|
||||
<stop offset="0.31" stop-color="#DE4024"/>
|
||||
<stop offset="0.99" stop-color="#BF190B"/>
|
||||
<stop offset="1" stop-color="#BF190B"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint7_linear_2689_27558" x1="11.7337" y1="9.98895" x2="12.0148" y2="15.0347" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="white"/>
|
||||
<stop offset="0.23" stop-color="#E4714E"/>
|
||||
<stop offset="0.56" stop-color="#BE1A0D"/>
|
||||
<stop offset="0.99" stop-color="#A80D00"/>
|
||||
<stop offset="1" stop-color="#A80D00"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint8_linear_2689_27558" x1="1.31436" y1="17.1304" x2="15.3061" y2="2.78299" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#BD0012"/>
|
||||
<stop offset="0.07" stop-color="white"/>
|
||||
<stop offset="0.17" stop-color="white"/>
|
||||
<stop offset="0.27" stop-color="#C82F1C"/>
|
||||
<stop offset="0.33" stop-color="#820C01"/>
|
||||
<stop offset="0.46" stop-color="#A31601"/>
|
||||
<stop offset="0.72" stop-color="#B31301"/>
|
||||
<stop offset="0.99" stop-color="#E82609"/>
|
||||
<stop offset="1" stop-color="#E82609"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint9_linear_2689_27558" x1="12.0009" y1="18.5815" x2="7.79715" y2="17.5469" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#8C0C01"/>
|
||||
<stop offset="0.54" stop-color="#990C00"/>
|
||||
<stop offset="0.99" stop-color="#A80D0E"/>
|
||||
<stop offset="1" stop-color="#A80D0E"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint10_linear_2689_27558" x1="19.2191" y1="13.5236" x2="15.4765" y2="10.1786" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#7E110B"/>
|
||||
<stop offset="0.99" stop-color="#9E0C00"/>
|
||||
<stop offset="1" stop-color="#9E0C00"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint11_linear_2689_27558" x1="20.5907" y1="7.36723" x2="18.7255" y2="5.3788" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#79130D"/>
|
||||
<stop offset="0.99" stop-color="#9E120B"/>
|
||||
<stop offset="1" stop-color="#9E120B"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint12_radial_2689_27558" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(16.0669 10.2325) scale(4.57496 4.58769)">
|
||||
<stop stop-color="#A80D00"/>
|
||||
<stop offset="0.99" stop-color="#7E0E08"/>
|
||||
<stop offset="1" stop-color="#7E0E08"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint13_radial_2689_27558" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.73115 16.2782) scale(6.0818 6.09873)">
|
||||
<stop stop-color="#A30C00"/>
|
||||
<stop offset="0.99" stop-color="#800E08"/>
|
||||
<stop offset="1" stop-color="#800E08"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="paint14_linear_2689_27558" x1="5.42282" y1="20.9778" x2="3.89957" y2="15.8242" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#8B2114"/>
|
||||
<stop offset="0.43" stop-color="#9E100A"/>
|
||||
<stop offset="0.99" stop-color="#B3100C"/>
|
||||
<stop offset="1" stop-color="#B3100C"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint15_linear_2689_27558" x1="17.0491" y1="3.89259" x2="20.4497" y2="5.38952" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#B31000"/>
|
||||
<stop offset="0.44" stop-color="#910F08"/>
|
||||
<stop offset="0.99" stop-color="#791C12"/>
|
||||
<stop offset="1" stop-color="#791C12"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.3 KiB |
@@ -0,0 +1,12 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<ellipse cx="8.46429" cy="8.14286" rx="5.46429" ry="5.14286" fill="#184AA9"/>
|
||||
<circle cx="15.8571" cy="15.8572" r="5.14286" fill="#2173F0"/>
|
||||
<circle cx="12" cy="12" r="8.35714" fill="url(#paint0_linear_2689_29662)"/>
|
||||
<path d="M12.0443 7.5C13.4029 7.5 15.2143 8.14286 14.7615 9C14.1425 10.1715 12.95 9 12.0443 9C11.1385 9 10.6857 9.42857 10.6857 9.85714C10.6857 10.2857 10.9121 10.7143 12.0443 11.1429C13.1764 11.5714 15.2143 12.2143 15.2143 13.9286C15.2143 15.6429 13.6293 16.5 11.5914 16.5C9.76582 16.5 8.42131 15.6429 8.87418 14.7857C9.39498 13.8 10.6857 15 11.5914 15C12.4971 15 13.4029 14.7857 13.4029 13.9286C13.4029 13.0714 12.0442 12.8571 11.1385 12.4286C10.0063 11.8928 8.87416 11.3571 8.87416 9.85714C8.87416 8.35714 10.6857 7.5 12.0443 7.5Z" fill="white"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2689_29662" x1="5.49997" y1="6.89285" x2="18.0357" y2="17.3393" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#297AC0"/>
|
||||
<stop offset="1" stop-color="#48B0F9"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |