feat: paginate customer orders and polish the dashboard hero

Add paged orders API and infinite scroll, short order numbers, and align the guest invite card with the logged-in hero shell.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
s.esmaeili
2026-10-17 13:11:42 +03:30
co-authored by Cursor
parent f550172567
commit afb068c643
89 changed files with 4518 additions and 1325 deletions
+2 -2
View File
@@ -389,8 +389,8 @@ async function main() {
await prisma.brand.updateMany({ where: { id: 'brand-henza' }, data: { id: 'brand-montzar' } });
const brandMain = await prisma.brand.upsert({
where: { id: 'brand-montzar' },
update: { title: 'زرتاج طلا' },
create: { id: 'brand-montzar', title: 'زرتاج طلا' },
update: { title: 'تهران تاج طلا' },
create: { id: 'brand-montzar', title: 'تهران تاج طلا' },
});
const brandArtisan = await prisma.brand.upsert({
where: { id: 'brand-artisan' },