Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bridge-ui): add announcement for bridge ui testnet #454

Merged
merged 2 commits into from
Dec 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/bridge-ui/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import { MessageStatus } from "./domain/message";
import BridgeABI from "./constants/abi/Bridge";
import { providers } from "./store/providers";
import HeaderAnnouncement from "./components/HeaderAnnouncement.svelte";

const providerMap: Map<number, ethers.providers.JsonRpcProvider> = new Map<
number,
Expand Down Expand Up @@ -148,6 +149,7 @@
<QueryProvider>
<div class="lg:container lg:mx-auto lg:px-64">
<main>
<HeaderAnnouncement />
<Navbar />
<Router {routes} />
</main>
Expand Down
17 changes: 17 additions & 0 deletions packages/bridge-ui/src/components/HeaderAnnouncement.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div class="relative bg-[#fc0fc0]">
<div class="mx-auto max-w-7xl py-3 px-3 sm:px-6 lg:px-8">
<div class="pr-16 sm:px-16 text-center">
<p class="font-medium text-white">
<span class="md:inline">Hello! At Taiko, we develop in open-source, so this URL, and others, are
publicly available. However, it is not ready to be used. We will make an
announcement when our public testnet is ready!</span>
<span class="block sm:ml-2 sm:inline-block">
<a href="https://twitter.com/taikoxyz" class="font-bold text-white underline">
Follow @taikoxyz on Twitter
<span aria-hidden="true"> &rarr;</span>
</a>
</span>
</p>
</div>
</div>
</div>