10
+ ? 'd-flex flex-row '
+ : 'd-flex flex-column '
+ }
+ >
+ {/* iterate over sub menus like omnichannels, devops, GSoC, GSoD */}
+ {nav_item.sub_menus.map(
+ (item) =>
+ item.parent_id < 1 && (
+
+
+ {/*if submenus contain more sub menus */}
+ {nav_item.sub_menus.map(
+ (subItem) =>
+ subItem.parent_id === item.id && (
+
+ )
+ )}
+
+ )
+ )}
+