From 3cc72cb327e6751bb9239667675e3ad0cf86ae80 Mon Sep 17 00:00:00 2001 From: ectasy663 Date: Thu, 9 Jul 2026 17:20:44 +0530 Subject: [PATCH] Fix UI sizing on pricing, update text to Get Pro and /year, resolve 500 error --- alter.sql | 1 + src/app/dashboard/page.tsx | 2 +- src/app/page.tsx | 32 ++++++++++++++++---------------- src/app/upgrade/page.tsx | 22 +++++++++++----------- 4 files changed, 29 insertions(+), 28 deletions(-) create mode 100644 alter.sql diff --git a/alter.sql b/alter.sql new file mode 100644 index 0000000..0f47671 --- /dev/null +++ b/alter.sql @@ -0,0 +1 @@ +ALTER TABLE "user" ADD COLUMN active_session_token VARCHAR; diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index 1bb1642..8ef6f76 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -42,7 +42,7 @@ export default function DashboardPage() { Upgrade to Pro

Unlock Unlimited DPS & Mocks

- You're currently on the Free Tier. Upgrade to Pro for ₹2499/yr to access unlimited Daily Practice Sheets, weekly CBT tests, and advanced analytics. + You're currently on the Free Tier. Upgrade to Pro for ₹2499/year to access unlimited Daily Practice Sheets, weekly CBT tests, and advanced analytics.

+ @@ -439,18 +439,18 @@ export default function MarketingPage() { viewport={{ once: true }} transition={{ duration: 0.6, type: "spring", delay: 0.1 }} > - +

Pro

-

Perfect for self-paced practice.

-
₹12,499/yr
-
    +

    Perfect for self-paced practice.

    +
    ₹12,499/year
    +
    • Unlimited Daily Practice Sheets
    • Weekly Test Series & Mock Tests
    • Detailed Performance Analytics
    • Parent Dashboard Access
    - + @@ -463,22 +463,22 @@ export default function MarketingPage() { transition={{ duration: 0.6, type: "spring", delay: 0.2 }} className="relative mt-8 lg:mt-0" > - +

    AI Coach

    -

    The complete AI-driven system.

    -
    ₹4,999/yr
    -
      +

      The complete AI-driven system.

      +
      ₹4,999/year
      +
      • Everything in Pro
      • AI Spaced Repetition (Mistakes)
      • 24/7 Streaming AI Tutor Chat
      • Predictive Rank & College Predictor
      - +
    @@ -552,7 +552,7 @@ export default function MarketingPage() {
    -
    +
    PragatiVeer {/* Free Tier */} - + Free Basic access for everyone. -
    ₹10/mo
    +
    ₹10/month
    Subject-wise diagnostics
    @@ -119,16 +119,16 @@ export default function UpgradePage() {
    Parent Analytics
    - +
    {/* Pro Tier */} - + Pro For serious aspirants. -
    ₹1299/mo
    +
    ₹1299/month
    Everything in Free
    @@ -140,21 +140,21 @@ export default function UpgradePage() {
    {/* AI Coach Tier */} - + AI Coach Personalized mastery loop. -
    ₹1599/mo
    +
    ₹1599/month
    Everything in Pro
    @@ -165,7 +165,7 @@ export default function UpgradePage() {