diff --git a/src/App.svelte b/src/App.svelte index 87c26f1..e5b6511 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,6 +1,7 @@ @@ -121,6 +127,7 @@ Trade Pool Stake + Guide @@ -132,6 +139,7 @@ Trade Pool Stake + Guide Docs {/if} @@ -140,4 +148,4 @@ {@html BULLET_LIST_ICON} - \ No newline at end of file + diff --git a/src/components/layout/Modals.svelte b/src/components/layout/Modals.svelte index 03b829d..a4335a8 100644 --- a/src/components/layout/Modals.svelte +++ b/src/components/layout/Modals.svelte @@ -14,6 +14,7 @@ import UnstakeCAP from '../modals/UnstakeCAP.svelte' import HistoryOrderStatus from '../modals/HistoryOrderStatus.svelte' import Settings from '../modals/Settings.svelte' + import Welcome from '../modals/Welcome.svelte' @@ -21,6 +22,10 @@ {/if} +{#if $activeModal && $activeModal.name == 'Welcome'} + +{/if} + {#if $activeModal && $activeModal.name == 'AssetSelect'} {/if} @@ -67,4 +72,4 @@ {#if $activeModal && $activeModal.name == 'MarketInfo'} -{/if} \ No newline at end of file +{/if} diff --git a/src/components/modals/Welcome.svelte b/src/components/modals/Welcome.svelte new file mode 100644 index 0000000..ec87d01 --- /dev/null +++ b/src/components/modals/Welcome.svelte @@ -0,0 +1,195 @@ + + + + + +
+

+ CAP is a decentralized trading dashboard for perpetual markets, liquidity pools, and CAP staking on Arbitrum One. +

+ +
+
Dashboard
+
+ {#each guideItems as item} +
+
{item.title}
+
{item.copy}
+ navigateFromWelcomeModal(item.href)}>Open +
+ {/each} +
+
+ +
+
Bridge
+ +
+ Use the official Arbitrum portal or CAP docs when moving funds. Always verify the destination chain before confirming a wallet transaction. +
+
+ + +
+