feat: polish admin UI, phone login, and product details

Switch admin auth to mobile, restyle shell/login with Vuesax icons, and add product detail fields plus public product pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
S. Esmaeili
2026-10-22 17:18:17 +03:30
co-authored by Cursor
parent 789d224ea0
commit 49f30a96b1
54 changed files with 3632 additions and 574 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ import { defineConfig, type ProxyOptions } from "vite";
// same paths nginx serves in production: /api → NestJS, /media → object storage bucket
const proxy: Record<string, ProxyOptions> = {
"/api": { target: "http://localhost:4000", changeOrigin: true },
"/media": {
// trailing slash: the media library page itself lives at /media
"/media/": {
target: "http://localhost:9000/imen-media",
changeOrigin: true,
rewrite: (p) => p.replace(/^\/media/, ""),