mirror of
https://github.com/ritz078/transform.git
synced 2026-11-20 16:22:53 +03:00
27 lines
987 B
TypeScript
27 lines
987 B
TypeScript
import Head from "next/head";
|
|
import React from "react";
|
|
|
|
export const Meta = ({ title, description, url }) => {
|
|
return (
|
|
<Head>
|
|
<title>{title}</title>
|
|
<link rel="icon" href="/static/favicon.png" type="image/png" />
|
|
<meta content={description} name="description" />
|
|
<meta name="og:url" content={url} />
|
|
<meta name="og:title" content={title} />
|
|
<meta name="og:description" content={description} />
|
|
<meta name="og:image" content={"https://transform.tools/cover.png"} />
|
|
<meta name="og:type" content="website" />
|
|
<meta name="twitter:title" content={title} />
|
|
<meta name="twitter:description" content={description} />
|
|
<meta
|
|
name="twitter:image"
|
|
content={"https://transform.tools/cover.png"}
|
|
/>
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:creator" content="ritz078" />
|
|
<link rel="manifest" href="/static/site.webmanifest" />
|
|
</Head>
|
|
);
|
|
};
|