feat: create kyc page with api
This commit is contained in:
1
src/pages/converter/index.ts
Normal file
1
src/pages/converter/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { ConverterPage } from './ui/ConverterPage'
|
||||
19
src/pages/converter/ui/ConverterPage.module.css
Normal file
19
src/pages/converter/ui/ConverterPage.module.css
Normal file
@@ -0,0 +1,19 @@
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--bg-deep);
|
||||
}
|
||||
|
||||
.main {
|
||||
flex: 1;
|
||||
padding: 28px 32px 40px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.main {
|
||||
padding: 20px 16px 32px;
|
||||
}
|
||||
}
|
||||
16
src/pages/converter/ui/ConverterPage.tsx
Normal file
16
src/pages/converter/ui/ConverterPage.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { ConverterSection } from '@widgets/converter-page'
|
||||
import { Footer } from '@widgets/footer'
|
||||
import { WalletHeader } from '@widgets/wallet-header'
|
||||
import styles from './ConverterPage.module.css'
|
||||
|
||||
export function ConverterPage() {
|
||||
return (
|
||||
<div className={styles.page}>
|
||||
<WalletHeader />
|
||||
<main className={styles.main}>
|
||||
<ConverterSection />
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
1
src/pages/kyc/index.ts
Normal file
1
src/pages/kyc/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { KycPage } from './ui/KycPage'
|
||||
7
src/pages/kyc/ui/KycPage.module.css
Normal file
7
src/pages/kyc/ui/KycPage.module.css
Normal file
@@ -0,0 +1,7 @@
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
10
src/pages/kyc/ui/KycPage.tsx
Normal file
10
src/pages/kyc/ui/KycPage.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { KycWidget } from '@widgets/kyc-verification'
|
||||
import styles from './KycPage.module.css'
|
||||
|
||||
export function KycPage() {
|
||||
return (
|
||||
<div className={styles.page}>
|
||||
<KycWidget />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user