2021-11-16 16:01:29 +00:00
|
|
|
import Head from 'next/head'
|
2021-11-26 15:14:10 +00:00
|
|
|
import type React from 'react'
|
2022-08-02 13:56:12 +00:00
|
|
|
import '~styles/globals.css'
|
|
|
|
import useGtag from '~utils/useGtag'
|
2021-09-22 12:17:52 +00:00
|
|
|
|
2021-11-16 16:31:06 +00:00
|
|
|
const APP_NAME = 'tldraw'
|
2021-11-16 16:17:33 +00:00
|
|
|
const APP_DESCRIPTION = 'A tiny little drawing app.'
|
|
|
|
const APP_URL = 'https://tldraw.com'
|
|
|
|
const IMAGE = 'https://tldraw.com/social-image.png'
|
|
|
|
|
2022-05-14 13:15:55 +00:00
|
|
|
function MyApp({ Component, pageProps }: any) {
|
2021-09-22 12:17:52 +00:00
|
|
|
useGtag()
|
|
|
|
|
2021-11-16 16:01:29 +00:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Head>
|
2021-11-16 16:17:33 +00:00
|
|
|
<meta name="application-name" content={APP_NAME} />
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
|
|
<meta name="apple-mobile-web-app-title" content={APP_NAME} />
|
|
|
|
<meta name="description" content={APP_DESCRIPTION} />
|
|
|
|
<meta name="format-detection" content="telephone=no" />
|
|
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
|
|
<meta name="theme-color" content="#fafafa" />
|
|
|
|
|
|
|
|
<meta name="twitter:url" content={APP_URL} />
|
|
|
|
<meta name="twitter:title" content={APP_NAME} />
|
|
|
|
<meta name="twitter:description" content={APP_DESCRIPTION} />
|
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
|
|
<meta name="twitter:creator" content="@tldraw" />
|
|
|
|
<meta name="twitter:site" content="@tldraw" />
|
|
|
|
<meta name="twitter:image" content={IMAGE} />
|
|
|
|
|
|
|
|
<meta property="og:type" content="website" />
|
|
|
|
<meta property="og:title" content={APP_NAME} />
|
|
|
|
<meta property="og:description" content={APP_DESCRIPTION} />
|
|
|
|
<meta property="og:site_name" content={APP_NAME} />
|
|
|
|
<meta property="og:url" content={APP_URL} />
|
|
|
|
<meta property="og:image" content={IMAGE} />
|
|
|
|
|
2021-11-16 16:01:29 +00:00
|
|
|
<meta
|
|
|
|
name="viewport"
|
|
|
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"
|
|
|
|
/>
|
2021-11-16 16:17:33 +00:00
|
|
|
|
|
|
|
<link rel="manifest" href="/manifest.json" />
|
|
|
|
<link rel="shortcut icon" href="/favicon.ico" />
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png" />
|
|
|
|
|
2021-11-16 16:31:17 +00:00
|
|
|
<title>tldraw</title>
|
2021-11-16 16:01:29 +00:00
|
|
|
</Head>
|
|
|
|
<Component {...pageProps} />
|
|
|
|
</>
|
|
|
|
)
|
2021-08-10 16:12:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default MyApp
|