diff --git a/services/core-web/src/assets/downloads/2024_Mine_Emergency_Management_Plan.pdf b/services/core-web/src/assets/downloads/2024_Mine_Emergency_Management_Plan.pdf
new file mode 100644
index 0000000000..10bf098efd
Binary files /dev/null and b/services/core-web/src/assets/downloads/2024_Mine_Emergency_Management_Plan.pdf differ
diff --git a/services/core-web/src/assets/downloads/7810_Mine_Emergency_Management_Plan_V4_DJ edits_20221031.pdf b/services/core-web/src/assets/downloads/7810_Mine_Emergency_Management_Plan_V4_DJ edits_20221031.pdf
deleted file mode 100644
index 5794bebcf2..0000000000
Binary files a/services/core-web/src/assets/downloads/7810_Mine_Emergency_Management_Plan_V4_DJ edits_20221031.pdf and /dev/null differ
diff --git a/services/core-web/src/assets/downloads/health_safety_and_reclamation_code_nov2022.pdf b/services/core-web/src/assets/downloads/health_safety_and_reclamation_code_nov2022.pdf
deleted file mode 100644
index d784b2dcc9..0000000000
Binary files a/services/core-web/src/assets/downloads/health_safety_and_reclamation_code_nov2022.pdf and /dev/null differ
diff --git a/services/core-web/src/assets/downloads/minescode_april_2024_web.pdf b/services/core-web/src/assets/downloads/minescode_april_2024_web.pdf
new file mode 100644
index 0000000000..5a295e11c7
Binary files /dev/null and b/services/core-web/src/assets/downloads/minescode_april_2024_web.pdf differ
diff --git a/services/core-web/src/components/homepage/HomeSidePanel.tsx b/services/core-web/src/components/homepage/HomeSidePanel.tsx
index a0a6ca26e4..ad4b6b9bda 100644
--- a/services/core-web/src/components/homepage/HomeSidePanel.tsx
+++ b/services/core-web/src/components/homepage/HomeSidePanel.tsx
@@ -90,21 +90,21 @@ const DocumentsSection = () => {
const links = [
{
title: "Health, Safety and Reclamation Code",
- url: HSRC_PDF,
+ url: HSRC_PDF, //new code
},
{
title: "Chief Inspector's Annual Reports",
url:
- "https://www2.gov.bc.ca/gov/content/industry/mineral-exploration-mining/further-information/reports-publications/chief-inspector-s-annual-reports",
+ "https://www2.gov.bc.ca/gov/content/industry/mineral-exploration-mining/health-safety/chief-inspector-s-annual-reports",
},
{
title: "Chief Inspector's Directives",
url:
- "https://www2.gov.bc.ca/gov/content/industry/mineral-exploration-mining/further-information/directives-alerts-incident-information/chief-inspector-directives",
+ "https://www2.gov.bc.ca/gov/content/industry/mineral-exploration-mining/health-safety/chief-inspector-directives",
},
{
title: "Mine Emergency Management Plan",
- url: MEMP_PDF,
+ url: MEMP_PDF, // new PDF
},
];
return linkWidget("Documents", links);
diff --git a/services/core-web/src/constants/assets.js b/services/core-web/src/constants/assets.js
index 56ddde5398..91a14354ff 100644
--- a/services/core-web/src/constants/assets.js
+++ b/services/core-web/src/constants/assets.js
@@ -40,8 +40,8 @@ export { default as UNSUBSCRIBE } from "../assets/images/unsubscribe.svg";
export { default as YELLOW_HAZARD } from "../assets/images/Hazard.svg";
export { default as BACKGROUND } from "../assets/images/Background.jpg";
export { default as TRASHCAN } from "../assets/images/TrashCan.svg";
-export { default as HSRC_PDF } from "../assets/downloads/health_safety_and_reclamation_code_nov2022.pdf";
-export { default as MEMP_PDF } from "../assets/downloads/7810_Mine_Emergency_Management_Plan_V4_DJ edits_20221031.pdf";
+export { default as HSRC_PDF } from "../assets/downloads/minescode_april_2024_web.pdf";
+export { default as MEMP_PDF } from "../assets/downloads/2024_Mine_Emergency_Management_Plan.pdf";
export { default as FLUSH_SOUND } from "../assets/downloads/flush.mp3";
export { default as WATER_SOUND } from "../assets/downloads/water.mp3";
export { default as MINESPACE_ICON } from "../assets/images/minespaceIcon.svg";
diff --git a/services/core-web/src/tests/components/HomePage.spec.tsx b/services/core-web/src/tests/components/HomePage.spec.tsx
new file mode 100755
index 0000000000..564ff3ad2c
--- /dev/null
+++ b/services/core-web/src/tests/components/HomePage.spec.tsx
@@ -0,0 +1,27 @@
+import React from "react";
+import { render } from "@testing-library/react";
+import HomePage from "@/components/homepage/HomePage";
+import { ReduxWrapper } from "../utils/ReduxWrapper";
+import { ACTIVITIES } from "@mds/common/constants/reducerTypes";
+import * as MOCK from "@mds/common/tests/mocks/dataMocks";
+import { BrowserRouter } from "react-router-dom";
+
+const initialState = {
+ [ACTIVITIES]: {
+ activities: MOCK.ACTIVITIES.data.records,
+ totalActivities: MOCK.ACTIVITIES.data.records.length,
+ },
+};
+
+describe("HomePage", () => {
+ it("renders properly", () => {
+ const { container } = render(
+