gpui_web: Update example to use `run_embedded()` instead of `run()` (#63235)
# Objective
- Make the gpui_web example run correctly
## Solution
- The gpui_web example uses `run()`, which should be replaced with
`run_embedded()`; otherwise, the page will be blank.
## Testing
- I tested it locally.
## Self-Review Checklist:
- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [ ] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable
## Showcase
**_Before:_**
<img width="1730" height="1527" alt="before"
src="https://github.com/user-attachments/assets/1935a2a0-7509-4bd6-bdba-6538a37de375"
/>
<br/><br/>
**_After:_**
<img width="1730" height="1527" alt="after"
src="https://github.com/user-attachments/assets/564aef15-7c1e-4978-a95d-07ad4fd680e4"
/>
<br/><br/>
Release Notes:
- Fixed the `gpui_web` example.
---------
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
206a863a95Bowen Xu committed on 9/4/2026, 1:35:56 AM· committed by GitHubparent28e52a2