Skip to content

Commit

Permalink
Navigation new (#331)
Browse files Browse the repository at this point in the history
* Move navbar to new app and fix default route for sidebar

* Navbar changes to adapt to new style

* Revert some changes for now

* Add activity page
  • Loading branch information
itexpert120 authored May 30, 2024
1 parent 3a628bd commit c9f9baa
Show file tree
Hide file tree
Showing 4 changed files with 673 additions and 3 deletions.
17 changes: 16 additions & 1 deletion apps/new/widget/Index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ const config = {
},
},
blocks: {
Header: () => <Widget src="${alias_old}/widget/components.Navbar" />,
Header: () => (
<Widget
src="${config_account}/widget/components.Navbar"
props={{
routes: config.router.routes,
...props,
}}
/>
),
Footer: () => <Footer />,
},
router: {
Expand All @@ -29,6 +37,13 @@ const config = {
},
default: true,
},
activity: {
path: "${alias_old}/widget/page.feed",
blockHeight: "final",
init: {
name: "Activity",
},
},
projects: {
path: "${config_account}/widget/page.projects.Index",
blockHeight: "final",
Expand Down
Loading

0 comments on commit c9f9baa

Please sign in to comment.