Skip to content

Commit e4e2619

Browse files
committed
update ai prompt and overview language
1 parent fd54543 commit e4e2619

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

docs/mini-apps/technical-guides/links.mdx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,12 @@ description: Gracefully navigate users from your mini app through the Base app a
55

66
## Overview
77

8+
Use the functions provided by the `@farcaster/miniapp-sdk` to navigate users from your mini app throughout the Base app and to external links with a native user experience.
89

910

10-
All navigation and external interactions should use official SDK functions. This ensures your Mini App works reliably across different clients and provides consistent user experiences.
11-
12-
If your Mini App currently uses static URLs or direct links, update them using these patterns:
13-
14-
| Use Case | <Icon icon="ban" iconType="solid" color="red" /> Incorrect Implementation | <Icon icon="check" iconType="solid" color="green" /> Recommended SDK Action |
15-
|----------|----------------------|----------------------|
16-
| External Links | `<a href="https://external.com">` | `sdk.actions.openUrl('https://external.com')` |
17-
| Create a post | `window.open('https://farcaster.com/~/compose?text=...')` | `sdk.actions.composeCast({ text: '...', embeds: [...] })` |
18-
19-
<Accordion title="Review your app using this prompt">
11+
<Accordion title="Use this prompt to update your app with correct design patterns">
2012

13+
```
2114
# Mini App Navigation Pattern Migration
2215
2316
## Context
@@ -82,6 +75,7 @@ composeCast({
8275
embeds: [window.location.href]
8376
})
8477
```
78+
8579
</Accordion>
8680

8781

0 commit comments

Comments
 (0)