"use client"; import { useActionState } from "react"; import { Button } from "@/components/ui/button"; import { Field, FieldError, FieldGroup, FieldLabel, } from "@/components/ui/field"; import { Input } from "@/components/ui/input"; import { login, type LoginState } from "../../actions"; const initialState: LoginState = {}; const fieldInputClass = "h-9 rounded-none border-x-0 border-t-0 border-b border-dashed border-input bg-transparent px-0 font-mono text-[15px] text-foreground focus-visible:border-foreground focus-visible:ring-0 md:text-[15px] dark:bg-transparent"; const fieldLabelClass = "font-mono text-[10px] font-normal tracking-[0.18em] text-muted-foreground uppercase"; export function LoginForm() { const [state, formAction, pending] = useActionState(login, initialState); return (

Cleo Minimarket

); } function ReceiptEdge() { const width = 320; const depth = 9; const tooth = 20; let d = `M0 0H${width}`; for (let x = width; x > 0; x -= tooth) { d += `L${x - tooth / 2} ${depth}L${x - tooth} 0`; } return ( ); }