• Will Chen's avatar
    Show setup banner for Pro trial (#2391) · 3e153fd3
    Will Chen 提交于
    #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 -->
    3e153fd3
名称
最后提交
最后更新
.claude 正在载入提交数据...
.cursor/rules 正在载入提交数据...
.devcontainer 正在载入提交数据...
.github 正在载入提交数据...
.husky 正在载入提交数据...
assets 正在载入提交数据...
docs 正在载入提交数据...
drizzle 正在载入提交数据...
e2e-tests 正在载入提交数据...
makers 正在载入提交数据...
packages/@dyad-sh 正在载入提交数据...
scaffold 正在载入提交数据...
scripts 正在载入提交数据...
shared 正在载入提交数据...
src 正在载入提交数据...
testing 正在载入提交数据...
tools 正在载入提交数据...
worker 正在载入提交数据...
workers/tsc 正在载入提交数据...
.cursorignore 正在载入提交数据...
.env.example 正在载入提交数据...
.eslintrc.json 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
.oxfmtrc.json 正在载入提交数据...
.oxlintrc.json 正在载入提交数据...
.prettierignore 正在载入提交数据...
.prettierrc 正在载入提交数据...
AGENTS.md 正在载入提交数据...
CLA.md 正在载入提交数据...
CLAUDE.md 正在载入提交数据...
CONTRIBUTING.md 正在载入提交数据...
LICENSE 正在载入提交数据...
README.md 正在载入提交数据...
SECURITY.md 正在载入提交数据...
biome.json 正在载入提交数据...
components.json 正在载入提交数据...
drizzle.config.ts 正在载入提交数据...
forge.config.ts 正在载入提交数据...
forge.env.d.ts 正在载入提交数据...
index.html 正在载入提交数据...
lint-staged.config.js 正在载入提交数据...
merge.config.ts 正在载入提交数据...
package-lock.json 正在载入提交数据...
package.json 正在载入提交数据...
playwright.config.ts 正在载入提交数据...
tsconfig.app.json 正在载入提交数据...
tsconfig.json 正在载入提交数据...
tsconfig.node.json 正在载入提交数据...
vite.main.config.mts 正在载入提交数据...
vite.preload.config.mts 正在载入提交数据...
vite.renderer.config.mts 正在载入提交数据...
vite.worker.config.mts 正在载入提交数据...
vitest.config.ts 正在载入提交数据...