Skip to content

Commit

Permalink
add hacks to sidebar nav
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwaits committed Nov 30, 2023
1 parent a0039ae commit bc5c203
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 11 deletions.
32 changes: 29 additions & 3 deletions sidebars/hacks.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = [
{
type: 'category',
label: 'Home',
label: 'Back',
type: 'link',
href: '/',
className: 'back-link'
Expand All @@ -14,7 +14,33 @@ module.exports = [
},
{
type: 'doc',
label: 'Overview',
id: 'ordinals-api/overview',
label: 'Getting Started',
id: 'hiro-hacks',
},
{
type: 'html',
value: 'Hacks',
className: 'section-title',
defaultStyle: true,
},
{
type: 'category',
label: 'Build a Friend.tech Clone',
items: [
'hacks/build-a-friend-tech-clone/getting-started',
'hacks/build-a-friend-tech-clone/create-the-contracts',
'hacks/build-a-friend-tech-clone/build-the-frontend',
'hacks/build-a-friend-tech-clone/handle-the-messaging',
],
},
// {
// type: 'doc',
// label: 'Build a Decentralized Grants Program',
// id: 'hacks/build-a-decentralized-grants-program',
// },
// {
// type: 'doc',
// label: 'Build a Custom API using Chainhook',
// id: 'hacks/build-a-custom-api-using-chainhook',
// },
]
2 changes: 1 addition & 1 deletion sidebars/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

module.exports = {
'docs': rootSidebar,
// 'hacks': hacksSidebar, // TODO: add back in when we have content
'hacks': hacksSidebar,
'platform': platformSidebar,
'ordinals-explorer': ordinalsExplorerSidebar,
'ordinals-api': ordinalsApiSidebar,
Expand Down
20 changes: 13 additions & 7 deletions sidebars/root.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
module.exports = [
'intro',
// {
// type: 'category',
// label: 'Hiro Hacks',
// type: 'link',
// href: 'hiro-hacks'
// },
{
type: 'category',
label: 'Home',
type: 'link',
href: '/',
className: 'hidden'
},
{
type: 'category',
label: 'Hiro Hacks',
type: 'link',
href: 'hacks',
},
{
type: 'html',
value: 'Tools',
Expand Down

0 comments on commit bc5c203

Please sign in to comment.