diff --git a/src/frontend/src/pages/CommunityPage/index.tsx b/src/frontend/src/pages/CommunityPage/index.tsx index cf188cef1..92e5e253c 100644 --- a/src/frontend/src/pages/CommunityPage/index.tsx +++ b/src/frontend/src/pages/CommunityPage/index.tsx @@ -67,7 +67,7 @@ export default function CommunityPage() { }, []); return (
-
+
Community Examples @@ -81,6 +81,9 @@ export default function CommunityPage() {
+ + Discover and learn from shared examples by the LangFlow community. We welcome new example contributions that can help our community explore new and powerful features. +
{!loadingExamples && examples.map((flow, idx) => ( diff --git a/src/frontend/src/pages/MainPage/index.tsx b/src/frontend/src/pages/MainPage/index.tsx index c60995f14..03ab98688 100644 --- a/src/frontend/src/pages/MainPage/index.tsx +++ b/src/frontend/src/pages/MainPage/index.tsx @@ -8,7 +8,16 @@ import ExtraSidebar from "../../components/ExtraSidebarComponent"; import { ReactFlowProvider } from "reactflow"; import FlowPage from "../FlowPage"; import { useContext, useEffect, useState } from "react"; -import { SunIcon, MoonIcon, BellIcon, GithubIcon, Download, Upload, Plus, Home } from "lucide-react"; +import { + SunIcon, + MoonIcon, + BellIcon, + GithubIcon, + Download, + Upload, + Plus, + Home, +} from "lucide-react"; import { TabsContext } from "../../contexts/tabsContext"; import AlertDropdown from "../../alerts/alertDropDown"; import { alertContext } from "../../contexts/alertContext"; @@ -20,58 +29,68 @@ import { FaGithub } from "react-icons/fa"; import _ from "lodash"; -import { updateFlowInDatabase, uploadFlowsToDatabase } from "../../controllers/API"; +import { + updateFlowInDatabase, + uploadFlowsToDatabase, +} from "../../controllers/API"; import { MenuBar } from "../../components/headerComponent/components/menuBar"; import { CardComponent } from "./components/cardComponent"; import { useNavigate } from "react-router-dom"; export default function HomePage() { - const { - flows, - setTabId, - downloadFlows, - uploadFlows, - addFlow, - } = useContext(TabsContext); + const { flows, setTabId, downloadFlows, uploadFlows, addFlow } = + useContext(TabsContext); useEffect(() => { setTabId(""); - }, []) + }, []); const navigate = useNavigate(); return ( -
-
- - My Projects - -
- - - -
-
-
- {flows.map((flow, idx) => ( - - ))} -
+
+
+ + + My Projects + +
+ + + +
+ + Manage your personal projects. Download or upload your complete project + collection. + +
+ {flows.map((flow, idx) => ( + + ))} +
+
); }