Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"permissions": {
"allow": [
"Bash(npm install:*)",
"Bash(npm run dev:*)",
"Bash(timeout 3:*)",
"Bash(npm run typecheck:*)",
"Bash(npm run build:*)",
"Bash(find:*)",
"Bash(xargs -I {} bash -c 'echo \"\"=== {} ===\"\" && grep -c \"\"React.memo\\\\|useMemo\\\\|useCallback\"\" {} || echo \"\"0\"\"')",
"Bash(gh repo create:*)",
"Bash(where.exe:*)",
"Bash(dir \"C:\\\\Program Files\\\\GitHub CLI\"\" 2>&1 || dir \"%LOCALAPPDATA%ProgramsGitHub CLI\"\")",
"Bash(cmd.exe /c \"where gh\")",
"Bash(powershell.exe -Command \"& {$env:Path = [System.Environment]::GetEnvironmentVariable\\(''Path'',''Machine''\\) + '';'' + [System.Environment]::GetEnvironmentVariable\\(''Path'',''User''\\); gh repo create PizzaDAO/pizza-chef --public --description ''Pizza Chef game''}\")",
"Bash(git remote add:*)",
"Bash(git add:*)",
"Bash(git commit:*)",
"Bash(git push:*)",
"Bash(tasklist:*)",
"Bash(findstr:*)",
"Bash(wc:*)",
"Bash(npx tsc:*)",
"Bash(npm test:*)",
"Bash(python:*)",
"Bash(magick:*)",
"Bash(pip install:*)",
"Bash(grep:*)",
"Bash(npx vitest run src/logic/customerSystem.test.ts)",
"Bash(npx vitest:*)",
"Bash(timeout 5 npm run dev:*)",
"Bash(cd /c/Users/samgo/OneDrive/Documents/PizzaDAO/Code/pizza-chef-all/pizza-chef && vercel env ls --scope=pizza-dao 2>&1)",
"Bash(cd /c/Users/samgo/OneDrive/Documents/PizzaDAO/Code/pizza-chef-all/pizza-chef && printf \"https://eskyfpmlvlvxavrrfcpv.supabase.co\" | vercel env add VITE_SUPABASE_URL production preview development --scope=pizza-dao 2>&1)"
]
}
}
2 changes: 1 addition & 1 deletion src/components/Boss.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Boss: React.FC<BossProps> = ({ bossBattle }) => {
return (
<div
key={minion.id}
className="absolute transition-all duration-100 flex items-center justify-center w-[8%] aspect-square"
className="absolute flex items-center justify-center w-[8%] aspect-square"
style={{
left: `${minion.position}%`,
top: `${minion.lane * 25 + 6}%`,
Expand Down
2 changes: 0 additions & 2 deletions src/components/Customer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ const Customer: React.FC<CustomerProps> = ({ customer, boardWidth, boardHeight }
top: 0,
transform: ready ? `translate3d(${xPx}px, ${yPx}px, 0)` : undefined,
willChange: 'transform',
transition: 'transform 100ms linear',
}}
>
{display.type === 'image' ? (
Expand Down Expand Up @@ -108,7 +107,6 @@ const Customer: React.FC<CustomerProps> = ({ customer, boardWidth, boardHeight }
}`
: 'translateX(-50%)',
willChange: 'transform',
transition: 'transform 100ms linear',
}}
>
{customer.textMessage}
Expand Down
2 changes: 1 addition & 1 deletion src/components/DroppedPlate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const DroppedPlate: React.FC<DroppedPlateProps> = ({ droppedPlate }) => {

return (
<div
className="absolute w-[6%] aspect-square transition-all duration-100"
className="absolute w-[6%] aspect-square"
style={{
left: `${droppedPlate.position}%`,
top: `${droppedPlate.lane * 25 + 10}%`,
Expand Down
2 changes: 1 addition & 1 deletion src/components/EmptyPlate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const EmptyPlate: React.FC<EmptyPlateProps> = ({ plate }) => {

return (
<div
className="absolute w-[10%] aspect-square transition-all duration-100 flex items-center justify-center"
className="absolute w-[10%] aspect-square flex items-center justify-center"
style={{
left: `${plate.position}%`,
top: `${topPercent}%`,
Expand Down
2 changes: 1 addition & 1 deletion src/components/PizzaSlice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const PizzaSlice: React.FC<PizzaSliceProps> = ({ slice }) => {

return (
<div
className="absolute w-[10%] aspect-square transition-all duration-100 flex items-center justify-center"
className="absolute w-[10%] aspect-square flex items-center justify-center"
style={{
left: `${slice.position}%`,
top: `${topPercent}%`,
Expand Down
1 change: 0 additions & 1 deletion src/components/PowerUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const PowerUp: React.FC<PowerUpProps> = ({ powerUp, boardWidth, boardHeight }) =
zIndex: 50,
transform: ready ? `translate3d(${xPx}px, ${yPx}px, 0)` : undefined,
willChange: 'transform',
transition: 'transform 100ms linear',
}}
>
{image && (
Expand Down