shared description

This commit is contained in:
MapleLeaf
2021-12-30 19:40:38 -06:00
parent 8268ea27eb
commit 6f1f32e143
5 changed files with 21 additions and 14 deletions

View File

@@ -1,3 +1,4 @@
import packageJson from "reacord/package.json"
import type { LinksFunction, MetaFunction } from "remix"
import {
Links,
@@ -9,12 +10,10 @@ import {
} from "remix"
import prismThemeCss from "./prism-theme.css"
export const meta: MetaFunction = () => {
return {
title: "Reacord",
description: "Create interactive Discord messages using React and JSX.",
}
}
export const meta: MetaFunction = () => ({
title: "Reacord",
description: packageJson.description,
})
export const links: LinksFunction = () => [
{ rel: "stylesheet", href: prismThemeCss },