Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix: add the lost desktop community skill page (#13170)

LiJian1df02300bc11
diff --git a/src/spa/router/desktopRouter.config.desktop.tsx b/src/spa/router/desktopRouter.config.desktop.tsx
index 83be7b6d19f..c0bf10c2557 100644
--- a/src/spa/router/desktopRouter.config.desktop.tsx
+++ b/src/spa/router/desktopRouter.config.desktop.tsx
@@ -26,6 +26,7 @@ import CommunityDetailGroupAgentPage from '@/routes/(main)/community/(detail)/gr
import CommunityDetailMcpPage from '@/routes/(main)/community/(detail)/mcp';
import CommunityDetailModelPage from '@/routes/(main)/community/(detail)/model';
import CommunityDetailProviderPage from '@/routes/(main)/community/(detail)/provider';
+import CommunityDetailSkillPage from '@/routes/(main)/community/(detail)/skill';
import CommunityDetailUserPage from '@/routes/(main)/community/(detail)/user';
import CommunityListLayout from '@/routes/(main)/community/(list)/_layout';
import CommunityListHomePage from '@/routes/(main)/community/(list)/(home)';
@@ -36,6 +37,8 @@ import CommunityListMcpLayout from '@/routes/(main)/community/(list)/mcp/_layout
import CommunityListModelPage from '@/routes/(main)/community/(list)/model';
import CommunityListModelLayout from '@/routes/(main)/community/(list)/model/_layout';
import CommunityListProviderPage from '@/routes/(main)/community/(list)/provider';
+import CommunityListSkillPage from '@/routes/(main)/community/(list)/skill';
+import CommunityListSkillLayout from '@/routes/(main)/community/(list)/skill/_layout';
import EvalOverviewPage from '@/routes/(main)/eval';
import EvalLayout from '@/routes/(main)/eval/_layout';
import EvalHomeLayout from '@/routes/(main)/eval/(home)/_layout';
@@ -164,6 +167,16 @@ export const desktopRoutes: RouteObject[] = [
element: <CommunityListProviderPage />,
path: 'provider',
},
+ {
+ children: [
+ {
+ element: <CommunityListSkillPage />,
+ index: true,
+ },
+ ],
+ element: <CommunityListSkillLayout />,
+ path: 'skill',
+ },
{
children: [
{
@@ -200,6 +213,10 @@ export const desktopRoutes: RouteObject[] = [
element: <CommunityDetailProviderPage />,
path: 'provider/:slug',
},
+ {
+ element: <CommunityDetailSkillPage />,
+ path: 'skill/:slug',
+ },
{
element: <CommunityDetailMcpPage />,
path: 'mcp/:slug',