update footer and breadcrumbs for new pages
This commit is contained in:
+10
-1
@@ -40,8 +40,17 @@ export default function Footer(props) {
|
||||
}
|
||||
};
|
||||
|
||||
const origin =
|
||||
typeof window !== "undefined" && window.location.origin
|
||||
? window.location.origin
|
||||
: "";
|
||||
|
||||
const URL = `${origin}`;
|
||||
|
||||
const shareBodyStr =
|
||||
t("common:service-home-url") +
|
||||
// t("common:service-home-url") +
|
||||
URL +
|
||||
(locale == "cy" ? "/cy" : "") +
|
||||
(router.route == "/case" ||
|
||||
router.route == "/dnsdetails" ||
|
||||
router.route == "/myportal/case"
|
||||
|
||||
Reference in New Issue
Block a user