Show setup banner for Pro trial (#2391)
#skip-bb
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Show a setup banner and dialog to promote the Dyad Pro free trial during
onboarding. Improves provider selection with clear logos and refreshed
styles.
- **New Features**
- Added DyadProTrialDialog with feature highlights, Start Free Trial
(opens checkout with trialCode=1PRO30), and Learn more.
- Prominent “Start with Dyad Pro free trial” card in SetupBanner; click
opens the trial dialog; marked as Recommended.
- Added Google and OpenRouter assets and switched provider icons to real
logos, including in OpenRouterSetupBanner.
- **Refactors**
- Updated SetupProviderCard styles and chips (new chipColor per
variant); more neutral Google/OpenRouter variants.
- Minor layout tweaks in SetupBanner and ProBanner for spacing and
readability.
<sup>Written for commit 3e3c2932b1189a52f4d332f6d3e8649afe03bfe1.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk UI-only onboarding changes that add a new modal and update
links/assets; main risk is UX/analytics behavior changes around the Dyad
Pro entry point and external URL targets.
>
> **Overview**
> Adds a new `DyadProTrialDialog` modal to promote a Dyad Pro free
trial, including feature highlights and CTAs that open external
checkout/learn-more URLs.
>
> Updates `SetupBanner` to show a prominent “Start with Dyad Pro free
trial” recommended card that opens the modal (instead of immediately
navigating externally), refreshes Google/OpenRouter setup cards to use
real logo assets, and slightly tweaks spacing.
>
> Refines `SetupProviderCard` styling by introducing per-variant
`chipColor` and making Google/OpenRouter variants more neutral, plus a
small spacing tweak in `ProBanner`’s “Already have Dyad Pro?” button.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
3e3c2932b1189a52f4d332f6d3e8649afe03bfe1. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
正在显示
assets/ai-logos/google-g-icon.svg
0 → 100644
12.5 KB