Revert "Add ️ as default favicon for documentation and examples (#191) (#192)"

This reverts commit 7f9bf08f76.
This commit is contained in:
Valerio Ageno
2024-12-08 10:48:15 +01:00
parent c6e93c266a
commit 6191e55745
13 changed files with 19 additions and 40 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

+14 -1
View File
@@ -91,9 +91,22 @@ export default function RootRoute({ children }: RootRouteProps): JSX.Element {
<Head>
<meta charSet="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
/>
<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>"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
<link rel="manifest" href="/site.webmanifest" />
</Head>
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

+1 -13
View File
@@ -1,21 +1,9 @@
import type { ReactNode, JSX } from 'react'
import { Head } from 'tuono'
interface RootRouteProps {
children: ReactNode
}
export default function RootRoute({ children }: RootRouteProps): JSX.Element {
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>
</>
)
return <main className="main">{children}</main>
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

+1 -13
View File
@@ -1,21 +1,9 @@
import type { ReactNode, JSX } from 'react'
import { Head } from 'tuono'
interface RootRouteProps {
children: ReactNode
}
export default function RootRoute({ children }: RootRouteProps): JSX.Element {
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>
</>
)
return <main className="main">{children}</main>
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

+3 -13
View File
@@ -1,6 +1,5 @@
import type { ReactNode, JSX } from 'react'
import { MDXProvider } from '@mdx-js/react'
import { Head } from 'tuono'
interface RootRouteProps {
children: ReactNode
@@ -8,17 +7,8 @@ interface RootRouteProps {
export default function RootRoute({ children }: RootRouteProps): JSX.Element {
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 - With MDX</title>
</Head>
<main className="main">
<MDXProvider components={{}}>{children}</MDXProvider>
</main>
</>
<main className="main">
<MDXProvider components={{}}>{children}</MDXProvider>
</main>
)
}