|
1 | 1 | "use client";
|
2 |
| -import { ArrowRightIcon, MessageCircleIcon } from "lucide-react"; |
| 2 | +import { |
| 3 | + ArrowRightIcon, |
| 4 | + ExternalLinkIcon, |
| 5 | + MessageCircleIcon, |
| 6 | +} from "lucide-react"; |
3 | 7 | import Link from "next/link";
|
4 | 8 | import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
5 | 9 | import { defineChain, prepareTransaction, type ThirdwebClient } from "thirdweb";
|
@@ -346,8 +350,14 @@ export function ChatPageContent(props: {
|
346 | 350 | />
|
347 | 351 |
|
348 | 352 | {/* 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" /> |
351 | 361 | </p>
|
352 | 362 | </div>
|
353 | 363 | </div>
|
@@ -392,8 +402,14 @@ export function ChatPageContent(props: {
|
392 | 402 | />
|
393 | 403 |
|
394 | 404 | {/* 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" /> |
397 | 413 | </p>
|
398 | 414 | </div>
|
399 | 415 | </div>
|
|
0 commit comments