Build Canada
-- Constitution -
-- Build Canada’s mission is to make Canada the most prosperous - country in the world. -
-- These principles guide our work. -
--
+
- -
-
{principles.map((principle, index) => (
diff --git a/next.config.ts b/next.config.ts index c5b23590..5b5c5374 100644 --- a/next.config.ts +++ b/next.config.ts @@ -27,6 +27,12 @@ const nextConfig: NextConfig = { }, async redirects() { return [ + // The constitution's principles now live on the about page. + { + source: "/constitution", + destination: "/about#principles", + permanent: true, + }, { source: "/great-canadian-builders", destination: "/builders", diff --git a/src/app/constitution/page.tsx b/src/app/about/PrinciplesBlock.tsx similarity index 51% rename from src/app/constitution/page.tsx rename to src/app/about/PrinciplesBlock.tsx index 84a18ef9..34f5c617 100644 --- a/src/app/constitution/page.tsx +++ b/src/app/about/PrinciplesBlock.tsx @@ -1,13 +1,4 @@ -import type { Metadata } from "next"; - -export const metadata: Metadata = { - title: "Constitution", - description: - "The principles that guide Build Canada in its mission to make Canada the most prosperous country in the world.", - alternates: { - canonical: "/constitution", - }, -}; +import SectionLabel from "@/components/SectionLabel"; const principles = [ { @@ -40,45 +31,31 @@ const principles = [ }, ]; -export default function ConstitutionPage() { +export default function PrinciplesBlock() { return ( -
Build Canada
-- Build Canada’s mission is to make Canada the most prosperous - country in the world. -
-- These principles guide our work. -
-