Skip to content

Commit

Permalink
Added more meta to pages
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Mar 5, 2024
1 parent 53b0117 commit fe93c52
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions app/routes/about.tsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
17 changes: 17 additions & 0 deletions app/routes/code-of-conduct.tsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down

0 comments on commit fe93c52

Please sign in to comment.