This repository was archived by the owner on Sep 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +41
-35
lines changed Expand file tree Collapse file tree 5 files changed +41
-35
lines changed Original file line number Diff line number Diff line change 1
1
// Importing env files here to validate on build
2
2
import "./src/env.mjs"
3
3
4
- // import { withNextDevtools } from '@next-devtools/core/plugin'
4
+ import { withNextDevtools } from '@next-devtools/core/plugin'
5
5
6
6
/** @type {import("next").NextConfig } */
7
7
const config = {
8
- output : "export" ,
8
+ // output: "export",
9
9
10
10
reactStrictMode : true ,
11
11
/** Enables hot reloading for local packages without a build step */
@@ -19,5 +19,5 @@ const config = {
19
19
typescript : { ignoreBuildErrors : true } ,
20
20
}
21
21
22
- // export default withNextDevtools(config)
23
- export default config
22
+ export default withNextDevtools ( config )
23
+ // export default config
Original file line number Diff line number Diff line change 16
16
"@acme/helpers" : " workspace:*" ,
17
17
"@acme/markdoc-base" : " workspace:*" ,
18
18
"@acme/ui" : " workspace:*" ,
19
- "@next-devtools/core" : " 0.1.3-beta.0 " ,
19
+ "@next-devtools/core" : " 0.1.3" ,
20
20
"@t3-oss/env-nextjs" : " 0.7.1" ,
21
21
"@tanstack/query-core" : " 5.17.1" ,
22
22
"@tanstack/react-query" : " 5.17.1" ,
Original file line number Diff line number Diff line change 1
1
import type { Metadata } from "next"
2
-
3
- //import { NextDevtoolsProvider } from "@next-devtools/core"
2
+ import { NextDevtoolsProvider } from "@next-devtools/core"
4
3
5
4
import { TailwindIndicator } from "@acme/ui/components"
6
5
@@ -22,21 +21,21 @@ export default function Layout({ children }: { children: React.ReactNode }) {
22
21
< html lang = "en" suppressHydrationWarning = { true } >
23
22
< head />
24
23
< body >
25
- { /* <NextDevtoolsProvider> */ }
26
- < Providers
27
- defaultTheme = "light"
28
- enableSystem
29
- disableTransitionOnChange
30
- attribute = "class"
31
- >
32
- < div className = "relative flex flex-col" >
33
- < SiteHeader />
34
- { children }
35
- < SiteFooter />
36
- </ div >
37
- < TailwindIndicator />
38
- </ Providers >
39
- { /* </NextDevtoolsProvider> */ }
24
+ < NextDevtoolsProvider >
25
+ < Providers
26
+ defaultTheme = "light"
27
+ enableSystem
28
+ disableTransitionOnChange
29
+ attribute = "class"
30
+ >
31
+ < div className = "relative flex flex-col" >
32
+ < SiteHeader />
33
+ { children }
34
+ < SiteFooter />
35
+ </ div >
36
+ < TailwindIndicator />
37
+ </ Providers >
38
+ </ NextDevtoolsProvider >
40
39
</ body >
41
40
</ html >
42
41
)
Original file line number Diff line number Diff line change
1
+ "use client"
2
+
1
3
import Link from "next/link"
2
4
5
+ //import { useNavigationStore } from "@/hooks/navigation"
6
+
3
7
import { Logo , ThemeToggle } from "@acme/ui/components"
4
- import { useNavigationStore } from '@/hooks/navigation'
5
8
6
9
export function SiteHeader ( ) {
7
- const navigationHook = useNavigationStore ( )
10
+ // const navigationHook = useNavigationStore()
8
11
9
12
return (
10
13
< header className = " sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60" >
You can’t perform that action at this time.
0 commit comments