1/contact (and /solutions/agencies) form maps max-length Zod errors to "This field is required", skips URL validation & relies on mailto: On /contact (and /solutions/agencies, which mounts the same ContactForm component in 0nxui5-pme6kg.js), we noticed three form behaviors worth checking: 1. Non-email Zod validation errors always display "This field is required": The form uses <form noValidate> and validates entries against: z.object({ name: z.string().trim().min(1).max(100), email: z.string().trim().email().max(255), company: z.string().trim().max(120).optional().or(z.literal("")), website: z.string().trim().max(200).optional().or(z.literal("")), message: z.string().trim().min(1).max(1500) }) However, the error loop maps every issue on a non-email field to t.required: `e[a] = "email" === a ? t.invalidEmail : t.required` If name (>100 chars), company (>120 chars), website (>200 chars), or message (>1500 chars) exceeds its max length, the field displays "This field is required." ("Este campo es obligatorio.") even though it is already filled in. 2. <input type="url" name="website"> skips URL validation: Because <form noValidate> disables native browser type="url" validation and the Zod schema for website only checks .max(200) without .url(), any arbitrary non-URL string in "Website or docs" passes validation. 3. mailto: handoff sets "sent" status unconditionally after 600ms: Submitting the form triggers `window.location.href = "mailto:contact@almanzor.cloud?..."` and sets the UI state to "sent" after 600ms without an API POST fallback, so visitors without a configured system mail handler see the green checkmark state without the message reaching your inbox. (Also a small ID note on /solutions/business: the bottom URL input on the English page has id="es-footer-input".)待处理敏捷的熊猫 #v0kvma·11月10日0
1Navbar "Try it free" button redirects to "/" instead of /sign-up on 12 English pages & nav dropdowns close on click待处理While testing almanzor.cloud across the English and Spanish routes, we noticed three navigation and pricing CTA issues: 1. Navbar "Try it free" button redirects to "/" on 12 of 16 English pages: In the header component (3nxm6mfcbz4do.js), when lang === "es", the navbar primary CTA ("Probar gratis") renders an <a href="https://almanzor.cloud/sign-up?lang=es"> link. When lang === "en", however, "Try it free" renders a <button type="button"> whose onClick handler runs: (e = document.getElementById("en-hero-input")) ? (e.focus(), e.scrollIntoView(...)) : window.location.assign("/") Because only 4 English routes (/, /products/ask, /solutions/docs, /solutions/business) have an #en-hero-input element, clicking "Try it free" in the navbar on the other 12 English routes (/pricing, /docs, /docs/mcp, /docs/api, /integrations/wordpress, /solutions/agencies, /compare/*, /about, /contact, /terms, /privacy) fires the landing_sign_up_clicked analytics event and redirects the visitor back to "/" instead of /sign-up?lang=en (and does not focus #en-hero-input after load). 2. "Product" and "Solutions" navbar triggers close immediately when clicked with a mouse: The dropdown wrapper (div.en-menu) opens on hover via onPointerEnter ("mouse" === e.pointerType && s(true)), while the child <button class="en-nav-link en-menu__trigger"> has onClick: () => s(!r). On desktop mouse pointers, hovering opens the menu (r = true) and clicking "Product" or "Solutions" immediately toggles r back to false (hidden: true), closing the menu under the cursor. 3. /pricing heading hierarchy & plan CTA params: /pricing (and /es/precios) has no <h1> element (starting at <h2> "Simple pricing. 14 days free."), and all three plan buttons ("Start your free trial", "Start with Starter", "Start with Pro") link to the identical https://almanzor.cloud/sign-up?lang=en URL without passing the selected p敏捷的熊猫 #v0kvma·11月10日0