Skip to content

Commit 58ba4a2

Browse files
Replace AI Playground link with AI Agents (#28728)
Update src/pages/index.astro: replace the topCards entry for the external "AI Playground" link with an internal "AI Agents" (/agents/) link, and remove the anchor's target attribute usage in the recommended section. This makes the navigation consistent for internal pages and avoids relying on a link.target property for rendering.
1 parent c20e7be commit 58ba4a2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/pages/index.astro

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@ const topCards = [
7676
{ text: "Workers AI", href: "/workers-ai/" },
7777
{ text: "Vectorize", href: "/vectorize/" },
7878
{ text: "AI Gateway", href: "/ai-gateway/" },
79-
{
80-
text: "AI Playground",
81-
href: "https://playground.ai.cloudflare.com/",
82-
target: "_blank",
83-
},
79+
{ text: "AI Agents", href: "/agents/" },
8480
],
8581
cta: {
8682
text: "View all AI products",
@@ -219,7 +215,6 @@ const recommendedSection = {
219215
<li>
220216
<a
221217
href={link.href}
222-
target={link.target}
223218
class="hover:text-accent! dark:text-accent-high! text-black! dark:hover:text-black!"
224219
>
225220
{link.text}

0 commit comments

Comments
 (0)