mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
docs: refresh screenshots, trim feature docs, and drop the New Repo sidebar CTA (#363)
This commit is contained in:
1 parent
be6c4108a6
commit
702e3c4e13
49 files changed
+26
-55
No files matched your search
@@ -39,6 +39,7 @@ export function DesktopSidebar() {
|
||||
}
|
||||
|
||||
const { primary, items } = buildNavModel(location.pathname)
|
||||
const desktopPrimary = primary.filter((item) => item.key !== 'new-repo')
|
||||
|
||||
const handlePrimaryClick = (item: NavPrimaryCta) => {
|
||||
if (item.to) {
|
||||
@@ -84,9 +85,9 @@ export function DesktopSidebar() {
|
||||
return (
|
||||
<>
|
||||
<Sidebar collapsed={collapsed} onToggle={toggle} widthClass='w-72' className='mt-2'>
|
||||
{primary.length > 0 && (
|
||||
{desktopPrimary.length > 0 && (
|
||||
<SidebarSection collapsed={collapsed}>
|
||||
{primary.map((item: NavPrimaryCta) => (
|
||||
{desktopPrimary.map((item: NavPrimaryCta) => (
|
||||
<SidebarItem
|
||||
key={item.key}
|
||||
icon={item.icon}
|
||||
|
||||
Reference in new issue
Block a user