|
1 | | -import './global.css'; |
2 | | -import { RootProvider } from 'fumadocs-ui/provider'; |
3 | | -import { Banner } from 'fumadocs-ui/components/banner'; |
4 | | -import { Inter } from 'next/font/google'; |
| 1 | +import "./global.css"; |
| 2 | +import { RootProvider } from "fumadocs-ui/provider"; |
| 3 | +import { Inter } from "next/font/google"; |
5 | 4 |
|
6 | 5 | const inter = Inter({ |
7 | | - subsets: ['latin'], |
| 6 | + subsets: ["latin"], |
8 | 7 | }); |
9 | 8 |
|
10 | 9 | export const metadata = { |
11 | 10 | title: { |
12 | | - template: '%s - Andronix Docs', |
13 | | - default: 'Andronix Documentation', |
| 11 | + template: "%s - Andronix Docs", |
| 12 | + default: "Andronix Documentation", |
14 | 13 | }, |
15 | | - description: 'Andronix lets you install Linux distributions like Ubuntu, Debian, and Manjaro on non-rooted Android devices. Read our documentation for step-by-step instructions.', |
16 | | - metadataBase: new URL('https://docs.andronix.app'), |
| 14 | + description: |
| 15 | + "Andronix lets you install Linux distributions like Ubuntu, Debian, and Manjaro on non-rooted Android devices. Read our documentation for step-by-step instructions.", |
| 16 | + metadataBase: new URL("https://docs.andronix.app"), |
17 | 17 | openGraph: { |
18 | | - title: 'Andronix Documentation', |
19 | | - description: 'Andronix lets you install Ubuntu, Debian, and Manjaro on non-rooted Android devices. Our documentation provides step-by-step instructions and troubleshooting tips to help you set up your Linux environment quickly and easily. Experience the power of Linux on your mobile device with Andronix.', |
20 | | - url: 'https://docs.andronix.app/', |
21 | | - images: '/og.png', |
22 | | - type: 'website', |
| 18 | + title: "Andronix Documentation", |
| 19 | + description: |
| 20 | + "Andronix lets you install Ubuntu, Debian, and Manjaro on non-rooted Android devices. Our documentation provides step-by-step instructions and troubleshooting tips to help you set up your Linux environment quickly and easily. Experience the power of Linux on your mobile device with Andronix.", |
| 21 | + url: "https://docs.andronix.app/", |
| 22 | + images: "/og.png", |
| 23 | + type: "website", |
23 | 24 | }, |
24 | 25 | twitter: { |
25 | | - card: 'summary_large_image', |
26 | | - title: 'Andronix Documentation', |
27 | | - description: 'Andronix lets you install Ubuntu, Debian, and Manjaro on non-rooted Android devices. Our documentation provides step-by-step instructions and troubleshooting tips to help you set up your Linux environment quickly and easily. Experience the power of Linux on your mobile device with Andronix.', |
28 | | - images: '/og.png', |
| 26 | + card: "summary_large_image", |
| 27 | + title: "Andronix Documentation", |
| 28 | + description: |
| 29 | + "Andronix lets you install Ubuntu, Debian, and Manjaro on non-rooted Android devices. Our documentation provides step-by-step instructions and troubleshooting tips to help you set up your Linux environment quickly and easily. Experience the power of Linux on your mobile device with Andronix.", |
| 30 | + images: "/og.png", |
29 | 31 | }, |
30 | 32 | }; |
31 | 33 |
|
32 | 34 | export default function Layout({ children }: { children: React.ReactNode }) { |
33 | 35 | return ( |
34 | 36 | <html lang="en" className={inter.className} suppressHydrationWarning> |
35 | 37 | <body> |
36 | | - <Banner |
37 | | - id="android-12-fix" |
38 | | - variant="rainbow" |
39 | | - rainbowColors={[ |
40 | | - 'rgba(255,100,0, 0.5)', |
41 | | - 'rgba(255,100,0, 0.5)', |
42 | | - 'transparent', |
43 | | - 'rgba(255,100,0, 0.5)', |
44 | | - 'transparent', |
45 | | - 'rgba(255,100,0, 0.5)', |
46 | | - 'transparent', |
47 | | - ]} |
48 | | - > |
49 | | - <div className="flex flex-col sm:flex-row sm:items-center gap-1 sm:gap-2 text-center sm:text-left"> |
50 | | - <span className="font-medium">🚨 Resolve <strong>Process completed (signal 9)</strong> error</span> |
51 | | - <span className="hidden sm:inline">→</span> |
52 | | - <a |
53 | | - href="/android-12/andronix-on-android-12-and-beyond" |
54 | | - className="underline hover:text-white transition-colors" |
55 | | - > |
56 | | - Read the fix |
57 | | - </a> |
58 | | - </div> |
59 | | - </Banner> |
60 | | - <RootProvider>{children}</RootProvider> |
| 38 | + <RootProvider theme={{ defaultTheme: "Darl" }}>{children}</RootProvider> |
61 | 39 | </body> |
62 | 40 | </html> |
63 | 41 | ); |
|
0 commit comments