Skip to content

Commit

Permalink
Add more ToS links
Browse files Browse the repository at this point in the history
  • Loading branch information
adamiak committed Oct 6, 2024
1 parent 513df94 commit d6850b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { z } from 'zod'

import { Button } from '../../components/Button'
import { Card } from '../../components/Card'
import { Link } from '../../components/Link'
import { OrderedList } from '../../components/OrderedList'
import { ContentWrapper } from '../../components/page/ContentWrapper'
import { Page } from '../../components/page/Page'
Expand Down Expand Up @@ -111,6 +112,10 @@ function EscapeHatchActionPage(props: Props) {
<Button className="w-full" size="lg">
Initiate Escape
</Button>
<div>
By initiating the escape process, you agree to our{' '}
<Link href="/tos">Terms of Service</Link>
</div>
</form>
</Card>
</ContentWrapper>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { AssetWithLogo } from '../../../components/AssetWithLogo'
import { Button } from '../../../components/Button'
import { Card } from '../../../components/Card'
import { InlineEllipsis } from '../../../components/InlineEllipsis'
import { Link } from '../../../components/Link'
import { OfferEntry } from '../../../components/tables/OffersTable'
import { FinalizeEscapeForm } from './FinalizeEscapeForm'
import { RegularWithdrawalForm } from './RegularWithdrawalForm'
Expand Down Expand Up @@ -48,6 +49,10 @@ export function UserQuickActionsTable(props: UserQuickActionsTableProps) {

return (
<Card className="flex flex-col gap-6 border border-brand">
<span>
By performing following actions you agree to our{' '}
<Link href="/tos">Terms of Service</Link>
</span>
{props.withdrawableAssets.length > 0 && <WithdrawableAssets {...props} />}
{props.escapableAssets.length > 0 && <EscapableAssets {...props} />}
{props.context.tradingMode === 'perpetual' &&
Expand Down

0 comments on commit d6850b4

Please sign in to comment.