Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SamueleA committed Sep 16, 2024
1 parent e31a7e5 commit 65f9a74
Show file tree
Hide file tree
Showing 2 changed files with 322 additions and 56 deletions.
27 changes: 22 additions & 5 deletions packages/checkout/src/views/PaymentSelection/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import { useState } from 'react'
import { Box, Text } from '@0xsequence/design-system'
import {
Box,
Divider.
TabsContent,
TabsHeader,
TabsRoot,
Text,
} from '@0xsequence/design-system'

import { PayWithCrypto } from './PayWithCrypto/index'
import { PayWithCreditCard } from './PayWithCreditCard'
Expand All @@ -21,7 +28,7 @@ export const PaymentSelection = () => {

export const PaymentSelectionHeader = () => {
return (
<NavigationHeader primaryText="Select Payment Method" />
<NavigationHeader primaryText="Checkout" />
)
}

Expand Down Expand Up @@ -53,11 +60,21 @@ export const PaymentSelectionContent = () => {
gap='2'
alignItems="flex-start"
width="full"
paddingX="4"
paddingBottom="4"
height="full"
style={{ height: '600px', paddingTop: HEADER_HEIGHT }}
>
<Box>
<Text color="text100">Item description</Text>
</Box>
<Divider />
<Box>
<Text color="text100">Price</Text>
</Box>
<Divider />
<Box>
<Text color="text100">Toggle</Text>
</Box>
{enableCreditCardPayments && (
<PayWithCreditCard
settings={selectPaymentSettings}
Expand All @@ -71,7 +88,7 @@ export const PaymentSelectionContent = () => {
setDisableButtons={setDisableButtons}
/>
)}
{enableTransferFunds && (
{/* {enableTransferFunds && (
<TransferFunds
disableButtons={disableButtons}
/>
Expand All @@ -80,7 +97,7 @@ export const PaymentSelectionContent = () => {
<FiatOnRamp
disableButtons={disableButtons}
/>
)}
)} */}
{noPaymentOptionFound && (
<Box
width="full"
Expand Down
Loading

0 comments on commit 65f9a74

Please sign in to comment.