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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
idioma.lock linguist-generated=true -diff

content/docs/es/** linguist-generated=true -diff
**/_pages/page.es.tsx linguist-generated=true -diff
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"files.exclude": {
"**/content/docs/es/**": true,
"**/app/\\[locale\\]/**/_pages/page.es.tsx": true
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
Expand Down
30 changes: 26 additions & 4 deletions .zed/settings.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,48 @@
{
"format_on_save": "on",
"formatter": "language_server",
"file_scan_exclusions": [
"**/content/docs/es/**",
"**/app/\\[locale\\]/**/_pages/page.es.tsx"
],
"languages": {
"JavaScript": {
"format_on_save": "on",
"formatter": "language_server",
"language_servers": ["biome", "!vtsls", "!typescript-language-server", "!eslint"]
"language_servers": [
"biome",
"!vtsls",
"!typescript-language-server",
"!eslint"
]
},
"TypeScript": {
"format_on_save": "on",
"formatter": "language_server",
"language_servers": ["biome", "!vtsls", "!typescript-language-server", "!eslint"]
"language_servers": [
"biome",
"!vtsls",
"!typescript-language-server",
"!eslint"
]
},
"TSX": {
"format_on_save": "on",
"formatter": "language_server",
"language_servers": ["biome", "!vtsls", "!typescript-language-server", "!eslint"]
"language_servers": [
"biome",
"!vtsls",
"!typescript-language-server",
"!eslint"
]
},
"JSON": {
"format_on_save": "on",
"formatter": "language_server",
"language_servers": ["biome", "..."]
"language_servers": [
"biome",
"..."
]
},
"Markdown": {
"format_on_save": "on",
Expand Down
194 changes: 194 additions & 0 deletions app/[locale]/(home)/_pages/page.en.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
import { ImageZoom } from 'fumadocs-ui/components/image-zoom';
import { Braces, Database, Play } from 'lucide-react';
import { Card, Cards, SmallCard } from '@/components/card';
import {
API,
Chainhook,
Clarinet,
Clarity,
Hiro,
Js,
Ordinals,
Runes,
StacksIcon,
} from '@/components/ui/icon';
import heroImage from '@/public/stacks-hero.svg';

export default function HomePage() {
return (
<main className="my-2 space-y-10">
<div className="px-4 md:px-[var(--nav-offset)] py-6">
<div className="space-y-10">
<div className="space-y-1">
<div className="flex space-x-6 items-end">
<ImageZoom
alt="banner"
src={heroImage}
className="mt-0 mb-6 first-line:rounded-xl bg-background"
priority
/>

<div className="flex flex-col [&_p]:mb-6 space-y-3">
<h3 className="text-3xl">Welcome to Hiro Docs</h3>
<p>Find all the guides and resources you need to build on Stacks.</p>
</div>
</div>
</div>
<Cards>
<Card
className="group space-y-1"
icon={
<API className="transition-colors duration-500 ease-in-out group-hover:text-primary" />
}
href="/apis/stacks-blockchain-api"
title="Stacks API Reference"
description="Explore API endpoints for interacting with the Stacks Blockchain."
/>
<Card
className="group space-y-1"
icon={
<Play className="transition-colors duration-500 ease-in-out group-hover:text-primary" />
}
href="/resources/guides"
title="Guides"
description="Explore guides for building on Stacks."
/>
</Cards>
<div className="flex flex-col">
<h4 id="explore-by-category" className="scroll-m-20">
<a
href="#explore-by-category"
className="not-prose group text-sm text-muted-foreground uppercase"
>
Tools
</a>
</h4>
<hr className="border-t border-border my-2" />
<Cards>
<SmallCard
icon={<Clarinet />}
href="/tools/clarinet"
title="Clarinet"
description="A comprehensive development environment for building and testing Clarity smart contracts."
/>
<SmallCard
icon={<Chainhook />}
href="/tools/chainhook"
title="Chainhook"
description="Create custom event streams and triggers for real-time blockchain data processing."
/>
<SmallCard
icon={<Braces />}
href="/tools/contract-monitoring"
title="Contract Monitoring"
description="Monitor and track smart contract activity and performance metrics."
/>
<SmallCard
icon={<Database />}
href="/tools/bitcoin-indexer"
title="Bitcoin Indexer"
description="Index and query Bitcoin blockchain data with high-performance indexing."
/>
</Cards>
</div>
<div className="flex flex-col">
<h4 id="explore-by-category" className="text-muted-foreground scroll-m-20">
<a href="#explore-by-category" className="not-prose group text-sm uppercase">
APIs
</a>
</h4>
<hr className="border-t border-border my-2" />
<Cards>
<SmallCard
icon={<StacksIcon />}
href="/apis/stacks-blockchain-api"
title="Stacks Blockchain API"
description="Comprehensive REST API for interacting with the Stacks blockchain and network data."
/>
<SmallCard
icon={<API />}
href="/apis/token-metadata-api"
title="Token Metadata API"
description="Fast, reliable metadata for fungible and non-fungible tokens on Stacks."
/>
<SmallCard
icon={<Hiro />}
href="/apis/platform-api"
title="Platform API"
description="Programmatically manage devnets and chainhooks via REST interface."
/>
<SmallCard
icon={<Ordinals />}
href="/apis/ordinals-api"
title="Ordinals API"
description="Complete Bitcoin ordinals and BRC-20 token data with caching optimization."
/>
<SmallCard
icon={<Runes />}
href="/apis/runes-api"
title="Runes API"
description="Fast, reliable data for Bitcoin Runes via an easy-to-use REST interface."
/>
<SmallCard
icon={<API />}
href="/apis/signer-metrics-api"
title="Signer Metrics API"
description="Monitor and analyze signer behavior and performance on the Stacks network."
/>
</Cards>
</div>
<div className="flex flex-col">
<h4 id="explore-by-category" className="text-muted-foreground scroll-m-20">
<a href="#explore-by-category" className="not-prose group text-sm uppercase">
Libraries &amp; SDKs
</a>
</h4>
<hr className="border-t border-border my-2" />
<Cards>
<SmallCard
icon={<Js />}
href="/reference/stacks.js"
title="Stacks.js"
description="JavaScript SDK for building applications on Stacks with transactions, network utilities, and wallet integration."
/>
<SmallCard
icon={<Js />}
href="/tools/clarinet/sdk-introduction"
title="Clarinet JS SDK"
description="JavaScript SDK for testing and interacting with Clarity smart contracts in simulated environments."
/>
{/* <SmallCard
icon={<StacksIcon />}
href="/reference/stacks-blockchain-api"
title="Stacks Blockchain API Client"
description="Type-safe JavaScript client library for interacting with the Stacks Blockchain API."
/> */}
</Cards>
</div>
<div className="flex flex-col">
<h4 id="explore-by-category" className="text-muted-foreground scroll-m-20">
<a href="#explore-by-category" className="not-prose group text-sm uppercase">
Resources
</a>
</h4>
<hr className="border-t border-border my-2" />
<Cards>
<SmallCard
icon={<Clarity />}
href="/resources/clarity"
title="Clarity Reference"
description="Comprehensive guides and function reference for the Clarity smart contract language."
/>
<SmallCard
icon={<Database />}
href="/resources/archive"
title="Hiro Archive"
description="Data snapshots for quickly bootstrapping Stacks ecosystem services with pre-loaded data."
/>
</Cards>
</div>
</div>
</div>
</main>
);
}
Loading
Loading