's'
This commit is contained in:
@@ -42,7 +42,9 @@ function getData() {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
...category,
|
...category,
|
||||||
items: category.items?.filter(item => item.enabled !== false), // 过滤启用的网站
|
// items: category.items?.filter(item => item.enabled !== false), // 过滤启用的网站
|
||||||
|
items: category.items?.filter((item: any) => item.enabled !== false),
|
||||||
|
|
||||||
subCategories: filteredSubCategories
|
subCategories: filteredSubCategories
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -144,7 +144,9 @@ export function NavigationContent({ navigationData, siteData }: NavigationConten
|
|||||||
/> */}
|
/> */}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-1">
|
|
||||||
|
{/* 右上角小组件 */}
|
||||||
|
{/* <div className="flex items-center gap-1">
|
||||||
<ModeToggle />
|
<ModeToggle />
|
||||||
<Link
|
<Link
|
||||||
href="https://github.com/tianyaxiang/NavSphere"
|
href="https://github.com/tianyaxiang/NavSphere"
|
||||||
@@ -197,6 +199,7 @@ export function NavigationContent({ navigationData, siteData }: NavigationConten
|
|||||||
<Menu className="h-5 w-5" />
|
<Menu className="h-5 w-5" />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
*/}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -110,4 +110,14 @@
|
|||||||
],
|
],
|
||||||
"description": "",
|
"description": "",
|
||||||
"enabled": true
|
"enabled": true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
"id": "1761725058asdaqwesadadaqwq490",
|
||||||
|
"title": "运营笔记",
|
||||||
|
"href": "https://nomadyt.com/",
|
||||||
|
"description": "油管运营笔记",
|
||||||
|
"icon": "/assets/images/logos/ytGPT.png",
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
@@ -320,14 +320,6 @@
|
|||||||
"description": "刷粉刷量平台",
|
"description": "刷粉刷量平台",
|
||||||
"icon": "/assets/images/logos/qqtube.png",
|
"icon": "/assets/images/logos/qqtube.png",
|
||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "1761725058asdaqwesadadaqwq490",
|
|
||||||
"title": "运营笔记",
|
|
||||||
"href": "https://nomadyt.com/",
|
|
||||||
"description": "油管运营笔记",
|
|
||||||
"icon": "/assets/images/logos/ytGPT.png",
|
|
||||||
"enabled": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"basic": {
|
"basic": {
|
||||||
"title": "数字游民导航",
|
"title": "游民导航",
|
||||||
"description": "数字游民导航",
|
"description": "游民导航",
|
||||||
"keywords": "数字游民导航"
|
"keywords": "游民导航"
|
||||||
},
|
},
|
||||||
"appearance": {
|
"appearance": {
|
||||||
"logo": "/assets/images/nomadro.png",
|
"logo": "/assets/images/nomadro.png",
|
||||||
|
|||||||
Reference in New Issue
Block a user