Skip to content

Commit

Permalink
📝 Link to main documentation site
Browse files Browse the repository at this point in the history
  • Loading branch information
agmangas committed Nov 27, 2024
1 parent ea521b1 commit f821250
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 147 deletions.
2 changes: 0 additions & 2 deletions moderate_ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import { FooterLinks } from "./components/FooterLinks";
import { HeaderMegaMenu } from "./components/HeaderMegaMenu";
import { Catalogue } from "./pages/Catalogue";
import { Homepage } from "./pages/Homepage";
import { ToolsCatalogue } from "./pages/ToolsCatalogue";
import { AssetObjectExploratoryDashboard } from "./pages/asset-objects/ExploratoryDashboard";
import { AssetObjectShow } from "./pages/asset-objects/Show";
import { AssetCreate, AssetEdit, AssetList, AssetShow } from "./pages/assets";
Expand Down Expand Up @@ -198,7 +197,6 @@ function App() {
/>
</Route>
<Route path="/catalogue" element={<Catalogue />} />
<Route path="/tools" element={<ToolsCatalogue />} />
</Route>
<Route element={<HeaderFluidContainerRouteParent />}>
<Route path="" element={<Homepage />} />
Expand Down
14 changes: 10 additions & 4 deletions moderate_ui/src/components/HeaderMegaMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
import {
IconBox,
IconChevronDown,
IconExternalLink,
IconFileSearch,
IconTimeline,
IconUser,
Expand Down Expand Up @@ -229,8 +230,13 @@ export function HeaderMegaMenu() {
<Link className={classes.link} to="/catalogue">
{t("nav.catalogue", "Catalogue")}
</Link>
<Link className={classes.link} to="/tools">
{t("nav.tools", "Tools")}
<Link
className={classes.link}
to="https://moderate-project.github.io/moderate-docs/tools-and-services/"
target="_blank"
>
<IconExternalLink size={16} /> &nbsp;
{t("nav.tools", "Tools & Services")}
</Link>
</>
);
Expand Down Expand Up @@ -269,7 +275,7 @@ export function HeaderMegaMenu() {
<a href="#" className={classes.link}>
<Center inline>
<Box component="span" mr={5}>
{t("nav.platformFeatures", "Features & Workflows")}
{t("nav.platformFeatures", "Platform Features")}
</Box>
<IconChevronDown
size={16}
Expand All @@ -282,7 +288,7 @@ export function HeaderMegaMenu() {
<HoverCard.Dropdown sx={{ overflow: "hidden" }}>
<Group position="apart" px="md">
<Text weight={500}>
{t("nav.platformFeatures", "Features & Workflows")}
{t("nav.platformFeatures", "Platform Features")}
</Text>
</Group>

Expand Down
141 changes: 0 additions & 141 deletions moderate_ui/src/pages/ToolsCatalogue.tsx

This file was deleted.

0 comments on commit f821250

Please sign in to comment.