Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
3 changes: 0 additions & 3 deletions src/front-end/typescript/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
Expand Down
9 changes: 1 addition & 8 deletions src/front-end/typescript/lib/app/view/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
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,
emailDest,
externalDest,
iconLinkSymbol,
leftPlacement,
rightPlacement,
routeDest
} from "front-end/lib/views/link";
import Separator from "front-end/lib/views/separator";
Expand Down Expand Up @@ -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<Record<string, never>> = () => {
Expand Down
13 changes: 0 additions & 13 deletions src/front-end/typescript/lib/app/view/index.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -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";
Expand Down Expand Up @@ -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<State>): Nav.Props["accountMenus"] {
const sessionUser = state.shared.session && state.shared.session.user;
Expand All @@ -697,7 +688,6 @@ function navAccountMenus(state: Immutable<State>): Nav.Props["accountMenus"] {
}),
Nav.linkAccountAction(signOutLink)
],
[Nav.linkAccountAction(procurementConciergeLink)]
]),
desktop: Nav.authenticatedDesktopAccountMenu({
text: userIdentifier,
Expand Down Expand Up @@ -726,9 +716,6 @@ function navAccountMenus(state: Immutable<State>): Nav.Props["accountMenus"] {
{
links: [signOutLink]
},
{
links: [procurementConciergeLink]
}
]
})
};
Expand Down
Loading