diff --git a/src/layout/Footer.jsx b/src/layout/Footer.jsx index d562ed354..22b5ddc6a 100644 --- a/src/layout/Footer.jsx +++ b/src/layout/Footer.jsx @@ -14,6 +14,7 @@ import { import { createElement } from "react"; import useCountryId from "../hooks/useCountryId"; import { Link } from "react-router-dom"; +import { defaultYear } from "../data/constants"; export default function Footer() { const displayCategory = useDisplayCategory(); @@ -220,6 +221,45 @@ export function SocialLink({ icon, url, backgroundColor, color }) { ); } +export function CharityInfo() { + const countryId = useCountryId(); + + return ( +
+ {countryId === "uk" && ( +

+ PolicyEngine is a registered charity with the Charity Commission of + England and Wales (no. 1210532) and as a private company limited by + guarantee with Companies House (no. 15023806). +

+ )} +

+ {`© ${defaultYear} PolicyEngine. All rights reserved.`} +

+
+ ); +} + function MobileFooter() { return (
+
); } @@ -256,6 +297,7 @@ function TabletFooter() { + ); } @@ -289,6 +331,7 @@ function DesktopFooter() { + ); }