diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx new file mode 100644 index 0000000..99d0ced --- /dev/null +++ b/src/app/admin/page.tsx @@ -0,0 +1,38 @@ +'use client' +import Link from 'next/link' +import { ExternalLink, Package, Settings, ShoppingCart, Users } from 'lucide-react' + +export default function AdminPortalPage() { + const adminUrl = process.env.NEXT_PUBLIC_MEDUSA_ADMIN_URL + ? process.env.NEXT_PUBLIC_MEDUSA_ADMIN_URL + '/app' + : null + + return ( +
+
+
+ +

Store Administration

+

+ Manage your products, orders, customers, and inventory through the Medusa dashboard. +

+ {adminUrl ? ( + + Open Medusa Dashboard + + + ) : ( +

Admin URL not configured. Set NEXT_PUBLIC_MEDUSA_ADMIN_URL in .env.local

+ )} +
+
Products
+
Orders
+
Customers
+
+
+ ← Back to Store +
+
+ ) +}