Skip to content

Commit

Permalink
feat: MCP market
Browse files Browse the repository at this point in the history
  • Loading branch information
Kadxy committed Jan 9, 2025
1 parent 0c14ce6 commit 7d51bfd
Show file tree
Hide file tree
Showing 14 changed files with 1,607 additions and 30 deletions.
12 changes: 10 additions & 2 deletions app/components/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require("../polyfill");

import { useState, useEffect } from "react";
import { useEffect, useState } from "react";
import styles from "./home.module.scss";

import BotIcon from "../icons/bot.svg";
Expand All @@ -18,8 +18,8 @@ import { getISOLang, getLang } from "../locales";

import {
HashRouter as Router,
Routes,
Route,
Routes,
useLocation,
} from "react-router-dom";
import { SideBar } from "./sidebar";
Expand Down Expand Up @@ -74,6 +74,13 @@ const Sd = dynamic(async () => (await import("./sd")).Sd, {
loading: () => <Loading noLogo />,
});

const McpMarketPage = dynamic(
async () => (await import("./mcp-market")).McpMarketPage,
{
loading: () => <Loading noLogo />,
},
);

export function useSwitchTheme() {
const config = useAppConfig();

Expand Down Expand Up @@ -193,6 +200,7 @@ function Screen() {
<Route path={Path.SearchChat} element={<SearchChat />} />
<Route path={Path.Chat} element={<Chat />} />
<Route path={Path.Settings} element={<Settings />} />
<Route path={Path.McpMarket} element={<McpMarketPage />} />
</Routes>
</WindowContent>
</>
Expand Down
Loading

0 comments on commit 7d51bfd

Please sign in to comment.