diff --git a/app/routes/about.tsx b/app/routes/about.tsx index a2a1891..8bf7490 100644 --- a/app/routes/about.tsx +++ b/app/routes/about.tsx @@ -1,4 +1,21 @@ +import { MetaFunction } from "@remix-run/node"; + import { Layout } from "~/components/Layout"; +import { description, title } from "~/constants"; + +export const meta: MetaFunction = () => { + return [ + { title: `About | ${title}` }, + { + content: description, + name: "description", + }, + { + content: title, + property: "og:title", + }, + ]; +}; export default function About() { return ( diff --git a/app/routes/code-of-conduct.tsx b/app/routes/code-of-conduct.tsx index c820cb1..6292046 100644 --- a/app/routes/code-of-conduct.tsx +++ b/app/routes/code-of-conduct.tsx @@ -1,4 +1,21 @@ +import { MetaFunction } from "@remix-run/node"; + import { Layout } from "~/components/Layout"; +import { description, title } from "~/constants"; + +export const meta: MetaFunction = () => { + return [ + { title: `Code of Conduct | ${title}` }, + { + content: description, + name: "description", + }, + { + content: title, + property: "og:title", + }, + ]; +}; export default function About() { return (