Skip to content

Commit

Permalink
rename guides to learn
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Dec 19, 2024
1 parent 6997e85 commit 428dce4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use "sass:color";
@use "../../vars" as *;

.guides {
.learn {
.submenu .submenu-item-heading {
font-size: var(--type-smaller-font-size);
font-weight: initial;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { Menu } from "../menu";

import "./index.scss";

export const GuidesMenu = ({ visibleSubMenuId, toggleMenu }) => {
export const LearnMenu = ({ visibleSubMenuId, toggleMenu }) => {
const locale = useLocale();

const menu = {
id: "guides",
label: "Guides",
id: "learn",
label: "Learn",
to: `/${locale}/docs/Learn_web_development`,
items: [
{
Expand Down
4 changes: 2 additions & 2 deletions client/src/ui/molecules/main-menu/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useRef, useState } from "react";

import { GuidesMenu } from "../guides-menu";
import { LearnMenu } from "../learn-menu";
import { ReferenceMenu } from "../reference-menu";
import { PlusMenu } from "../plus-menu";

Expand Down Expand Up @@ -71,7 +71,7 @@ export default function MainMenu({ isOpenOnMobile }) {
visibleSubMenuId={visibleSubMenuId}
toggleMenu={toggleMenu}
/>
<GuidesMenu
<LearnMenu
visibleSubMenuId={visibleSubMenuId}
toggleMenu={toggleMenu}
/>
Expand Down

0 comments on commit 428dce4

Please sign in to comment.