+
{title}
-
diff --git a/src/components/RightSidebar/MoreMenu.astro b/src/components/RightSidebar/MoreMenu.astro
deleted file mode 100644
index a8a1b9ce2..000000000
--- a/src/components/RightSidebar/MoreMenu.astro
+++ /dev/null
@@ -1,75 +0,0 @@
----
-import { COMMUNITY_INVITE_URL } from "../../consts";
-
-type Props = {
- editHref: string;
-};
-
-const { editHref } = Astro.props;
-const showMoreSection = Boolean(COMMUNITY_INVITE_URL);
----
-
-{showMoreSection && More
}
-
- {
- editHref && (
-
- )
- }
- {
- COMMUNITY_INVITE_URL && (
-
- )
- }
-
-
-
diff --git a/src/components/RightSidebar/RightSidebar.astro b/src/components/RightSidebar/RightSidebar.astro
index 95e0c6623..243a75c8f 100644
--- a/src/components/RightSidebar/RightSidebar.astro
+++ b/src/components/RightSidebar/RightSidebar.astro
@@ -1,19 +1,16 @@
---
import type { MarkdownHeading } from "astro";
import TableOfContents from "./TableOfContents";
-import MoreMenu from "./MoreMenu.astro";
type Props = {
headings: MarkdownHeading[];
- githubEditUrl: string;
};
-const { headings, githubEditUrl } = Astro.props;
+const { headings } = Astro.props;
---
diff --git a/src/components/RightSidebar/TableOfContents.tsx b/src/components/RightSidebar/TableOfContents.tsx
index df53fc25b..6064ed488 100644
--- a/src/components/RightSidebar/TableOfContents.tsx
+++ b/src/components/RightSidebar/TableOfContents.tsx
@@ -1,4 +1,3 @@
-/** @jsxImportSource react */
import type { MarkdownHeading } from "astro";
import type { FC } from "react";
import { unescape } from "html-escaper";
@@ -100,7 +99,9 @@ const TableOfContents: FC<{ headings: MarkdownHeading[] }> = ({
.map((heading) => (
diff --git a/src/components/atlas/BuildTabs.tsx b/src/components/atlas/BuildTabs.tsx
index f58114f83..b02b94c49 100644
--- a/src/components/atlas/BuildTabs.tsx
+++ b/src/components/atlas/BuildTabs.tsx
@@ -64,14 +64,14 @@ const BuildTabs: FC<{
}, []);
return (
- <>
+
handleTabChange(id, currentTabs.isTabsHaveSync)}
/>
{content}
- >
+
);
};
diff --git a/src/layouts/MainLayout.astro b/src/layouts/MainLayout.astro
index 2ef5cb343..f2bae06d5 100644
--- a/src/layouts/MainLayout.astro
+++ b/src/layouts/MainLayout.astro
@@ -1,11 +1,13 @@
---
import type { MarkdownHeading } from "astro";
import type { CollectionEntry } from "astro:content";
+
import HeadCommon from "../components/HeadCommon.astro";
import HeadSEO from "../components/HeadSEO.astro";
import PageContent from "../components/PageContent/PageContent.astro";
+import PageBreadcrumbs from "@components/PageBreadcrumbs/PageBreadcrumbs.astro";
import Navigation from "../components/LeftSidebar/Navigation.astro";
-import { GITHUB_EDIT_URL, SITE } from "../consts";
+import { SITE } from "../consts";
import { getNavigationEntries } from "src/utils/helpers/navigation/getNavigationEntries";
import SidebarHeader from "@components/LeftSidebar/SidebarHeader/SidebarHeader.astro";
import SidebarSearch from "@components/LeftSidebar/SidebarSearch/SidebarSearch.astro";
@@ -23,11 +25,8 @@ type Props = CollectionEntry<"docs">["data"] & {
const pages = await Astro.glob("../content/docs/**/*.mdx");
const currentPage = Astro.url.pathname;
const navigationEntries = getNavigationEntries(pages, currentPage);
-
const { headings, ...data } = Astro.props;
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
-const currentFile = `src/content/docs${currentPage.replace(/\/$/, "")}.md`;
-const githubEditUrl = `${GITHUB_EDIT_URL}/${currentFile}`;
const currentLang = getLanguageFromURL(currentPage);
const homeUrl = `${Astro.url.origin}/${currentLang}`;
---
@@ -54,7 +53,7 @@ const homeUrl = `${Astro.url.origin}/${currentLang}`;
{/* Search input */}
-
+