File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 6
6
import React from 'react'
7
7
8
8
// eslint-disable-next-line no-restricted-exports
9
- export default function RootLayout ( ) {
9
+ export default function RootLayout ( {
10
+ children,
11
+ } : {
12
+ children : React . ReactNode
13
+ } ) {
10
14
return (
11
- < html >
12
- < head />
13
- < body > </ body >
15
+ < html lang = "en" >
16
+ < body > { children } </ body >
14
17
</ html >
15
18
)
16
19
}
Original file line number Diff line number Diff line change 3
3
* SPDX-License-Identifier: BUSL-1.1
4
4
*/
5
5
6
- /** Add your relevant code here for the issue to reproduce */
6
+ import { redirect } from 'next/navigation'
7
+
8
+ // Redirect to the web-unified-docs repository
7
9
// eslint-disable-next-line no-restricted-exports
8
10
export default function Home ( ) {
9
- return null
11
+ redirect ( 'https://github.com/hashicorp/web-unified-docs' )
10
12
}
You can’t perform that action at this time.
0 commit comments