Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { aeonik, aeonikFono, aeonikMono, inter } from '@/fonts';
import { KeyboardShortcutsProvider } from '@/hooks/use-keyboard-shortcuts';
import { ApiCredentialsProvider } from '@/providers/api-credentials-provider';
import { QueryProvider } from '@/providers/query-provider';
import { Banner } from '@/components/ui/banner';

export default function RootLayout({ children }: { children: ReactNode }) {
return (
Expand All @@ -14,6 +15,9 @@ export default function RootLayout({ children }: { children: ReactNode }) {
suppressHydrationWarning
>
<body className="flex flex-col min-h-screen" suppressHydrationWarning>
<Banner id="chainhooks-deprecation">
Hosted Chainhooks v1 and L1 APIs (Ordinals, Runes, BRC20) deprecated March 9th, please migrate now!
</Banner>
<QueryProvider>
<ApiCredentialsProvider>
<KeyboardShortcutsProvider>
Expand Down
2 changes: 1 addition & 1 deletion components/ui/banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const buttonVariants = cva(

export function Banner({
id,
cta = 'Call to Action',
cta,
url = '/',
startDate,
endDate,
Expand Down
1 change: 1 addition & 0 deletions tsconfig.tsbuildinfo

Large diffs are not rendered by default.

Loading