add staking page
This commit is contained in:
1
src/pages/staking/index.ts
Normal file
1
src/pages/staking/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { StakingPage } from './ui/StakingPage'
|
||||
34
src/pages/staking/ui/StakingPage.module.css
Normal file
34
src/pages/staking/ui/StakingPage.module.css
Normal file
@@ -0,0 +1,34 @@
|
||||
.page {
|
||||
width: 100%;
|
||||
max-width: 960px;
|
||||
margin: 0 auto;
|
||||
padding: 32px 32px 48px;
|
||||
}
|
||||
|
||||
.head {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 14px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.page {
|
||||
padding: 24px 16px 32px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.title {
|
||||
font-size: 26px;
|
||||
}
|
||||
}
|
||||
14
src/pages/staking/ui/StakingPage.tsx
Normal file
14
src/pages/staking/ui/StakingPage.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { StakingWidget } from '@widgets/staking'
|
||||
import styles from './StakingPage.module.css'
|
||||
|
||||
export function StakingPage() {
|
||||
return (
|
||||
<div className={styles.page}>
|
||||
<header className={styles.head}>
|
||||
<h1 className={styles.title}>Стейкинг</h1>
|
||||
<p className={styles.subtitle}>Зарабатывайте на хранении ETH и SOL. Комиссия сервиса — 0.7%.</p>
|
||||
</header>
|
||||
<StakingWidget />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user