Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 9da847c

Browse files
committed
Change in menu routes
1 parent 1c7e2fb commit 9da847c

File tree

4 files changed

+37
-13
lines changed

4 files changed

+37
-13
lines changed

src/assets/images/angularjs.svg

Lines changed: 5 additions & 0 deletions
Loading

src/assets/images/reactjs.svg

Lines changed: 1 addition & 0 deletions
Loading

src/components/AllAppsMenu/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const AllAppsMenu = () => {
4848
<div className="all-apps-menu-popover">
4949
<div className="all-apps-menu-popover-arrow" />
5050
<div className="all-apps-menu-popover-content">
51-
<div className="all-apps-menu-list-title">ALL APPS</div>
51+
<div className="all-apps-menu-list-title">Micro Frontend</div>
5252
<ul className="all-apps-menu-list">
5353
{APPS.map((app) => (
5454
<li key={app.path}>

src/constants/apps.js

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Config for the All Apps menu.
33
*/
4+
import appReactIcon from "../assets/images/reactjs.svg";
5+
import appAngularIcon from "../assets/images/angularjs.svg";
46
import appTaasIcon from "../assets/images/app-taas.svg";
57
import appSkillSearchIcon from "../assets/images/app-skill-search.svg";
68
import appProjectsIcon from "../assets/images/app-projects.svg";
@@ -9,32 +11,48 @@ import appName1Icon from "../assets/images/app-name-1.svg";
911
import appName2Icon from "../assets/images/app-name-2.svg";
1012

1113
export const APPS = [
14+
{
15+
title: "React Example",
16+
icon: appReactIcon,
17+
path: "/micro-frontends-react-route",
18+
menu: [
19+
{ title: "Home", path: "/micro-frontends-react-route" },
20+
],
21+
},
22+
{
23+
title: "Angular Example",
24+
icon: appAngularIcon,
25+
path: "/micro-frontends-angular-route",
26+
menu: [
27+
{ title: "Home", path: "/micro-frontends-angular-route" },
28+
],
29+
},
1230
{
1331
title: "TaaS",
1432
icon: appTaasIcon,
15-
path: "/micro-frontends-react-route",
33+
path: "/taas",
1634
menu: [
17-
{ title: "My Teams", path: "/micro-frontends-react-route/myteam" },
18-
{ title: "Feedback", path: "/micro-frontends-react-route/feedback" },
19-
{ title: "Invoices", path: "/micro-frontends-react-route/invoices" },
20-
{ title: "Reports", path: "/micro-frontends-react-route/reports" },
35+
{ title: "My Teams", path: "/taas/myteam" },
36+
{ title: "Feedback", path: "/taas/feedback" },
37+
{ title: "Invoices", path: "/taas/invoices" },
38+
{ title: "Reports", path: "/taas/reports" },
2139
],
2240
},
2341
{
2442
title: "Skill Search",
2543
icon: appSkillSearchIcon,
26-
path: "/micro-frontends-angular-route",
44+
path: "/skills-search",
2745
menu: [
28-
{ title: "Search", path: "/micro-frontends-angular-route" },
46+
{ title: "Search", path: "/skills-search" },
2947
{
3048
title: "Group",
3149
children: [
32-
{ title: "Development", path: "/micro-frontends-angular-route/group/development" },
33-
{ title: "Design", path: "/micro-frontends-angular-route/group/design" },
34-
{ title: "Q&A", path: "/micro-frontends-angular-route/group/qa" },
50+
{ title: "Development", path: "/skills-search/group/development" },
51+
{ title: "Design", path: "/skills-search/group/design" },
52+
{ title: "Q&A", path: "/skills-search/group/qa" },
3553
],
3654
},
37-
{ title: "Data Import", path: "/micro-frontends-angular-route/data-import" },
55+
{ title: "Data Import", path: "/skills/data-import" },
3856
],
3957
},
4058
{
@@ -86,5 +104,5 @@ export const APPS = [
86104
},
87105
{ title: "App Name Page", path: "/app-path-2/page" },
88106
],
89-
},
107+
}
90108
];

0 commit comments

Comments
 (0)