mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-25 17:38:02 +00:00
bf85df1651
- Add @twa-dev/sdk dependency for Telegram WebApp integration - Create useTelegram hook for Telegram SDK integration (haptics, popups, etc.) - Create usePezkuwiApi hook for blockchain API connection - Add Discord-like Sidebar with 5 sections navigation - Add Announcements section with like/dislike reactions - Add Forum section with thread creation and replies - Add Rewards section with referral program and epoch claims - Add APK section for Pezwallet download with changelog - Add Wallet section with balance, staking info, and transactions - Create main TelegramApp component with routing - Add /telegram route to App.tsx UI Structure: - Left: Discord-style icon sidebar (Announcements, Forum, Rewards, APK, Wallet) - Right: Active section content area - Mobile-first responsive design with Telegram theme integration Integrations: - Uses existing shared/lib functions for referral, staking, scores - Supports Telegram startParam for referral codes - Haptic feedback for native Telegram experience - Telegram Main/Back button integration
9 lines
263 B
TypeScript
9 lines
263 B
TypeScript
export { Sidebar } from './Sidebar';
|
|
export type { Section } from './Sidebar';
|
|
|
|
export { Announcements } from './Announcements';
|
|
export { Forum } from './Forum';
|
|
export { Rewards } from './Rewards';
|
|
export { APK } from './APK';
|
|
export { Wallet } from './Wallet';
|