canina/frontend/application/app/dashboard/page.tsx
parsa aghaei bf41ba038e
All checks were successful
Deploy Canina / deploy (push) Successful in 1m30s
feat(dashboard): persist active tab in URL and keep active tab on reload
2026-08-22 14:04:30 +03:30

24 lines
903 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Suspense } from 'react';
import type { Metadata } from 'next';
import UserDashboard from "../../components/UserDashboard";
import { getPageMetadata } from "../../lib/seo";
export async function generateMetadata(): Promise<Metadata> {
return getPageMetadata('dashboard', {
canonicalPath: '/dashboard',
fallbackTitle: 'داشبورد کاربری و پیگیری سفارشات',
fallbackDesc: 'مشاهده تاریخچه خریدها، وضعیت کیف پول، پیگیری آنلاین بسته‌های پستی و مدیریت پت‌ها.',
noIndex: true,
});
}
export default function DashboardPage() {
return (
<Suspense fallback={<div className="min-h-screen bg-medical-gray-50 flex items-center justify-center font-vazir text-xs text-medical-gray-400">در حال بارگذاری داشبورد...</div>}>
<UserDashboard />
</Suspense>
);
}