An error occurred during deployment. Please fix:
landing-page.tsx has a syntax error:
Button,button tags are not closed.
Please fix the unbalanced tags which are likely causing the syntax error.
I can see the issue! There's a syntax error in the "Entrar em Contato" button where there are nested <button> tags inside a Button component, which is causing the unbalanced tags error. Let me fix this:
Perfect! I've fixed the syntax error by properly structuring the "Entrar em Contato" button. The issue was caused by nested <button> tags inside a Button component.
<button> inside a Button componentasChild prop - This tells the Button component to render as the child element (the <a> tag)rel="noopener noreferrer" for security when opening external linksThe button now works correctly and the deployment error should be resolved. The WhatsApp contact functionality remains exactly the same, but with proper JSX syntax.
v25 was created by restoring v23
The code returns the following error:
Unexpected token. Did you mean `{'}'}` or `}`?
> }
> ^
at (/landing-page)
Revise the code to address the error.
I was previewing: /