Skip to content

Commit

Permalink
Fixing TS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gregv committed Dec 29, 2023
1 parent f8ebdba commit 11221e8
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 31 deletions.
35 changes: 19 additions & 16 deletions app/routes/_marketing+/privacy.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
import React from 'react';
import {
type V2_MetaFunction
} from '@remix-run/node'

export const meta: V2_MetaFunction = () => {
return [
{
title: "Privacy Policy | TrotTrack.org",
},
{
property: "og:title",
content: "Privacy Policy | TrotTrack.org",
},
{
name: "description",
content: "Read our Privacy Policy for TrotTrack.org, a nonprofit equestrian volunteer system that connects volunteers with equestrian organizations.",
},
];
};

export default function PrivacyRoute() {
return (
Expand Down Expand Up @@ -36,18 +54,3 @@ export default function PrivacyRoute() {
);
}

export const meta: MetaFunction = () => {
return [
{
title: "Privacy Policy | TrotTrack.org",
},
{
property: "og:title",
content: "Privacy Policy | TrotTrack.org",
},
{
name: "description",
content: "Read our Privacy Policy for TrotTrack.org, a nonprofit equestrian volunteer system that connects volunteers with equestrian organizations.",
},
];
};
34 changes: 19 additions & 15 deletions app/routes/_marketing+/tos.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
import React from 'react';
import {
type V2_MetaFunction
} from '@remix-run/node'

export const meta: V2_MetaFunction = () => {
return [
{
title: "Terms of Service | TrotTrack.org",
},
{
property: "og:title",
content: "Terms of Service | TrotTrack.org",
},
{
name: "description",
content: "Read or Terms of Service for TrotTrack.org, a nonprofit equestrian volunteer system that connects volunteers with equestrian organizations.",
},
];
};

export default function TermsOfServiceRoute() {
return (
Expand Down Expand Up @@ -42,18 +61,3 @@ export default function TermsOfServiceRoute() {
);
}

export const meta: MetaFunction = () => {
return [
{
title: "Terms of Service | TrotTrack.org",
},
{
property: "og:title",
content: "Terms of Service | TrotTrack.org",
},
{
name: "description",
content: "Read or Terms of Service for TrotTrack.org, a nonprofit equestrian volunteer system that connects volunteers with equestrian organizations.",
},
];
};

0 comments on commit 11221e8

Please sign in to comment.