MCPcopy Create free account
hub / github.com/triggerdotdev/jsonhero-web / meta

Function meta

app/root.tsx:23–41  ·  view source on GitHub ↗
({ location })

Source from the content-addressed store, hash-verified

21import openGraphImage from "~/assets/images/opengraph.png";
22
23export const meta: MetaFunction = ({ location }) => {
24 const description =
25 "JSON Hero makes reading and understand JSON files easy by giving you a clean and beautiful UI packed with extra features.";
26 return {
27 title: "JSON Hero - a beautiful JSON viewer for the web",
28 viewport: "width=device-width,initial-scale=1",
29 description,
30 "og:image": `https://jsonhero.io${openGraphImage}`,
31 "og:url": `https://jsonhero.io${location.pathname}`,
32 "og:title": "JSON Hero - A beautiful JSON viewer",
33 "og:description": description,
34 "twitter:image": `https://jsonhero.io${openGraphImage}`,
35 "twitter:card": "summary_large_image",
36 "twitter:creator": "@json_hero",
37 "twitter:site": "@json_hero",
38 "twitter:title": "JSON Hero",
39 "twitter:description": description,
40 };
41};
42
43import styles from "./tailwind.css";
44import { getThemeSession } from "./theme.server";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected