-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use next.js routing (#560)
- Loading branch information
Showing
15 changed files
with
185 additions
and
298 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
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
38 changes: 38 additions & 0 deletions
38
packages/arb-token-bridge-ui/src/components/App/AppConnectionFallbackContainer.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { ExternalLink } from '../common/ExternalLink' | ||
|
||
export function AppConnectionFallbackContainer({ | ||
layout = 'col', | ||
imgProps = { | ||
className: 'sm:w-[420px]', | ||
src: '/images/three-arbinauts.webp', | ||
alt: 'Three Arbinauts' | ||
}, | ||
children | ||
}: { | ||
layout?: 'row' | 'col' | ||
imgProps?: { | ||
className?: string | ||
src?: string | ||
alt?: string | ||
} | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<div className="my-24 flex items-center justify-center px-8"> | ||
<div | ||
className={`flex flex-col items-center md:flex-${layout} md:items-${ | ||
layout === 'col' ? 'center' : 'start' | ||
}`} | ||
> | ||
{children} | ||
<ExternalLink href="https://metamask.io/download"> | ||
<img | ||
className={imgProps.className} | ||
src={imgProps.src} | ||
alt={imgProps.alt} | ||
/> | ||
</ExternalLink> | ||
</div> | ||
</div> | ||
) | ||
} |
6 changes: 0 additions & 6 deletions
6
packages/arb-token-bridge-ui/src/components/App/WelcomeDialog.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
export const TOS_VERSION = 1 | ||
|
||
export const GET_HELP_LINK = | ||
'https://support.arbitrum.io/hc/en-us/requests/new?&tf_subject=Issue%20with%20bridging&tf_description=1.%20Describe%20the%20issue%20in%20detail:%3Cbr%3E%3Cbr%3E2.%20Your%20browser%20(Chrome,%20Firefox,%20Brave,%20etc.)%3Cbr%3E%3Cbr%3E3.%20Are%20you%20moving%20funds%20to%20Mainnet%20or%20Arbitrum?%3Cbr%3E%3Cbr%3E4.%20(optional)%20Steps%20to%20reproduce:%3Cbr%3E5.%20(optional)%20What%20token%20are%20you%20transferring:&tf_1260832145490=You%20can%20find%20your%20TxID%20in%20your%20profile%20tab%20on%20the%20bridge&tf_1900010553864=true' |
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.
f257a6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
arb-token-bridge – ./
arb-token-bridge-offchain-labs.vercel.app
arb-token-bridge-git-master-offchain-labs.vercel.app
bridge.arbitrum.io
arb-token-bridge.vercel.app