21 lines
702 B
TypeScript
21 lines
702 B
TypeScript
// src/pages/admin/AdminStoresPage.tsx
|
|
import React from 'react';
|
|
import { Link } from 'react-router-dom';
|
|
import { AdminStoreManager } from './components/AdminStoreManager';
|
|
|
|
export const AdminStoresPage: React.FC = () => {
|
|
return (
|
|
<div className="max-w-6xl mx-auto py-8 px-4">
|
|
<div className="mb-8">
|
|
<Link to="/admin" className="text-brand-primary hover:underline">
|
|
← Back to Admin Dashboard
|
|
</Link>
|
|
<h1 className="text-3xl font-bold text-gray-800 dark:text-white mt-2">Store Management</h1>
|
|
<p className="text-gray-500 dark:text-gray-400">Manage stores and their locations.</p>
|
|
</div>
|
|
|
|
<AdminStoreManager />
|
|
</div>
|
|
);
|
|
};
|