|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 709 B |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 15 KiB |
@@ -70,22 +70,9 @@ export default function RootRoute({ children }: RootRouteProps): JSX.Element {
|
|||||||
<Head>
|
<Head>
|
||||||
<meta charSet="UTF-8" />
|
<meta charSet="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link
|
|
||||||
rel="apple-touch-icon"
|
|
||||||
sizes="180x180"
|
|
||||||
href="/apple-touch-icon.png"
|
|
||||||
/>
|
|
||||||
<link
|
<link
|
||||||
rel="icon"
|
rel="icon"
|
||||||
type="image/png"
|
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>⚡</text></svg>"
|
||||||
sizes="32x32"
|
|
||||||
href="/favicon-32x32.png"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
rel="icon"
|
|
||||||
type="image/png"
|
|
||||||
sizes="16x16"
|
|
||||||
href="/favicon-16x16.png"
|
|
||||||
/>
|
/>
|
||||||
<link rel="manifest" href="/site.webmanifest" />
|
<link rel="manifest" href="/site.webmanifest" />
|
||||||
</Head>
|
</Head>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 21 KiB |
@@ -1,9 +1,21 @@
|
|||||||
import type { ReactNode, JSX } from 'react'
|
import type { ReactNode, JSX } from 'react'
|
||||||
|
import { Head } from 'tuono'
|
||||||
|
|
||||||
interface RootRouteProps {
|
interface RootRouteProps {
|
||||||
children: ReactNode
|
children: ReactNode
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function RootRoute({ children }: RootRouteProps): JSX.Element {
|
export default function RootRoute({ children }: RootRouteProps): JSX.Element {
|
||||||
return <main className="main">{children}</main>
|
return (
|
||||||
|
<>
|
||||||
|
<Head>
|
||||||
|
<link
|
||||||
|
rel="icon"
|
||||||
|
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>⚡</text></svg>"
|
||||||
|
/>
|
||||||
|
<title>Tuono app</title>
|
||||||
|
</Head>
|
||||||
|
<main className="main">{children}</main>
|
||||||
|
</>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 39 KiB |
@@ -1,9 +1,21 @@
|
|||||||
import type { ReactNode, JSX } from 'react'
|
import type { ReactNode, JSX } from 'react'
|
||||||
|
import { Head } from 'tuono'
|
||||||
|
|
||||||
interface RootRouteProps {
|
interface RootRouteProps {
|
||||||
children: ReactNode
|
children: ReactNode
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function RootRoute({ children }: RootRouteProps): JSX.Element {
|
export default function RootRoute({ children }: RootRouteProps): JSX.Element {
|
||||||
return <main className="main">{children}</main>
|
return (
|
||||||
|
<>
|
||||||
|
<Head>
|
||||||
|
<link
|
||||||
|
rel="icon"
|
||||||
|
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>⚡</text></svg>"
|
||||||
|
/>
|
||||||
|
<title>Tuono tutorial</title>
|
||||||
|
</Head>
|
||||||
|
<main className="main">{children}</main>
|
||||||
|
</>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 39 KiB |
@@ -1,5 +1,6 @@
|
|||||||
import type { ReactNode, JSX } from 'react'
|
import type { ReactNode, JSX } from 'react'
|
||||||
import { MDXProvider } from '@mdx-js/react'
|
import { MDXProvider } from '@mdx-js/react'
|
||||||
|
import { Head } from 'tuono'
|
||||||
|
|
||||||
interface RootRouteProps {
|
interface RootRouteProps {
|
||||||
children: ReactNode
|
children: ReactNode
|
||||||
@@ -7,8 +8,17 @@ interface RootRouteProps {
|
|||||||
|
|
||||||
export default function RootRoute({ children }: RootRouteProps): JSX.Element {
|
export default function RootRoute({ children }: RootRouteProps): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<main className="main">
|
<>
|
||||||
<MDXProvider components={{}}>{children}</MDXProvider>
|
<Head>
|
||||||
</main>
|
<link
|
||||||
|
rel="icon"
|
||||||
|
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>⚡</text></svg>"
|
||||||
|
/>
|
||||||
|
<title>Tuono - With MDX</title>
|
||||||
|
</Head>
|
||||||
|
<main className="main">
|
||||||
|
<MDXProvider components={{}}>{children}</MDXProvider>
|
||||||
|
</main>
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||