chore: release [ci skip]
This commit is contained in:
@@ -13,10 +13,7 @@
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"esbenp.prettier-vscode",
|
||||
"anthropic.claude-code"
|
||||
]
|
||||
"extensions": ["esbenp.prettier-vscode", "anthropic.claude-code"]
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import {
|
||||
ProductsTab,
|
||||
} from "@/components/organisms/manager";
|
||||
import { ProductsTab } from "@/components/organisms/manager";
|
||||
import { useAuth } from "@/lib/auth-context";
|
||||
import { useManager } from "@/lib/manager-context";
|
||||
import Link from "next/link";
|
||||
|
||||
@@ -23,7 +23,7 @@ export default function ShiftCard({
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => onClick?.(shift)}
|
||||
className={`w-full cursor-pointer rounded-lg border px-2 py-1.5 text-left text-xs transition-shadow hover:shadow-sm `}
|
||||
className={`w-full cursor-pointer rounded-lg border px-2 py-1.5 text-left text-xs transition-shadow hover:shadow-sm`}
|
||||
>
|
||||
<p className="font-semibold">
|
||||
{shift.startTime} – {shift.endTime}
|
||||
@@ -39,7 +39,7 @@ export default function ShiftCard({
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => onClick?.(shift)}
|
||||
className={`w-full cursor-pointer rounded-xl border p-3 text-left transition-shadow hover:shadow-md `}
|
||||
className={`w-full cursor-pointer rounded-xl border p-3 text-left transition-shadow hover:shadow-md`}
|
||||
>
|
||||
<div className="flex items-start justify-between">
|
||||
<div>
|
||||
@@ -66,7 +66,7 @@ export default function ShiftCard({
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{(shift.registeredStaff && shift.registeredStaff.length > 0) && (
|
||||
{shift.registeredStaff && shift.registeredStaff.length > 0 && (
|
||||
<div className="mt-2 border-t border-current/10 pt-2">
|
||||
<p className="text-[10px] font-medium tracking-wide uppercase opacity-60">
|
||||
Nhân viên ({shift.registeredStaff.length}/{shift.maxStaff})
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { MenuItemEntity } from "@/lib/types";
|
||||
|
||||
export interface ProductModalProps {
|
||||
product: MenuItemEntity | null;
|
||||
product: MenuItemEntity | null;
|
||||
onSave: (p: MenuItemEntity) => void;
|
||||
onClose: () => void;
|
||||
}
|
||||
|
||||
@@ -140,9 +140,7 @@ export default function ShiftDetailModal({
|
||||
<p className="text-[10px] font-semibold text-(--color-text-muted) uppercase">
|
||||
Thời lượng
|
||||
</p>
|
||||
<p className="text-foreground mt-1 text-sm font-bold">
|
||||
{""} giờ
|
||||
</p>
|
||||
<p className="text-foreground mt-1 text-sm font-bold">{""} giờ</p>
|
||||
</div>
|
||||
<div className="rounded-xl bg-gray-50 p-3">
|
||||
<p className="text-[10px] font-semibold text-(--color-text-muted) uppercase">
|
||||
@@ -160,7 +158,7 @@ export default function ShiftDetailModal({
|
||||
Nhân viên đã đăng ký ({shift.registeredStaff!.length}/
|
||||
{shift.maxStaff})
|
||||
</p>
|
||||
{(shift.registeredStaff && shift.registeredStaff.length === 0) ? (
|
||||
{shift.registeredStaff && shift.registeredStaff.length === 0 ? (
|
||||
<p className="text-xs text-(--color-text-muted) italic">
|
||||
Chưa có ai đăng ký
|
||||
</p>
|
||||
|
||||
@@ -16,7 +16,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: frontend-container
|
||||
image: git.demonkernel.io.vn/foodsurf/frontend:1.2.4
|
||||
image: git.demonkernel.io.vn/foodsurf/frontend:1.2.8
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
resources:
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "temp",
|
||||
"version": "1.2.4",
|
||||
"version": "1.2.8",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "temp",
|
||||
"version": "1.2.4",
|
||||
"version": "1.2.8",
|
||||
"dependencies": {
|
||||
"@tailwindcss/postcss": "^4.2.2",
|
||||
"@types/node": "^20.19.37",
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "temp",
|
||||
"version": "1.2.4",
|
||||
"version": "1.2.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
@@ -12,15 +12,15 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@apollo/client": "^4.1.9",
|
||||
"@tailwindcss/postcss": "^4.2.4",
|
||||
"@types/node": "^20.19.39",
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/node": "^20.19.41",
|
||||
"@types/react": "^19.2.14",
|
||||
"graphql": "^16.14.0",
|
||||
"next": "16.1.7",
|
||||
"react": "19.2.3",
|
||||
"react-dom": "19.2.3",
|
||||
"tailwind": "^4.0.0",
|
||||
"tailwindcss": "^4.2.4",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Generated
+277
-301
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user