File tree Expand file tree Collapse file tree 5 files changed +17
-6
lines changed Expand file tree Collapse file tree 5 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.0" ,
4
4
"private" : true ,
5
5
"scripts" : {
6
- "prebuild" : " bun run generate-analytics && bun run generate-schema" ,
7
6
"build" : " next build" ,
8
7
"dev" : " next dev --turbopack" ,
9
8
"start" : " next start" ,
Original file line number Diff line number Diff line change
1
+ import { Banner } from "fumadocs-ui/components/banner" ;
1
2
import { DocsLayout } from "fumadocs-ui/layouts/docs" ;
2
3
import type { ReactNode } from "react" ;
3
4
import { baseOptions } from "@/app/layout.config" ;
4
5
import { source } from "@/lib/source" ;
5
6
6
7
export default function Layout ( { children } : { children : ReactNode } ) {
7
8
return (
8
- < DocsLayout tree = { source . pageTree } { ...baseOptions } >
9
- { children }
10
- </ DocsLayout >
9
+ < >
10
+ < Banner variant = "rainbow" >
11
+ ⚠️ WORK IN PROGRESS DONT TAKE REFERENCE!!!
12
+ </ Banner >
13
+ < DocsLayout tree = { source . pageTree } { ...baseOptions } >
14
+ { children }
15
+ </ DocsLayout >
16
+ </ >
11
17
) ;
12
18
}
Original file line number Diff line number Diff line change 1
1
export const dynamic = "force-static" ;
2
2
3
3
import { RootProvider } from "fumadocs-ui/provider" ;
4
- import type { Metadata } from "next" ;
4
+ import type { Metadata , Viewport } from "next" ;
5
5
import { Poppins } from "next/font/google" ;
6
6
import { NuqsAdapter } from "nuqs/adapters/next/app" ;
7
7
import type { ReactNode } from "react" ;
@@ -92,6 +92,11 @@ export const metadata: Metadata = {
92
92
} ,
93
93
} ;
94
94
95
+ export const viewport : Viewport = {
96
+ width : "device-width" ,
97
+ initialScale : 1.0 ,
98
+ } ;
99
+
95
100
export default function Layout ( { children } : { children : ReactNode } ) {
96
101
return (
97
102
< html lang = "en" className = { poppins . className } suppressHydrationWarning >
Original file line number Diff line number Diff line change 3
3
"name" : " better-t-stack" ,
4
4
"compatibility_date" : " 2025-07-13" ,
5
5
"compatibility_flags" : [" nodejs_compat" ],
6
+ "keep_names" : false ,
6
7
"assets" : {
7
8
"directory" : " .open-next/assets" ,
8
9
"binding" : " ASSETS"
Original file line number Diff line number Diff line change 12
12
"check" : " turbo check" ,
13
13
"format" : " biome check --write ." ,
14
14
"publish-packages" : " turbo run build --filter=create-better-t-stack && changeset publish" ,
15
- "deploy:web" : " turbo run --filter=web deploy"
15
+ "deploy:web" : " bun run --filter=web generate-analytics && bun run --filter=web generate-schema && turbo run --filter=web deploy"
16
16
},
17
17
"devDependencies" : {
18
18
"@biomejs/biome" : " 2.1.2" ,
You can’t perform that action at this time.
0 commit comments