Skip to content

Commit d998a5b

Browse files
authored
fix: remove bitcoin l1 docs, chainhooks banners (#1141)
* remove 1st banner * remove ordinals and runes docs * use new openapi specs * remove bitcoin indexer
1 parent a11caa5 commit d998a5b

133 files changed

Lines changed: 29 additions & 4656 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/[locale]/(home)/_pages/page.en.tsx

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ImageZoom } from 'fumadocs-ui/components/image-zoom';
22
import { Braces, Database, Play } from 'lucide-react';
33
import { Card, Cards, SmallCard } from '@/components/card';
4-
import { API, Chainhook, Hiro, Ordinals, Runes, StacksIcon } from '@/components/ui/icon';
4+
import { API, Chainhook, Hiro, StacksIcon } from '@/components/ui/icon';
55
import heroImage from '@/public/stacks-hero.svg';
66

77
export default function HomePage() {
@@ -68,12 +68,6 @@ export default function HomePage() {
6868
title="Contract Monitoring"
6969
description="Monitor and track smart contract activity and performance metrics."
7070
/>
71-
<SmallCard
72-
icon={<Database />}
73-
href="/tools/bitcoin-indexer"
74-
title="Bitcoin Indexer"
75-
description="Index and query Bitcoin blockchain data with high-performance indexing."
76-
/>
7771
</Cards>
7872
</div>
7973
<div className="flex flex-col">
@@ -115,18 +109,6 @@ export default function HomePage() {
115109
title="Platform API"
116110
description="Programmatically manage devnets and chainhooks via REST interface."
117111
/>
118-
<SmallCard
119-
icon={<Ordinals />}
120-
href="/apis/ordinals-api"
121-
title="Ordinals API"
122-
description="Complete Bitcoin ordinals and BRC-20 token data with caching optimization."
123-
/>
124-
<SmallCard
125-
icon={<Runes />}
126-
href="/apis/runes-api"
127-
title="Runes API"
128-
description="Fast, reliable data for Bitcoin Runes via an easy-to-use REST interface."
129-
/>
130112
<SmallCard
131113
icon={<API />}
132114
href="/apis/signer-metrics-api"

app/[locale]/(home)/_pages/page.es.tsx

Lines changed: 1 addition & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/[locale]/(home)/apis/_pages/page.en.tsx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Cards, IndexCard } from '@/components/card';
2-
import { API, Chainhook, Hiro, Ordinals, Runes, StacksIcon } from '@/components/ui/icon';
2+
import { API, Chainhook, Hiro, StacksIcon } from '@/components/ui/icon';
33

44
export default function APIsPage() {
55
return (
@@ -42,20 +42,6 @@ export default function APIsPage() {
4242
title="Platform API"
4343
description="Programmatically manage devnets and chainhooks via REST interface."
4444
/>
45-
<IndexCard
46-
icon={<Ordinals />}
47-
href="/apis/ordinals-api"
48-
title="Ordinals API"
49-
tag="Bitcoin L1"
50-
description="Complete Bitcoin ordinals and BRC-20 token data with caching optimization."
51-
/>
52-
<IndexCard
53-
icon={<Runes />}
54-
href="/apis/runes-api"
55-
title="Runes API"
56-
tag="Bitcoin L1"
57-
description="Fast, reliable data for Bitcoin Runes via an easy-to-use REST interface."
58-
/>
5945
<IndexCard
6046
icon={<API />}
6147
href="/apis/signer-metrics-api"

app/[locale]/(home)/apis/_pages/page.es.tsx

Lines changed: 1 addition & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/[locale]/(home)/tools/_pages/page.en.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Brackets, Database } from 'lucide-react';
1+
import { Brackets } from 'lucide-react';
22
import { Cards, IndexCard } from '@/components/card';
33
import { Chainhook } from '@/components/ui/icon';
44

@@ -27,13 +27,6 @@ export default function ToolsPage() {
2727
tag="Stacks"
2828
description="Monitor and track smart contract activity and performance metrics."
2929
/>
30-
<IndexCard
31-
href="/tools/bitcoin-indexer"
32-
title="Bitcoin Indexer"
33-
icon={<Database />}
34-
tag="Bitcoin L1"
35-
description="Index and query Bitcoin blockchain data with high-performance indexing."
36-
/>
3730
</Cards>
3831
</div>
3932
</div>

app/[locale]/(home)/tools/_pages/page.es.tsx

Lines changed: 1 addition & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/layout.config.tsx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ export const baseOptions: BaseLayoutProps = {
3232
description: 'Monitor and analyze Clarity smart contract activity.',
3333
url: '/tools/contract-monitoring',
3434
},
35-
{
36-
text: 'Bitcoin Indexer',
37-
description: 'Indexer for Bitcoin blockchain data.',
38-
url: '/tools/bitcoin-indexer',
39-
},
4035
],
4136
},
4237
{
@@ -80,16 +75,6 @@ export const baseOptions: BaseLayoutProps = {
8075
description: 'API for accessing Hiro Platform data and functionality.',
8176
url: '/apis/platform-api',
8277
},
83-
{
84-
text: 'Ordinals API',
85-
description: 'API for Bitcoin Ordinals and inscriptions data.',
86-
url: '/apis/ordinals-api',
87-
},
88-
{
89-
text: 'Runes API',
90-
description: 'API for Bitcoin Runes data.',
91-
url: '/apis/runes-api',
92-
},
9378
{
9479
text: 'Signer Metrics API',
9580
description: 'API for accessing Signer metrics data and functionality.',

app/layout.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { aeonik, aeonikFono, aeonikMono, inter } from '@/fonts';
55
import { KeyboardShortcutsProvider } from '@/hooks/use-keyboard-shortcuts';
66
import { ApiCredentialsProvider } from '@/providers/api-credentials-provider';
77
import { QueryProvider } from '@/providers/query-provider';
8-
import { Banner } from '@/components/ui/banner';
98

109
export default function RootLayout({ children }: { children: ReactNode }) {
1110
return (
@@ -15,9 +14,6 @@ export default function RootLayout({ children }: { children: ReactNode }) {
1514
suppressHydrationWarning
1615
>
1716
<body className="flex flex-col min-h-screen" suppressHydrationWarning>
18-
<Banner id="chainhooks-deprecation">
19-
Hosted Chainhooks v1 and L1 APIs (Ordinals, Runes, BRC20) deprecated March 9th, please migrate now!
20-
</Banner>
2117
<QueryProvider>
2218
<ApiCredentialsProvider>
2319
<KeyboardShortcutsProvider>

components/layout/mobile-navigation.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ export function MobileNavigation({ isOpen = false, onClose, tree }: MobileNaviga
8383
'stacks-blockchain-api': 'Stacks Blockchain API',
8484
'token-metadata-api': 'Token Metadata API',
8585
'platform-api': 'Platform API',
86-
'ordinals-api': 'Ordinals API',
87-
'runes-api': 'Runes API',
8886
'signer-metrics-api': 'Signer Metrics API',
8987
};
9088

@@ -95,7 +93,6 @@ export function MobileNavigation({ isOpen = false, onClose, tree }: MobileNaviga
9593

9694
if (index === 1 && displaySegments[0] === 'Tools') {
9795
const toolMappings: { [key: string]: string } = {
98-
'bitcoin-indexer': 'Bitcoin Indexer',
9996
'contract-monitoring': 'Contract Monitoring',
10097
};
10198

components/search-dialog.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
ExternalLink,
88
Eye,
99
File,
10-
Layers,
1110
Package,
1211
Search,
1312
Webhook,
@@ -222,7 +221,7 @@ interface DocIndexEntry {
222221
const predefinedDocQueries = [
223222
{ id: 'q1', text: 'how to create a chainhook on the hiro platform' },
224223
{ id: 'q2', text: 'how can i query a list of the latest transactions' },
225-
{ id: 'q3', text: 'how do i bootstrap the bitcoin indexer' },
224+
{ id: 'q3', text: 'how do i monitor contract activity' },
226225
{ id: 'q4', text: 'how do i manage api keys' },
227226
];
228227

@@ -251,12 +250,6 @@ const navigateItems = [
251250
icon: Webhook,
252251
href: '/tools/chainhooks',
253252
},
254-
{
255-
id: 'bitcoin-indexer',
256-
title: 'Bitcoin Indexer',
257-
icon: Layers,
258-
href: '/tools/bitcoin-indexer',
259-
},
260253
{
261254
id: 'apis',
262255
title: 'APIs',

0 commit comments

Comments
 (0)