-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bridge-ui): general bridge ui enhancements (#463)
- Loading branch information
dave | d1onys1us
committed
Dec 21, 2022
1 parent
6ee7d25
commit 5843063
Showing
37 changed files
with
1,190 additions
and
453 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,7 @@ dist-ssr | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
.env | ||
.env | ||
|
||
# vite | ||
vite.config.ts.timestamp-*.mjs |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,21 +1,23 @@ | ||
<script lang="ts"> | ||
import Connect from "./buttons/Connect.svelte"; | ||
import Logo from "./icons/Logo.svelte"; | ||
import TaikoLogo from "./icons/TaikoLogo.svelte"; | ||
import { signer } from "../store/signer"; | ||
import AddressDropdown from "./AddressDropdown.svelte"; | ||
import ChainDropdown from "./ChainDropdown.svelte"; | ||
</script> | ||
|
||
<nav class="navbar mb-4 md:h-[125px] pt-4 md:pt-0 md:px-4 w-full"> | ||
<div class="navbar-end justify-start"> | ||
<Logo /> | ||
<div class="navbar bg-base-100"> | ||
<div class="flex-1"> | ||
<a href="./" class="btn btn-ghost normal-case text-xl"> | ||
<TaikoLogo width={120} /> | ||
</a> | ||
</div> | ||
<div class="navbar-end"> | ||
<div class="flex-none"> | ||
{#if $signer} | ||
<ChainDropdown /> | ||
<AddressDropdown /> | ||
{:else} | ||
<Connect /> | ||
{/if} | ||
</div> | ||
</nav> | ||
</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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<script lang="ts"> | ||
import TooltipIcon from "./icons/TooltipIcon.svelte"; | ||
import { QuestionMarkCircle } from "svelte-heros-v2"; | ||
export let isOpen: boolean = false; | ||
</script> | ||
|
||
<button type="button" on:click={() => (isOpen = true)} class="tooltip-button"> | ||
<TooltipIcon /> | ||
</button> | ||
<QuestionMarkCircle | ||
on:click={() => (isOpen = true)} | ||
size="18" | ||
variation="outline" | ||
/> |
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.