-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add link in swaps disabled tooltip
- Loading branch information
1 parent
e34d5f3
commit 54665b5
Showing
3 changed files
with
21 additions
and
2 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
18 changes: 18 additions & 0 deletions
18
src/app/pages/home/components/swaps-disabled-tooltip-label.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,18 @@ | ||
import { Link } from "@app/ui/components/link/link"; | ||
import { Stack, styled } from "leather-styles/jsx"; | ||
|
||
export function SwapsDisabledTooltipLabel() { | ||
return ( | ||
<Stack gap="0"> | ||
<styled.span textStyle="caption.01">Swaps temporarily disabled</styled.span> | ||
<Link | ||
href="https://leather.io/guides/integrated-swap-disabled" | ||
target="_blank" | ||
color="ink.background-primary" | ||
width="fit-content" | ||
> | ||
<styled.span textStyle="caption.01">Learn more</styled.span> | ||
</Link> | ||
</Stack> | ||
); | ||
} |
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