Skip to content

Commit

Permalink
Meta update
Browse files Browse the repository at this point in the history
  • Loading branch information
gregv committed Dec 29, 2023
1 parent 6f0a57e commit ea2f95e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions app/routes/_marketing+/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import { Link } from '@remix-run/react'
import { Button } from '~/components/ui/button.tsx'
import { useOptionalUser } from '~/utils/user.ts'

export const meta: V2_MetaFunction = () => [
{ title: 'Girard Training Stables' },
]

export default function Index() {
const user = useOptionalUser()
Expand Down Expand Up @@ -80,3 +77,29 @@ export default function Index() {
</main>
)
}

export const meta: MetaFunction = () => {

Check failure on line 81 in app/routes/_marketing+/index.tsx

View workflow job for this annotation

GitHub Actions / ʦ TypeScript

Cannot find name 'MetaFunction'. Did you mean 'V2_MetaFunction'?
const siteName = "Trot Track";

return [
{
title: siteName,
},
{
property: "og:title",
content: siteName,
},
{
name: "description",
content: `Welcome to ${siteName}, the premier equestrian training facility.`,
},
{
name: "og:description",
content: `Welcome to ${siteName}, the premier equestrian training facility.`,
},
{
name: "og:image",
content: "/img/calendar-icon-with-horse-at-grand-canyon-using-arizona-flag-colors.jpeg",
},
];
};
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ea2f95e

Please sign in to comment.