Skip to content

Commit

Permalink
One more TS lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gregv committed Dec 29, 2023
1 parent 11221e8 commit deee34c
Showing 1 changed file with 27 additions and 25 deletions.
52 changes: 27 additions & 25 deletions app/routes/_marketing+/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,35 @@ import { horseMountains, ohack } from './logos/logos.ts'
import { Link } from '@remix-run/react'
import { Button } from '~/components/ui/button.tsx'
import { useOptionalUser } from '~/utils/user.ts'
// Get siteName from data.ts
import { siteName } from '~/data.ts'


export const meta: V2_MetaFunction = () => {

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",
},
];
};

export default function Index() {
const user = useOptionalUser()
return (
Expand Down Expand Up @@ -78,28 +105,3 @@ export default function Index() {
)
}

export const meta: 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",
},
];
};

0 comments on commit deee34c

Please sign in to comment.