Skip to content

Commit 7bd542e

Browse files
Added header and title to the new resources page (issue 498) (#511)
## Summary - Adds the title to the new Resources page - Adds the existing Header component to the new Resources page ## Updated Page <img width="1040" height="305" alt="Screenshot 2026-09-08 at 8 12 47 PM" src="https://github.com/user-attachments/assets/a0920daf-5ae4-4235-a29c-acbecc74515a" /> Co-authored-by: Curt Savoie <curt.savoie@gmail.com>
1 parent f8ae0e5 commit 7bd542e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

client/src/components/pages/resources/resources-new.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
// New resources page being refactored (in progress.)
2+
import { useIntl } from "react-intl";
3+
import Header from "./header";
24

35
const ResourcesNew = () => {
6+
const intl = useIntl();
7+
const title = `${intl.formatMessage({ id: "resources.pageTitle" })} | ${intl.formatMessage({ id: "home.pageTitle" })}`;
48

59
return (
6-
<main>New resources page</main>
10+
<main>
11+
<title>{title}</title>
12+
<Header />
13+
</main>
714
);
815
};
916

0 commit comments

Comments
 (0)