File tree Expand file tree Collapse file tree
src/sections/General/Navigation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import LogoutIcon from "./utility/LogoutIcon.js";
2222import KanvasIcon from "./utility/KanvasIcon.js" ;
2323import Layer5CloudDarkIcon from "./utility/Layer5CloudDarkIcon.svg" ;
2424import Layer5CloudLightIcon from "./utility/Layer5CloudLightIcon.svg" ;
25+ import { IoIosArrowRoundForward } from "@react-icons/all-files/io/IoIosArrowRoundForward.js" ;
2526
2627const Navigation = ( ) => {
2728 let data = useStaticQuery (
@@ -335,6 +336,33 @@ const Navigation = () => {
335336 </ li >
336337 ) ;
337338 } ) }
339+ { menu . actionItems !== undefined &&
340+ menu . actionItems . map ( ( actionItem , index ) => (
341+ ( actionItem . actionName === "Join the discussion" ?
342+ < a
343+ key = { index }
344+ href = { actionItem . actionLink }
345+ target = "_blank"
346+ className = "mobile-sub-action-item"
347+ rel = "noreferrer"
348+ >
349+ < span className = "readmore-btn" >
350+ { actionItem . actionName } < IoIosArrowRoundForward />
351+ </ span >
352+ </ a >
353+ : < Link
354+ key = { index }
355+ to = { actionItem . actionLink }
356+ partiallyActive = { true }
357+ className = "mobile-sub-action-item"
358+ >
359+ < span className = "readmore-btn" >
360+ { actionItem . actionName } < IoIosArrowRoundForward />
361+ </ span >
362+ </ Link >
363+ )
364+ ) )
365+ }
338366 </ ul >
339367 </ li >
340368 ) ) }
Original file line number Diff line number Diff line change @@ -648,6 +648,11 @@ const NavigationWrap = styled.header`
648648 .mobile-sub-menu-item {
649649 font-size: 1.1rem;
650650 }
651+ .mobile-sub-action-item {
652+ font-size: 1.1rem;
653+ padding-left: 30px;
654+ padding-top: 0.4rem;
655+ }
651656 .mobile-nested-menu {
652657 font-size: 1.1rem;
653658 margin-left: 1rem;
You can’t perform that action at this time.
0 commit comments