File tree Expand file tree Collapse file tree 4 files changed +7
-16
lines changed Expand file tree Collapse file tree 4 files changed +7
-16
lines changed Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://unpkg.com/knip@5/schema.json" ,
33 "next" : true ,
4- "ignore" : [" src/@/components/ui/**" ],
4+ "ignore" : [
5+ " src/@/components/ui/**" ,
6+ " src/components/notices/AnnouncementBanner.tsx"
7+ ],
58 "project" : [" src/**" ],
69 "ignoreBinaries" : [" only-allow" , " biome" ],
710 "ignoreDependencies" : [" @storybook/blocks" , " @thirdweb-dev/service-utils" ]
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import PlausibleProvider from "next-plausible";
77import { Inter } from "next/font/google" ;
88import NextTopLoader from "nextjs-toploader" ;
99import { Suspense } from "react" ;
10- import { UnlimitedWalletsBanner } from "../components/notices/AnnouncementBanner" ;
1110import { OpCreditsGrantedModalWrapperServer } from "../components/onboarding/OpCreditsGrantedModalWrapperServer" ;
1211import { EnsureValidConnectedWalletLoginServer } from "./components/EnsureValidConnectedWalletLogin/EnsureValidConnectedWalletLoginServer" ;
1312import { PostHogProvider } from "./components/root-providers" ;
@@ -72,7 +71,7 @@ export default function RootLayout({
7271 fontSans . variable ,
7372 ) }
7473 >
75- < UnlimitedWalletsBanner />
74+ { /* Banner goes here */ }
7675 < AppRouterProviders >
7776 { children }
7877 < Suspense fallback = { null } >
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { useLocalStorage } from "hooks/useLocalStorage";
55import { ChevronRightIcon , XIcon } from "lucide-react" ;
66import { useSelectedLayoutSegment } from "next/navigation" ;
77
8- function AnnouncementBanner ( props : {
8+ export function AnnouncementBanner ( props : {
99 href : string ;
1010 label : string ;
1111 trackingLabel : string ;
@@ -56,13 +56,3 @@ function AnnouncementBanner(props: {
5656 </ div >
5757 ) ;
5858}
59-
60- export function UnlimitedWalletsBanner ( ) {
61- return (
62- < AnnouncementBanner
63- href = "/team/~/~/settings/billing?coupon=FREEWALLETS24"
64- label = 'Claim 12 months of free in-app wallets. Use code "FREEWALLETS24". Redeem offer by December 31st!'
65- trackingLabel = "unlimited-wallets"
66- />
67- ) ;
68- }
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import type { ThirdwebNextPage } from "utils/types";
2222import chakraTheme from "../theme" ;
2323import "@/styles/globals.css" ;
2424import { DashboardRouterTopProgressBar } from "@/lib/DashboardRouter" ;
25- import { UnlimitedWalletsBanner } from "../components/notices/AnnouncementBanner" ;
2625
2726const inter = interConstructor ( {
2827 subsets : [ "latin" ] ,
@@ -260,7 +259,7 @@ const ConsoleApp = memo(function ConsoleApp({
260259 />
261260
262261 < DashboardRouterTopProgressBar />
263- < UnlimitedWalletsBanner />
262+ { /* Banner goes here */ }
264263
265264 < TailwindTheme >
266265 < ChakraProvider theme = { chakraThemeWithFonts } >
You can’t perform that action at this time.
0 commit comments