-
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 ui enhancements (#465)
- Loading branch information
dave | d1onys1us
authored
Dec 21, 2022
1 parent
a579b20
commit b90d041
Showing
31 changed files
with
430 additions
and
423 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
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,21 @@ | ||
<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"> | ||
<TaikoLogo width={120} /> | ||
</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
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
Oops, something went wrong.