feat: refresh landing page and vercel deployment#60
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| let cta_state = if plan.checkout_ready_us || plan.checkout_ready_eu { | ||
| "" | ||
| } else { | ||
| " data-disabled-copy=\"Email us to activate payments\"" | ||
| r#" data-disabled-copy="Email us to activate payments""# |
There was a problem hiding this comment.
Fix malformed disabled-copy attribute string
Plans without Stripe checkout should render data-disabled-copy="Email us to activate payments" so the JS can surface the custom message. The new raw string literal includes a trailing double quote (data-disabled-copy="…""), so browsers parse the attribute value as Email us to activate payments" and button.dataset.disabledCopy ends up undefined. As a result the button falls back to the generic “Talk to sales” text even when a specific message is provided. Remove the extra quote so the dataset attribute is valid.
Useful? React with 👍 / 👎.
Summary
landing-page/index.htmlfor vercel hosting alongside a configuration fileTesting
https://chatgpt.com/codex/tasks/task_e_68f4f3050ba48326923fdb88e23d1763