diff --git a/src/components/Header.js b/src/components/Header.js index 6bf318d..cd2ad22 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -180,46 +180,52 @@ export default function Header(props) { }; const IeeeGlobalLink = ()=>{ const globalSocietyLink = [ - { - hash : "#/", - jsxElement : - }, + { hash : "#/society/cs", - jsxElement : + link : "https://www.computer.org" }, { hash : "#/society/comsoc", - jsxElement : + link : "https://www.comsoc.org" }, { hash : "#/society/pes", - jsxElement : + link : "http://www.ieee-pes.org" }, { hash : "#/society/sps", - jsxElement : + link : "https://signalprocessingsociety.org/" }, { hash : "#/society/aps", - jsxElement : + link : "https://ieeeaps.org" }, { hash : "#/society/ras", - jsxElement : + link : "http://www.ieee-ras.org/" }, { hash : "#/society/cas", - jsxElement : + link : "https://ieee-cas.org/" }, { hash : "#/society/sc", - jsxElement : + link : "https://ieee-sensors.org" + }, + { + hash : "#/affinity/sight", + link : "https://sight.ieee.org" + }, + { + hash : "#/affinity/wie", + link : "http://wie.ieee.org/?utm_source=linkslist_text&utm_medium=lp-communities&utm_campaign=wie" } + ]; return ( <> - {globalSocietyLink.filter((obj)=>window.location.hash===obj.hash)[0].jsxElement} + window.location.hash===obj.hash)[0]?.link || "https://www.ieee.org/"} target='_blank' rel="noreferrer"> )