add frame embed
a5bd9f31
1 file(s) · +17 −0
| 14 | 14 | ogImage ? ogImage : "/social-card.png", |
|
| 15 | 15 | Astro.url, |
|
| 16 | 16 | ).href; |
|
| 17 | + | ||
| 18 | + | const frameEmbed = JSON.stringify({ |
|
| 19 | + | version: "next", |
|
| 20 | + | imageUrl: "https://stevedylan.dev/social-card.png", |
|
| 21 | + | button: { |
|
| 22 | + | title: "Open", |
|
| 23 | + | action: { |
|
| 24 | + | type: "launch_frame", |
|
| 25 | + | name: "stevedylan.dev", |
|
| 26 | + | url: "https://stevedylan.dev", |
|
| 27 | + | splashImageUrl: "https://www.stevedylan.dev/512x512.png", |
|
| 28 | + | splashBackgroundColor: "#000000", |
|
| 29 | + | }, |
|
| 30 | + | }, |
|
| 31 | + | }); |
|
| 17 | 32 | --- |
|
| 18 | 33 | ||
| 19 | 34 | <meta charset="utf-8" /> |
|
| 64 | 79 | ||
| 65 | 80 | <!-- RSS auto-discovery --> |
|
| 66 | 81 | <link rel="alternate" type="application/rss+xml" title={siteConfig.title} href="/rss.xml" /> |
|
| 82 | + | ||
| 83 | + | <meta name="fc:frame" content={frameEmbed} /> |
|