Refine home page experience (#2110)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> Refines the home experience and Pro visibility/CTA while updating
related copy and tests.
>
> - Changes hero title to `Build a new app` in `SetupBanner` and updates
e2e expectations (`e2e-tests/*.spec.ts`)
> - Adds fixed Dyad Pro CTA on `home.tsx` top-right: shows
`ManageDyadProButton` when `hasDyadProKey(settings)` else
`SetupDyadProButton`
> - Makes `ImportAppButton` accept an optional `className`; updates
layout usage on home
> - Simplifies `ProBanner`: now hidden when `hasDyadProKey(settings)`;
refreshed icons/labels for `ManageDyadProButton`
> - Updates Smart Context savings copy to “up to 3x” in `ProBanner` and
`chat/PromoMessage`
> - Adjusts provider config: Dyad `websiteUrl` now `/subscription`;
removes Dyad-specific override in `ProviderSettingsPage`
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
3abffd759951f473f9ba0949fdc4f72f49ff5ca3. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Refined the home page with a new hero title and a fixed Dyad Pro button,
plus cleaner Pro/Smart Context messaging and styling.
- **New Features**
- Added a fixed top-right Dyad Pro CTA on home: shows Manage when a Dyad
Pro key is present, otherwise Setup.
- ImportAppButton now accepts className for flexible layout; updated
usage on home.
- **Refactors**
- Simplified ProBanner: hides when userBudget exists; moved the Pro CTA
to home; refreshed icons and label.
- Updated Smart Context savings copy to “up to 3x” (was 5x), including
chat promo.
- Dyad provider URL now points to /subscription; removed Dyad-specific
override in ProviderSettingsPage.
- Updated e2e tests to expect “Build a new app” headline.
<sup>Written for commit 5eee69fc80ee021e6a4684213e04206e1fed76c6.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
正在显示
请
注册
或者
登录
后发表评论