File tree Expand file tree Collapse file tree 4 files changed +15
-11
lines changed Expand file tree Collapse file tree 4 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 1- import {Guides } from ' @/components/Guides' ;
2- import {Resources } from ' @/components/Resources' ;
3- import {HeroPattern } from ' @/components/HeroPattern' ;
1+ import {Guides } from ' @/components/Guides'
2+ import {Resources } from ' @/components/Resources'
3+ import {HeroPattern } from ' @/components/HeroPattern'
44
55export const metadata = {
66 title: ' Iroh Documentation' ,
77 description:
88 ' Learn about Iroh and how to integrate into your own project.' ,
9- };
9+ }
1010
1111export const sections = [
1212 {title: ' Guides' , id: ' guides' },
1313 {title: ' Resources' , id: ' resources' },
14- ];
14+ ]
1515
16- <HeroPattern />;
16+ <HeroPattern />
1717
18- Iroh Documentation
18+ # Iroh Documentation
1919
2020Iroh is a protocol for syncing bytes of any size, across any number of devices. Use iroh to build smarter, more efficient apps. { {className: ' lead' }}
2121
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ Protocol SDKs
1414
1515The recommended way to interact with the Iroh is by using one of our official Software Development Kits (SDKs). { {className: ' lead' }}
1616
17- <Libraries />;
17+ <Libraries />
Original file line number Diff line number Diff line change @@ -194,8 +194,8 @@ export const navigation = [
194194 { title : 'Install' , href : '/docs/install' } ,
195195 { title : 'SDKs' , href : '/docs/sdks' } ,
196196 { title : 'Todo Example' , href : '/docs/examples/todos' } ,
197- { title : 'File System Example' , href : '/docs/examples/todos ' } ,
198- { title : 'Airdrop Example' , href : '/docs/examples/todos ' } ,
197+ { title : 'File System Example' , href : '/docs/examples/fs ' } ,
198+ { title : 'Airdrop Example' , href : '/docs/examples/airdrop ' } ,
199199 ] ,
200200 } ,
201201 { title : 'Concepts' ,
Original file line number Diff line number Diff line change @@ -12,8 +12,12 @@ export {Button} from '@/components/Button';
1212export { CodeGroup , Code as code , Pre as pre } from '@/components/Code' ;
1313import { pathLayout } from './Layout' ;
1414
15- export function Wrapper ( { children} ) {
15+ // for some silly reason this _must_ be exported as lower-case "wrapper"
16+ // which irritates the linter. Linter is disabled for the moment
17+ export function wrapper ( { children} ) {
18+ /* eslint-disable react-hooks/rules-of-hooks */
1619 const path = usePathname ( ) ;
20+
1721 switch ( pathLayout ( path ) ) {
1822 case 'docs' :
1923 return (
You can’t perform that action at this time.
0 commit comments