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
+5
View File
@@ -32,6 +32,11 @@ export const useContactStore = defineStore("contact", {
this.status = "error";
}
},
/** Pre-fills the message, e.g. from a product page's "request a quote" button */
prefill(message: string) {
if (this.status === "success") this.reset();
this.form.message = message;
},
reset() {
this.form = emptyForm();
this.status = "idle";