diff --git a/apps/dashboard/src/@/components/misc/AnnouncementBanner.tsx b/apps/dashboard/src/@/components/misc/AnnouncementBanner.tsx index 7deb08ac606..b5bf7642849 100644 --- a/apps/dashboard/src/@/components/misc/AnnouncementBanner.tsx +++ b/apps/dashboard/src/@/components/misc/AnnouncementBanner.tsx @@ -44,11 +44,12 @@ function AnnouncementBannerUI(props: { } export function AnnouncementBanner() { - return ( - - ); + // return ( + // + // ); + return null; } diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/ai/components/EmptyStateChatPageContent.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/ai/components/EmptyStateChatPageContent.tsx index 9f5003c4c9c..b2614f74ee9 100644 --- a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/ai/components/EmptyStateChatPageContent.tsx +++ b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/ai/components/EmptyStateChatPageContent.tsx @@ -1,6 +1,6 @@ "use client"; -import { ArrowUpRightIcon } from "lucide-react"; +import { ArrowUpRightIcon, InfoIcon } from "lucide-react"; import type { ThirdwebClient } from "thirdweb"; import { Button } from "@/components/ui/button"; import { NebulaIcon } from "@/icons/NebulaIcon"; @@ -24,6 +24,7 @@ export function EmptyStateChatPageContent(props: { }) { return (
+ {props.showAurora && ( )} @@ -165,3 +166,35 @@ const Aurora: React.FC = ({ className }) => { /> ); }; + +function AIUsageBanner() { + return ( +
+
+
+
+
+ +
+ +
+

+ thirdweb AI usage is billed based on number of tokens used. See + the{" "} + + pricing page + + . +

+
+
+
+
+
+ ); +} diff --git a/apps/nebula/src/app/(app)/components/EmptyStateChatPageContent.tsx b/apps/nebula/src/app/(app)/components/EmptyStateChatPageContent.tsx index fb81fe4db52..1288a27b253 100644 --- a/apps/nebula/src/app/(app)/components/EmptyStateChatPageContent.tsx +++ b/apps/nebula/src/app/(app)/components/EmptyStateChatPageContent.tsx @@ -23,7 +23,7 @@ export function EmptyStateChatPageContent(props: { onLoginClick: undefined | (() => void); }) { return ( -
+
{props.showAurora && ( )} diff --git a/apps/playground-web/src/app/payments/x402/page.tsx b/apps/playground-web/src/app/payments/x402/page.tsx index 36d7f4b416a..e08cb8df411 100644 --- a/apps/playground-web/src/app/payments/x402/page.tsx +++ b/apps/playground-web/src/app/payments/x402/page.tsx @@ -59,7 +59,6 @@ function ServerCodeExample() { import { facilitator, verifyPayment } from "thirdweb/x402"; import { createThirdwebClient } from "thirdweb"; -import { paymentMiddleware } from "x402-next"; const client = createThirdwebClient({ secretKey: "your-secret-key" }); const thirdwebX402Facilitator = facilitator({ diff --git a/apps/portal/src/app/payments/x402/page.mdx b/apps/portal/src/app/payments/x402/page.mdx index 6506d94e5fe..6baf022e5f9 100644 --- a/apps/portal/src/app/payments/x402/page.mdx +++ b/apps/portal/src/app/payments/x402/page.mdx @@ -50,7 +50,6 @@ Here's an example with a Next.js middleware: ```typescript import { createThirdwebClient } from "thirdweb"; import { facilitator, verifyPayment } from "thirdweb/x402"; -import { paymentMiddleware } from "x402-next"; const client = createThirdwebClient({ secretKey: "your-secret-key" }); const thirdwebX402Facilitator = facilitator({