diff --git a/app/(feed)/feed/page.tsx b/app/(feed)/feed/page.tsx index 7695e90..ab70930 100644 --- a/app/(feed)/feed/page.tsx +++ b/app/(feed)/feed/page.tsx @@ -16,10 +16,10 @@ export default function FeedPage() { {/* Page title */}
- Tìm và chọn quán yêu thích của bạn + Find and choose your favorite shop
- Tài khoản demo: -
-
- admin / admin
-
-
- Nguyễn Văn An / Nguyễn Văn An
-
-
- 0987654321 / user1
-
- Manager sign in
+Create a manager account
+Checking...
+The system already has a restaurant. Registration is no longer available.
+Không thể kiểm tra trạng thái đăng ký. Vui lòng thử lại.
+{step === "phone" - ? "Đăng ký tài khoản khách hàng" - : "Xác thực số điện thoại"} + ? "Create a customer account" + : "Verify your phone number"}
@@ -131,7 +203,7 @@ export default function RegisterPage() { htmlFor="phone" className="mb-2 block text-sm font-medium text-(--color-text-secondary)" > - Số điện thoại + Phone number- Nhập số điện thoại Việt Nam (10 số, bắt đầu bằng 0) + Enter a Vietnamese phone number (10 digits, starting with 0)
@@ -166,8 +239,16 @@ export default function RegisterPage() { type="submit" style="login" size="lg" + disabled={isLoading} > - Tiếp tục + {isLoading ? ( + <> + + Processing... + > + ) : ( + "Continue" + )} {/* Back to Login */} @@ -175,7 +256,7 @@ export default function RegisterPage() { href="/login" className="flex w-full items-center justify-center rounded-xl border-2 border-(--color-primary) bg-white py-3 font-semibold text-(--color-primary) no-underline transition-all duration-150 hover:bg-(--color-primary) hover:text-white active:scale-98" > - Quay lại đăng nhập + Back to sign in @@ -188,7 +269,16 @@ export default function RegisterPage() {- Mã OTP đã được gửi đến số {phone} + {otpSending ? ( + <> + + Sending OTP to {phone}... + > + ) : ( + <> + OTP code sent to {phone} + > + )}
Demo OTP:{" "} @@ -197,6 +287,12 @@ export default function RegisterPage() {
+ + {otpSendError} +
+ )} {/* OTP Input */}Lịch làm việc
+Work Schedule
{isManager ? "Manager" : "Staff"}
@@ -105,7 +105,7 @@ export default function StaffSchedulePage() { {/* View toggle */}{view === "week" @@ -241,7 +241,7 @@ export default function StaffSchedulePage() { : "bg-transparent text-(--color-text-secondary)" }`} > - Tuần + Week
- {categories.length} danh - mục + {categories.length}{" "} + categories
{cat.name}
-{count} món
+{count} items
Chưa có danh mục nào
+No categories yet
- Hãy cho chúng tôi biết trải nghiệm của bạn hôm nay + Tell us about your experience today
{/* Star rating */}- Mức độ hài lòng + Satisfaction level
{ - ["", "Rất tệ", "Tệ", "Bình thường", "Tốt", "Xuất sắc"][ + ["", "Very poor", "Poor", "Average", "Good", "Excellent"][ rating ] } @@ -120,10 +120,10 @@ export default function ReviewModal({ isOpen, onClose }: ReviewModalProps) {
- Không có ca làm trong ngày này + No shifts for this day
- Thêm khung giờ ca làm cho nhân viên + Add a shift time slot for staff
Không tìm thấy quán nào phù hợp
+No shops found matching your search