diff --git a/CLAUDE.md b/CLAUDE.md index 6fd48f18..b6e1fda2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -12,3 +12,5 @@ Before taking any action or writing code, you MUST read the following Single Sou Be concise! Do not explain a thousand details unless they are absolutely necessary. Do not proceed with any task until you have analyzed these three files. + +DO NOT, EVER, USE "uppercase" "toUpper" in any context. Nowhere. Where it exists, DELETE it! This SHOULD NOT be used in UI/UX anywhere, no text should be displayed in CAPITAL LETTERS! diff --git a/frontend/app/admin/page.tsx b/frontend/app/admin/page.tsx index 962d4f87..2157f3c4 100644 --- a/frontend/app/admin/page.tsx +++ b/frontend/app/admin/page.tsx @@ -32,11 +32,11 @@ export default function AdminPage() {

Admin Control

-

System Configuration & Security

+

System Configuration & Security

@@ -347,7 +347,7 @@ export default function InventoryPage() {
setSelectedItem(item)} - className="bg-slate-950/40 border border-slate-800/50 p-4 rounded-2xl flex items-center justify-between hover:border-primary/40 cursor-pointer transition-all active:scale-[0.98]" + className="bg-background/40 border border-slate-800/50 p-4 rounded-2xl flex items-center justify-between hover:border-primary/40 cursor-pointer transition-all active:scale-[0.98]" >
@@ -365,7 +365,7 @@ export default function InventoryPage() { )}> {item.quantity} -

Stock

+

Stock

))} @@ -375,7 +375,7 @@ export default function InventoryPage() { ))} {filteredCategories.length === 0 && ( -
+

No results found

@@ -385,8 +385,8 @@ export default function InventoryPage() { {/* Stock Adjustment / Edit Item Overlay */} {selectedItem && ( -
-
+
+

{isEditing ? "Edit Item" : selectedItem.name} @@ -403,7 +403,7 @@ export default function InventoryPage() { setEditedItem(selectedItem); setIsEditing(true); }} - className="p-2 hover:bg-slate-800 rounded-full text-slate-400" + className="p-2 hover:bg-slate-800 rounded-full text-secondary" > @@ -432,32 +432,32 @@ export default function InventoryPage() { {isEditing ? (
- + setEditedItem({...editedItem, name: e.target.value})} - className="w-full bg-slate-950 border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700" />
- + setEditedItem({...editedItem, part_number: e.target.value})} - className="w-full bg-slate-950 border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700 uppercase" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700 uppercase" />
- + setEditedItem({ ...editedItem, category: e.target.value })} - className="w-full bg-slate-950 border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700" placeholder="e.g. storage" /> @@ -467,54 +467,54 @@ export default function InventoryPage() {
- + setEditedItem({...editedItem, type: e.target.value})} - className="w-full bg-slate-950 border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" />
- + setEditedItem({...editedItem, connector: e.target.value})} - className="w-full bg-slate-950 border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" placeholder="e.g. LC/UPC" />
- + setEditedItem({...editedItem, size: e.target.value})} - className="w-full bg-slate-950 border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" placeholder="e.g. 1.6TB" />
- + setEditedItem({...editedItem, color: e.target.value})} - className="w-full bg-slate-950 border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" placeholder="e.g. Blue" />
- +
setEditedItem({...editedItem, box_label: e.target.value})} - className="w-full bg-slate-950 border border-slate-800 rounded-xl py-3 pl-4 pr-12 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700 focus:border-primary transition-colors" + className="w-full bg-background border border-slate-800 rounded-xl py-3 pl-4 pr-12 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700 focus:border-primary transition-colors" placeholder="e.g. Box 5" />
- +