-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat-fallback-rpc-provider
- Loading branch information
Showing
131 changed files
with
1,918 additions
and
1,909 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 |
---|---|---|
|
@@ -70,6 +70,7 @@ body: | |
options: | ||
- "1" | ||
- "42161" | ||
- "42170" | ||
- "421614" | ||
- "11155111" | ||
- "17000" | ||
|
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.2 KB
packages/arb-token-bridge-ui/public/images/DataLakeMainnet_NativeTokenLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion
3
packages/arb-token-bridge-ui/scripts/generateCoreChainsToMonitor.ts
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
83 changes: 36 additions & 47 deletions
83
packages/arb-token-bridge-ui/src/components/MainContent/MainContent.tsx
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { Tab } from '@headlessui/react' | ||
import { PaperAirplaneIcon } from '@heroicons/react/24/outline' | ||
import { PropsWithChildren } from 'react' | ||
import { twMerge } from 'tailwind-merge' | ||
import Image from 'next/image' | ||
import { useTransactionReminderInfo } from './TransactionHistory/useTransactionReminderInfo' | ||
|
||
function StyledTab({ children, ...props }: PropsWithChildren) { | ||
return ( | ||
<Tab | ||
className="flex h-full items-center justify-center gap-2 rounded p-1 text-lg ui-selected:bg-black/75" | ||
{...props} | ||
> | ||
{children} | ||
</Tab> | ||
) | ||
} | ||
|
||
StyledTab.displayName = 'StyledTab' | ||
|
||
export function TopNavBar() { | ||
const { colorClassName } = useTransactionReminderInfo() | ||
|
||
return ( | ||
<Tab.List | ||
className={twMerge( | ||
'grid w-full max-w-[600px] grid-cols-2 bg-white/20 p-[8px] text-white md:rounded' | ||
)} | ||
> | ||
<StyledTab aria-label="Switch to Bridge Tab"> | ||
<PaperAirplaneIcon className="h-3 w-3" /> | ||
Bridge | ||
</StyledTab> | ||
<StyledTab aria-label="Switch to Transaction History Tab"> | ||
<Image | ||
src="/icons/history.svg" | ||
width={24} | ||
height={24} | ||
alt="history icon" | ||
/> | ||
Txn History{' '} | ||
<span | ||
className={twMerge('h-3 w-3 rounded-full', colorClassName.light)} | ||
/> | ||
</StyledTab> | ||
</Tab.List> | ||
) | ||
} |
Oops, something went wrong.