component descriptions

pull/18/head
Laurin Weger 3 months ago
parent 264f13f6b1
commit dfdce388a4
No known key found for this signature in database
GPG Key ID: 9B372BB0B792770F
  1. 6
      ng-app/src/lib/Install.svelte
  2. 5
      ng-app/src/lib/NoWallet.svelte
  3. 7
      ng-app/src/routes/Home.svelte
  4. 6
      ng-app/src/routes/User.svelte
  5. 7
      ng-app/src/routes/WalletCreate.svelte
  6. 6
      ng-app/src/routes/WalletLogin.svelte

@ -9,8 +9,12 @@
// according to those terms. // according to those terms.
--> -->
<!--
Info Component about the NextGraph app and download links.
-->
<script lang="ts"> <script lang="ts">
import { Button, Alert } from "flowbite-svelte"; import { Alert } from "flowbite-svelte";
import { link } from "svelte-spa-router"; import { link } from "svelte-spa-router";
// @ts-ignore // @ts-ignore

@ -9,6 +9,11 @@
// according to those terms. // according to those terms.
--> -->
<!--
Component to inform the user, that no wallet is registered on this device.
Offers login or create wallet buttons.
-->
<script> <script>
// @ts-ignore // @ts-ignore
import Logo from "../assets/nextgraph.svg?component"; import Logo from "../assets/nextgraph.svg?component";

@ -9,9 +9,12 @@
// according to those terms. // according to those terms.
--> -->
<!--
Home page to display for logged in users.
Redirects to no-wallet or login page, if not logged in.
-->
<script> <script>
import { Button } from "flowbite-svelte";
import { link } from "svelte-spa-router";
import Home from "../lib/Home.svelte"; import Home from "../lib/Home.svelte";
import NoWallet from "../lib/NoWallet.svelte"; import NoWallet from "../lib/NoWallet.svelte";
import { push } from "svelte-spa-router"; import { push } from "svelte-spa-router";

@ -8,6 +8,12 @@
// notice may not be copied, modified, or distributed except // notice may not be copied, modified, or distributed except
// according to those terms. // according to those terms.
--> -->
<!--
"User Panel" page.
Provides wallet download, logout, offline/online switch, and other user actions.
-->
<script> <script>
// @ts-nocheck // @ts-nocheck

@ -9,6 +9,13 @@
// according to those terms. // according to those terms.
--> -->
<!--
Wallet creation page.
This component manages the whole UX flow, gives infos about wallets,
offers available brokers, handles wallet creation,
and shows the wallet pazzle and pin.
-->
<script lang="ts"> <script lang="ts">
import { Button, Alert, Dropzone, Toggle } from "flowbite-svelte"; import { Button, Alert, Dropzone, Toggle } from "flowbite-svelte";
import { link, querystring } from "svelte-spa-router"; import { link, querystring } from "svelte-spa-router";

@ -9,6 +9,12 @@
// according to those terms. // according to those terms.
--> -->
<!--
"Select a wallet to login with" page.
This page is usually the first page the user sees when they visit the app.
It allows the user to select a wallet to login with, create, or import a wallet.
-->
<script lang="ts"> <script lang="ts">
import { onMount, onDestroy, tick } from "svelte"; import { onMount, onDestroy, tick } from "svelte";
import { link, push } from "svelte-spa-router"; import { link, push } from "svelte-spa-router";

Loading…
Cancel
Save