Skip to content

Fix homepage dark/light logos, SDK bento code accuracy, and hover card spacing#894

Merged
ihavecoke merged 2 commits intomainfrom
fix-dark-logo
Apr 14, 2026
Merged

Fix homepage dark/light logos, SDK bento code accuracy, and hover card spacing#894
ihavecoke merged 2 commits intomainfrom
fix-dark-logo

Conversation

@ihavecoke
Copy link
Copy Markdown
Member

Summary

  • Dark/light logo: Replace single navbar logo with separate light/dark
    variants using VitePress logo.light / logo.dark config fields.
  • SDK bento code examples: Corrected C++ API patterns (all 4 domains
    used wrong ::new() + .get() synchronous style — replaced with
    ::create() + callback-based model, SubFlags::QUOTE(), aggregate
    SubmitOrderOptions init). Fixed Go AccountBalance missing second
    parameter. Replaced all example symbols with AAPL.US.
  • Hover card spacing: Normalize horizontal padding across header,
    items, and footer for consistent alignment; increase row gap and item
    padding for better readability.

Files Changed

File Change
docs/.vitepress/config.mts Split logo into light/dark variants
NewHomePage/ProductOpenAPI.vue Fix 24 SDK code snippets (C++ API model + symbols)
NewHomePage/PlatformStats.vue Normalize hover card padding/gap values

- Replace all example symbols with AAPL.US (was 700.HK/mixed)
- Fix C++ API patterns: use QuoteContext::create/TradeContext::create,
  callback-based async model, SubFlags::QUOTE(), aggregate
  SubmitOrderOptions init — previously used wrong ::new() and .get()
- Fix Go AccountBalance missing second parameter
- Adjust hover card padding for consistent horizontal alignment
@ihavecoke ihavecoke merged commit 9bbbeb6 into main Apr 14, 2026
2 checks passed
@ihavecoke ihavecoke deleted the fix-dark-logo branch April 14, 2026 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant