Skip to content

Commit a3b2f8f

Browse files
[Playground] integration guide link in chat ai footer (#7852)
1 parent d617bf7 commit a3b2f8f

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

apps/playground-web/src/app/ai/components/ChatPageContent.tsx

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"use client";
2-
import { ArrowRightIcon, MessageCircleIcon } from "lucide-react";
2+
import {
3+
ArrowRightIcon,
4+
ExternalLinkIcon,
5+
MessageCircleIcon,
6+
} from "lucide-react";
37
import Link from "next/link";
48
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
59
import { defineChain, prepareTransaction, type ThirdwebClient } from "thirdweb";
@@ -346,8 +350,14 @@ export function ChatPageContent(props: {
346350
/>
347351

348352
{/* Footer disclaimer */}
349-
<p className="mt-3 text-center text-muted-foreground text-xs opacity-75 lg:text-sm">
350-
thirdweb AI can make mistakes. Please use with discretion
353+
<p className="flex items-center justify-center gap-1 mt-3 text-center text-muted-foreground hover:text-foreground text-xs opacity-75 lg:text-sm">
354+
<Link
355+
href="https://portal.thirdweb.com/ai/chat"
356+
target="_blank"
357+
>
358+
Learn how to integrate thirdweb AI into your apps
359+
</Link>
360+
<ExternalLinkIcon className="size-3" />
351361
</p>
352362
</div>
353363
</div>
@@ -392,8 +402,14 @@ export function ChatPageContent(props: {
392402
/>
393403

394404
{/* Footer disclaimer */}
395-
<p className="mt-3 text-center text-muted-foreground text-xs opacity-75 lg:text-sm">
396-
thirdweb AI can make mistakes. Please use with discretion
405+
<p className="flex items-center justify-center gap-1 mt-3 text-center text-muted-foreground hover:text-foreground text-xs opacity-75 lg:text-sm">
406+
<Link
407+
href="https://portal.thirdweb.com/ai/chat"
408+
target="_blank"
409+
>
410+
Learn how to integrate thirdweb AI into your apps
411+
</Link>
412+
<ExternalLinkIcon className="size-3" />
397413
</p>
398414
</div>
399415
</div>

0 commit comments

Comments
 (0)