-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ntsd/feat/token
Feat/token
- Loading branch information
Showing
46 changed files
with
1,248 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<script lang="ts"> | ||
import { link } from 'svelte-spa-router'; | ||
import active from 'svelte-spa-router/active'; | ||
import { menus } from '../configs'; | ||
</script> | ||
|
||
<div class="btm-nav lg:hidden"> | ||
{#each menus as menu} | ||
<a href={menu.href} use:link use:active={{ className: 'active' }}> | ||
<!-- <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" /></svg> --> | ||
<span class="btm-nav-label">{menu.name}</span> | ||
</a> | ||
{/each} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<script lang="ts"> | ||
import { githubLink } from '../configs'; | ||
</script> | ||
|
||
<div class="navbar w-full lg:px-8"> | ||
<div class="navbar-start" /> | ||
<div class="navbar-center"> | ||
<span class="text-xl font-bold">Auto EVM Wallet</span> | ||
</div> | ||
<div class="navbar-end"> | ||
<a | ||
aria-label="Github" | ||
href={githubLink} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
class="btn btn-ghost drawer-button btn-square normal-case" | ||
><svg | ||
width="20" | ||
height="20" | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 512 512" | ||
class="inline-block h-5 w-5 fill-current lg:h-6 lg:w-6" | ||
><path | ||
d="M256,32C132.3,32,32,134.9,32,261.7c0,101.5,64.2,187.5,153.2,217.9a17.56,17.56,0,0,0,3.8.4c8.3,0,11.5-6.1,11.5-11.4,0-5.5-.2-19.9-.3-39.1a102.4,102.4,0,0,1-22.6,2.7c-43.1,0-52.9-33.5-52.9-33.5-10.2-26.5-24.9-33.6-24.9-33.6-19.5-13.7-.1-14.1,1.4-14.1h.1c22.5,2,34.3,23.8,34.3,23.8,11.2,19.6,26.2,25.1,39.6,25.1a63,63,0,0,0,25.6-6c2-14.8,7.8-24.9,14.2-30.7-49.7-5.8-102-25.5-102-113.5,0-25.1,8.7-45.6,23-61.6-2.3-5.8-10-29.2,2.2-60.8a18.64,18.64,0,0,1,5-.5c8.1,0,26.4,3.1,56.6,24.1a208.21,208.21,0,0,1,112.2,0c30.2-21,48.5-24.1,56.6-24.1a18.64,18.64,0,0,1,5,.5c12.2,31.6,4.5,55,2.2,60.8,14.3,16.1,23,36.6,23,61.6,0,88.2-52.4,107.6-102.3,113.3,8,7.1,15.2,21.1,15.2,42.5,0,30.7-.3,55.5-.3,63,0,5.4,3.1,11.5,11.4,11.5a19.35,19.35,0,0,0,4-.4C415.9,449.2,480,363.1,480,261.7,480,134.9,379.7,32,256,32Z" | ||
/></svg | ||
></a | ||
> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<script lang="ts"> | ||
import { link } from 'svelte-spa-router'; | ||
import active from 'svelte-spa-router/active'; | ||
import { menus } from '../configs'; | ||
</script> | ||
|
||
<div class="navbar w-full lg:px-8 hidden lg:flex"> | ||
<div class="navbar-start" /> | ||
<div class="navbar-center hidden lg:flex flex-row gap-8"> | ||
{#each menus as menu} | ||
<a href={menu.href} use:link class="link" use:active={{ className: 'link' }}>{menu.name}</a> | ||
{/each} | ||
</div> | ||
<div class="navbar-end" /> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
<script lang="ts"> | ||
import SmartContractModal from './SmartContractModal.svelte'; | ||
import SmartContractList from './SmartContractList.svelte'; | ||
import { networksStore } from '../../stores/networksStore'; | ||
let chainId = $networksStore.length > 0 ? $networksStore[0].chainId : ''; | ||
</script> | ||
|
||
<div class="p-4 space-y-4"> | ||
<div class="flex justify-between"> | ||
<div class="flex flex-col lg:flex-row justify-between"> | ||
<h2 class="text-2xl mb-4">Contracts</h2> | ||
<SmartContractModal /> | ||
<div class="flex flex-col lg:flex-row"> | ||
<select bind:value={chainId} class="select select-bordered"> | ||
<option value="">Select a network</option> | ||
{#each $networksStore as network} | ||
<option value={network.chainId}>{network.name}</option> | ||
{/each} | ||
</select> | ||
<SmartContractModal {chainId} /> | ||
</div> | ||
</div> | ||
<SmartContractList /> | ||
<SmartContractList {chainId} /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.