diff --git a/_data/settings/main-menu.yml b/_data/settings/main-menu.yml index a6c89d71a6..e8532b1c77 100644 --- a/_data/settings/main-menu.yml +++ b/_data/settings/main-menu.yml @@ -4,6 +4,9 @@ items: - blocks: - items: - page: 93b845d7-5662-4cd4-8c13-3730440880c0 + - custom_title: How Starknet Scales Ethereum + custom_internal_link: /education?chapter=scaling-eth + hide_from_footer: true - page: 1dd72e46-c830-4a44-9bdf-d62b195b4c98 - custom_title: FAQ page: b5689d3a-348b-4ccb-b787-520b64c55e41 diff --git a/workspaces/website/src/components/Breadcrumbs/Breadcrumbs.tsx b/workspaces/website/src/components/Breadcrumbs/Breadcrumbs.tsx index 062ea2df2a..57ea8dc3cf 100644 --- a/workspaces/website/src/components/Breadcrumbs/Breadcrumbs.tsx +++ b/workspaces/website/src/components/Breadcrumbs/Breadcrumbs.tsx @@ -9,7 +9,7 @@ import { } from "@chakra-ui/react"; import { HiOutlineHome } from "react-icons/hi2"; -type BreadcrumbItem = { link: string; label: string }; +type BreadcrumbItem = { link: string; label: string; isDisabled?: boolean }; type BreadcrumbsProps = { items: Array; locale: string; @@ -87,7 +87,10 @@ export const Breadcrumbs = ({ {middleItems?.map((item) => ( - + {item.label} diff --git a/workspaces/website/src/pages/education/EducationPage.tsx b/workspaces/website/src/pages/education/EducationPage.tsx index 00619ce71f..267ccb8082 100644 --- a/workspaces/website/src/pages/education/EducationPage.tsx +++ b/workspaces/website/src/pages/education/EducationPage.tsx @@ -41,6 +41,7 @@ export default function EducationPage({ chapter }: Props) { items={[ { link: `/${locale}/learn`, + isDisabled: true, label: "Learn", }, { @@ -121,13 +122,13 @@ export default function EducationPage({ chapter }: Props) { ipsum? - + {/* {["Scalability", "Roadmap", "Cairo", "Layer 2"].map((b) => ( {b} ))} - + */} }