diff --git a/src/lib/layout/index.ts b/src/lib/layout/index.ts index 952f4817c..b0663de89 100644 --- a/src/lib/layout/index.ts +++ b/src/lib/layout/index.ts @@ -7,3 +7,4 @@ export { default as Notification } from './notification.svelte'; export { default as Notifications } from './notifications.svelte'; export { default as Shell } from './shell.svelte'; export { default as Breadcrumbs } from './breadcrumbs.svelte'; +export { default as Unauthenticated } from './unauthenticated.svelte'; diff --git a/src/lib/layout/unauthenticated.svelte b/src/lib/layout/unauthenticated.svelte new file mode 100644 index 000000000..45088962e --- /dev/null +++ b/src/lib/layout/unauthenticated.svelte @@ -0,0 +1,82 @@ + + +
+
+
+ + Appwrite + +
+ +
+ +
+ + +
+ +
+ +
+

Integrate with your favourite technologies

+
    + {#each technologies as tech} +
  • +
  • + {/each} +
+
+
+
+
+
+
+ +
+

+
+ +
+ + +
+ +
+

+ version 0.15.2.402 +

+
+
+
+
diff --git a/src/routes/login.svelte b/src/routes/login.svelte index a3691f57d..1efd8040d 100644 --- a/src/routes/login.svelte +++ b/src/routes/login.svelte @@ -12,9 +12,7 @@ import { addNotification } from '$lib/stores/notifications'; import { sdkForConsole } from '$lib/stores/sdk'; import { user } from '$lib/stores/user'; - import AppwriteLogo from '$lib/images/appwrite.svg'; - import LoginLight from '$lib/images/login/login-light-mode.svg'; - import LoginDark from '$lib/images/login/login-dark-mode.svg'; + import { Unauthenticated } from '$lib/layout'; let mail: string, pass: string; @@ -34,112 +32,45 @@ }); } }; - - const technologies = [ - 'js', - 'flutter', - 'apple', - 'android', - 'node_js', - 'php', - 'python', - 'ruby', - 'dart', - 'kotlin', - 'swift' - ]; Appwrite - Sign in -
-
-
- - Appwrite - -
- -
- -
- - -
- -
- -
-

Integrate with your favourite technologies

-
    - {#each technologies as tech} -
  • -
  • - {/each} -
-
-
-
-
-
-
- -
-

Sign In

-
-
- - - - - - - -
-
- - -
- -
-

- version 0.15.2.402 -

-
-
-
-
+ + Sign in + +
+ + + + + + + +
+ + + + +
diff --git a/src/routes/recover.svelte b/src/routes/recover.svelte new file mode 100644 index 000000000..f638f29d1 --- /dev/null +++ b/src/routes/recover.svelte @@ -0,0 +1,57 @@ + + + + Appwrite - Recover + + + + Password Recovery + +
+ + + + + + + +
+ + + + +
diff --git a/src/routes/register.svelte b/src/routes/register.svelte index 14a9281cd..af0b7498e 100644 --- a/src/routes/register.svelte +++ b/src/routes/register.svelte @@ -11,6 +11,8 @@ } from '$lib/elements/forms'; import { addNotification } from '$lib/stores/notifications'; import { sdkForConsole } from '$lib/stores/sdk'; + import { Unauthenticated } from '$lib/layout'; + import FormList from '$lib/elements/forms/formList.svelte'; let name: string, mail: string, pass: string; @@ -29,27 +31,44 @@ - Register + Appwrite - Sign up -

Register

+ + Sign up + +
+ + + + - - - - - - - - -Login + + +
+ +
+ + + +