Skip to content

Commit 6661364

Browse files
bernatfpclaude
andcommitted
docs: restructure documentation hierarchy and content
- Replace getting-started and concepts with new structure: - Overview (with Brasa Protocol, stFOGO, Unstaking & Fees subsections) - Developers (with source code, program addresses) - Security & Audits (with SPL audit info, bug bounty program) - Legal (terms of service) - Media Kit (with download link) - Add comprehensive content for all sections based on product requirements - Create GitHubIcon component for developer section - Update home page to match new documentation structure - Configure all top-level sections as collapsed with breadcrumbs disabled - Add asIndexPage support for Overview section 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b834d29 commit 6661364

File tree

19 files changed

+451
-820
lines changed

19 files changed

+451
-820
lines changed

components/icons/GitHubIcon.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import React from 'react'
2+
3+
interface GitHubIconProps {
4+
className?: string
5+
}
6+
7+
export function GitHubIcon({ className = 'w-6 h-6' }: GitHubIconProps) {
8+
return (
9+
<svg viewBox="0 0 16 16" fill="currentColor" className={className} aria-hidden="true">
10+
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.19 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z" />
11+
</svg>
12+
)
13+
}

components/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { GitHubIcon } from './GitHubIcon'

content/_meta.ts

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
export default {
22
index: 'Home',
3-
'getting-started': 'Getting Started',
4-
concepts: 'Concepts',
3+
overview: {
4+
theme: {
5+
collapsed: true,
6+
},
7+
title: 'Overview',
8+
},
9+
developers: {
10+
theme: {
11+
collapsed: true,
12+
breadcrumb: false,
13+
},
14+
title: 'Developers',
15+
},
16+
'security-audits': {
17+
theme: {
18+
collapsed: true,
19+
breadcrumb: false,
20+
},
21+
title: 'Security & Audits',
22+
},
23+
legal: {
24+
theme: {
25+
collapsed: true,
26+
breadcrumb: false,
27+
},
28+
title: 'Legal',
29+
},
30+
'media-kit': {
31+
theme: {
32+
collapsed: true,
33+
breadcrumb: false,
34+
},
35+
title: 'Media Kit',
36+
},
537
}

content/concepts/_meta.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

content/concepts/what-is-brasa.mdx

Lines changed: 0 additions & 218 deletions
This file was deleted.

content/developers.mdx

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
import { Cards } from 'nextra/components'
2+
import { GitHubIcon } from '@/components/icons'
3+
4+
# Developers
5+
6+
Developers can integrate with Brasa through the SPL Stake Pool deployment on
7+
Fogo. stFOGO is implemented as a standard SPL Token, making it compatible with
8+
existing Solana tooling and infrastructure.
9+
10+
## Source Code
11+
12+
Fogo's Stake Pool deployment is a fork of the canonical SPL Stake Pool program
13+
with modifications to support the Fogo blockchain and its features. The source
14+
code and SDKs are available on GitHub:
15+
16+
<Cards>
17+
<Cards.Card
18+
icon={<GitHubIcon />}
19+
title="Fogo Stake Pool"
20+
href="https://github.com/Firstset/stake-pool-fogo"
21+
arrow
22+
target="_blank"
23+
/>
24+
</Cards>
25+
26+
## Program Addresses
27+
28+
### Testnet
29+
30+
| Component | Address |
31+
| ---------------------- | ---------------------------------------------- |
32+
| SPL Stake Pool Program | `SPRe2ae9JQhySheYsSANX6M8tUZLt5bQonnBJ6Wu6Ud` |
33+
| Brasa Pool | `4yoj9HDiL2pujuh2ME5MJJ6roLseTAkFqLmA4SrG7Yi9` |
34+
| stFOGO Mint | `6FzCV3CDRh7fkxdsJgevtVxU9t5bZ6jiJVYUNCk8eVU7` |
35+
36+
### Mainnet
37+
38+
| Component | Address |
39+
| ---------------------- | ------- |
40+
| SPL Stake Pool Program | TBD |
41+
| Brasa Pool | TBD |
42+
| stFOGO Mint | TBD |

content/getting-started/_meta.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)