4466ba436b
## Description This PR ensures that the default prettier config is used for examples and templates. This config is compatible with `prettier@3` as well (upgrading prettier is bigger change that can be a future PR). ## Changes - Updated `.prettierrc.json` in root with `"trailingComma": "es5"` (will be needed upgrading to prettier@3) - Added `examples/.prettierrc.json` with default config (this will change every example) - Added `packages/create-next-app/templates/.prettierrc.json` with default config (this will change every template) ## Related - Fixes #54402 - Closes #54409
44 lines
1.2 KiB
XML
44 lines
1.2 KiB
XML
import Head from "next/head";
|
|
import { CMS_NAME, HOME_OG_IMAGE_URL } from "../lib/constants";
|
|
|
|
const Meta = () => {
|
|
return (
|
|
<Head>
|
|
<link
|
|
rel="apple-touch-icon"
|
|
sizes="180x180"
|
|
href="/favicon/apple-touch-icon.png"
|
|
/>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="32x32"
|
|
href="/favicon/favicon-32x32.png"
|
|
/>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="16x16"
|
|
href="/favicon/favicon-16x16.png"
|
|
/>
|
|
<link rel="manifest" href="/favicon/site.webmanifest" />
|
|
<link
|
|
rel="mask-icon"
|
|
href="/favicon/safari-pinned-tab.svg"
|
|
color="#000000"
|
|
/>
|
|
<link rel="shortcut icon" href="/favicon/favicon.ico" />
|
|
<meta name="msapplication-TileColor" content="#000000" />
|
|
<meta name="msapplication-config" content="/favicon/browserconfig.xml" />
|
|
<meta name="theme-color" content="#000" />
|
|
<link rel="alternate" type="application/rss+xml" href="/feed.xml" />
|
|
<meta
|
|
name="description"
|
|
content={`A statically generated blog example using Next.js and ${CMS_NAME}.`}
|
|
/>
|
|
<meta property="og:image" content={HOME_OG_IMAGE_URL} />
|
|
</Head>
|
|
);
|
|
};
|
|
|
|
export default Meta;
|