diff --git a/README.md b/README.md index 6022da892..7a38f976f 100644 --- a/README.md +++ b/README.md @@ -411,4 +411,4 @@ The Digital Marketplace is currently operated by the Procurement Services Branch ## Credits -This project would not have been possible by the incredible work done by open source project maintainers. The licenses for open source projects used by the Procurement Concierge Program's web app are documented in `docs/open-source-licenses.txt`. +This project would not have been possible by the incredible work done by open source project maintainers. The licenses for open source projects used are documented in `docs/open-source-licenses.txt`. \ No newline at end of file diff --git a/src/front-end/typescript/config.ts b/src/front-end/typescript/config.ts index 42aa8f41a..a850323f9 100644 --- a/src/front-end/typescript/config.ts +++ b/src/front-end/typescript/config.ts @@ -18,9 +18,6 @@ export const FORM_FIELD_DEBOUNCE_DURATION = 500; //ms export const SEARCH_DEBOUNCE_DURATION = 200; //ms -export const PROCUREMENT_CONCIERGE_URL = - "https://procurementconcierge.gov.bc.ca"; - export const DEFAULT_USER_AVATAR_IMAGE_PATH = prefixPath( "/images/default_user_avatar.svg" ); diff --git a/src/front-end/typescript/lib/app/view/footer.tsx b/src/front-end/typescript/lib/app/view/footer.tsx index c460d8c2e..5d8026b70 100644 --- a/src/front-end/typescript/lib/app/view/footer.tsx +++ b/src/front-end/typescript/lib/app/view/footer.tsx @@ -1,4 +1,4 @@ -import { PROCUREMENT_CONCIERGE_URL, SOURCE_CODE_URL } from "front-end/config"; +import { SOURCE_CODE_URL } from "front-end/config"; import { component } from "front-end/lib/framework"; import Link, { AnchorProps, @@ -6,7 +6,6 @@ import Link, { externalDest, iconLinkSymbol, leftPlacement, - rightPlacement, routeDest } from "front-end/lib/views/link"; import Separator from "front-end/lib/views/separator"; @@ -50,12 +49,6 @@ const links: AnchorProps[] = [ newTab: true, symbol_: leftPlacement(iconLinkSymbol("github")) }, - { - children: "Procurement Concierge", - dest: externalDest(PROCUREMENT_CONCIERGE_URL), - newTab: true, - symbol_: rightPlacement(iconLinkSymbol("external-link")) - } ]; const Footer: component.base.View> = () => { diff --git a/src/front-end/typescript/lib/app/view/index.tsx b/src/front-end/typescript/lib/app/view/index.tsx index d414ab509..eacbd6c33 100644 --- a/src/front-end/typescript/lib/app/view/index.tsx +++ b/src/front-end/typescript/lib/app/view/index.tsx @@ -1,6 +1,5 @@ import { DEFAULT_USER_AVATAR_IMAGE_PATH, - PROCUREMENT_CONCIERGE_URL } from "front-end/config"; import { fileBlobPath, prefixPath } from "front-end/lib"; import getAppModal from "front-end/lib/app/modal"; @@ -67,11 +66,9 @@ import * as PageUserProfile from "front-end/lib/pages/user/profile"; import { ThemeColor } from "front-end/lib/types"; import Icon, { AvailableIcons } from "front-end/lib/views/icon"; import Link, { - externalDest, iconLinkSymbol, imageLinkSymbol, leftPlacement, - rightPlacement, routeDest } from "front-end/lib/views/link"; import { compact } from "lodash"; @@ -665,12 +662,6 @@ const signOutLink: Nav.NavLink = { symbol_: leftPlacement(iconLinkSymbol("sign-out")) }; -const procurementConciergeLink: Nav.NavLink = { - children: "Procurement Concierge", - dest: externalDest(PROCUREMENT_CONCIERGE_URL), - newTab: true, - symbol_: rightPlacement(iconLinkSymbol("external-link")) -}; function navAccountMenus(state: Immutable): Nav.Props["accountMenus"] { const sessionUser = state.shared.session && state.shared.session.user; @@ -697,7 +688,6 @@ function navAccountMenus(state: Immutable): Nav.Props["accountMenus"] { }), Nav.linkAccountAction(signOutLink) ], - [Nav.linkAccountAction(procurementConciergeLink)] ]), desktop: Nav.authenticatedDesktopAccountMenu({ text: userIdentifier, @@ -726,9 +716,6 @@ function navAccountMenus(state: Immutable): Nav.Props["accountMenus"] { { links: [signOutLink] }, - { - links: [procurementConciergeLink] - } ] }) };