diff --git a/ecosystem.config.js b/ecosystem.config.js index ce7e96f..d113c88 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -15,10 +15,10 @@ module.exports = { NODE_ENV: 'production', PORT: '3000', - // inlined from .env + // inlined env (keep in sync with .env used during `npm run build`) NEXT_PUBLIC_API_BASE_URL: 'https://api.profit-planet.partners', - NEXT_PUBLIC_MODE: 'development', - NEXT_PUBLIC_I18N_DEBUG_MODE: 'true', + NEXT_PUBLIC_MODE: 'production', + NEXT_PUBLIC_I18N_DEBUG_MODE: 'false', NEXT_PUBLIC_GEO_FALLBACK_COUNTRY: 'false', NEXT_PUBLIC_SHOW_SHOP: 'false', diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index fe61ca9..947e1f6 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -12,7 +12,6 @@ import { UsersIcon, UserCircleIcon, StarIcon, - HeartIcon, LinkIcon } from '@heroicons/react/24/outline' @@ -145,37 +144,6 @@ export default function DashboardPage() { } ] - // New: Latest news/articles (replace stats) - const news = [ - { - id: 'n1', - title: 'Profit Planet launches Referral Management', - excerpt: 'Create, track, and manage your referral links with real‑time usage and status.', - date: '2025-01-08', - category: 'Product Update', - href: '/news/referral-management', - image: null as string | null, - }, - { - id: 'n2', - title: 'Tips to maximize referral conversions', - excerpt: 'Learn 7 quick optimizations to improve referral performance and user onboarding.', - date: '2025-01-05', - category: 'Guides', - href: '/news/maximize-referrals', - image: null, - }, - { - id: 'n3', - title: 'Community spotlight: January', - excerpt: 'A look at the most inspiring community stories and achievements of the month.', - date: '2025-01-02', - category: 'Community', - href: '/news/community-spotlight-jan', - image: null, - }, - ] - const content = (
@@ -192,44 +160,6 @@ export default function DashboardPage() {

- {/* News Section (replaces Account setup + Stats Grid) */} -
-

Latest News & Articles

-
- {news.map(item => ( -
- {/* Image/placeholder */} -
-
-
- - {item.category} - - {new Date(item.date).toLocaleDateString()} -
-

- -

-

{item.excerpt}

-
- -
-
-
- ))} -
-
- {/* Quick Actions */}

Quick Actions

@@ -301,45 +231,6 @@ export default function DashboardPage() {
- - {/* Recent Activity */} -
-

Recent Activity

-
-
-
- -
-
-

Order completed

-

Eco-friendly water bottle

-
- 2 days ago -
- -
-
- -
-
-

Added to favorites

-

Sustainable backpack

-
- 1 week ago -
- -
-
- -
-
-

Joined community

-

Eco Warriors Group

-
- 2 weeks ago -
-
-