feat(web): authenticated home redesign + Telegram OAuth + SMTP

- AppLayout: logged-in desktop home redesigned — score cards, 4 section
  cards (Finance/Governance/Social/Education), governance extras, fixed
  bottom tab bar (Home/Citizen/Referral) matching mobile layout
- AppLayout: Trading dropdown in header (Presale/Staking/MultiSig),
  Logout button; removed 8-button grid
- Removed PalletsGrid and TokenomicsSection components
- Login: Telegram OAuth via oauth.telegram.org popup + postMessage +
  custom Edge Function (hash verification, find-or-create user,
  magic link token exchange)
- Login: X (Twitter) OAuth 2.0 wired to Supabase
- supabase/functions/telegram-auth: new Edge Function — verifies
  Telegram Login Widget hash, issues Supabase magic link token
- vite.config.ts: process-shim alias to fix TDZ with node polyfills
- i18n: updated locales (en/tr/kmr) for new UI sections
- SDK docs search index regenerated
This commit is contained in:
2026-05-01 10:10:40 +03:00
parent 709d408983
commit bac4148020
306 changed files with 2188 additions and 2367 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ VITE_ENABLE_DEMO_MODE=true
# 1. Project URL: Copy from "Project URL" section
# 2. Anon key: Copy from "Project API keys" → "anon" → "public"
VITE_SUPABASE_URL=https://vbhftvdayqfmcgmzdxfv.supabase.co
VITE_SUPABASE_URL=https://supabase.pezkuwichain.io
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key_here
# ========================================