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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Documentation for Hiro Systems PBC. Built with [Fumadocs](https://fumadocs.verce
Example structure:

```
/tools/clarinet/
/tools/example-tool/
├── Overview/ # Introduction and setup
├── Clarinet CLI/ # Command-line features
├── Clarinet JS SDK/ # Testing and programmatic usage
├── CLI/ # Command-line features
├── SDK/ # Testing and programmatic usage
└── Integrations/ # External connections
```

Expand Down
58 changes: 10 additions & 48 deletions app/[locale]/(home)/_pages/page.en.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
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 { API, Chainhook, Hiro, Ordinals, Runes, StacksIcon } from '@/components/ui/icon';
import heroImage from '@/public/stacks-hero.svg';

export default function HomePage() {
Expand Down Expand Up @@ -65,12 +55,6 @@ export default function HomePage() {
</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"
Expand Down Expand Up @@ -140,44 +124,22 @@ export default function HomePage() {
<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
Resources
</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."
icon={<Play />}
href="/resources/guides"
title="Guides"
description="Step-by-step walkthroughs for building on Bitcoin layers."
/>
<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."
icon={<Braces />}
href="/resources/snippets"
title="Snippets"
description="Reusable code examples for common Stacks and Bitcoin tasks."
/>
<SmallCard
icon={<Database />}
Expand Down
60 changes: 10 additions & 50 deletions app/[locale]/(home)/_pages/page.es.tsx

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 11 additions & 28 deletions app/[locale]/(home)/reference/_pages/page.en.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Cards, IndexCard } from '@/components/card';
import { Js } from '@/components/ui/icon';
import Link from 'next/link';

export default function ReferencePage() {
return (
Expand All @@ -10,32 +9,16 @@ export default function ReferencePage() {
<h3 className="text-3xl">Libraries &amp; SDKs</h3>
<hr className="border-t border-border mt-8" />
</div>
<Cards>
<IndexCard
icon={<Js />}
href="/reference/stacks.js"
title="Stacks.js"
description="JavaScript SDK for building applications on Stacks with transactions, network utilities, and wallet integration."
/>
<IndexCard
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."
/>
<IndexCard
icon={<Js />}
href="/tools/clarinet/browser-sdk-reference"
title="Clarinet JS Browser SDK"
description="JavaScript SDK for interacting with the simnet in web browsers."
/>
{/* <IndexCard
icon={<API />}
href="/reference/stacks-blockchain-api"
title="Stacks Blockchain API Client"
description="Type-safe JavaScript client library for interacting with the Stacks Blockchain API."
/> */}
</Cards>
<p className="text-sm text-muted-foreground">
Looking for SDK documentation? Visit{' '}
<Link
href="https://docs.stacks.co/reference"
className="text-primary underline underline-offset-4"
>
docs.stacks.co/reference
</Link>{' '}
for the latest resources.
</p>
</div>
</div>
</main>
Expand Down
42 changes: 11 additions & 31 deletions app/[locale]/(home)/reference/_pages/page.es.tsx

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions app/[locale]/(home)/resources/_pages/page.en.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Code, Database, Terminal } from 'lucide-react';
import { Cards, IndexCard } from '@/components/card';
import { Clarity } from '@/components/ui/icon';

export default function ResourcesPage() {
return (
Expand All @@ -12,12 +11,6 @@ export default function ResourcesPage() {
<hr className="border-t border-border mt-8" />
</div>
<Cards>
<IndexCard
icon={<Clarity />}
href="/resources/clarity"
title="Clarity Reference"
description="Comprehensive guides and function reference for the Clarity smart contract language."
/>
<IndexCard
icon={<Terminal />}
href="/resources/guides"
Expand Down
8 changes: 0 additions & 8 deletions app/[locale]/(home)/resources/_pages/page.es.tsx

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions app/[locale]/(home)/tools/_pages/page.en.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Brackets, Database } from 'lucide-react';
import { Cards, IndexCard } from '@/components/card';
import { Chainhook, Clarinet } from '@/components/ui/icon';
import { Chainhook } from '@/components/ui/icon';

export default function ToolsPage() {
return (
Expand All @@ -12,12 +12,6 @@ export default function ToolsPage() {
<hr className="border-t border-border mt-8" />
</div>
<Cards>
<IndexCard
href="/tools/clarinet"
title="Clarinet"
icon={<Clarinet />}
description="A comprehensive development environment for building and testing Clarity smart contracts."
/>
<IndexCard
href="/tools/chainhook"
title="Chainhook"
Expand Down
9 changes: 1 addition & 8 deletions app/[locale]/(home)/tools/_pages/page.es.tsx

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading