chore: cleanup and remove hello world test case
This commit is contained in:
@@ -17,8 +17,7 @@ import type { LangParams, LayoutArgs } from "@/types/params"
|
||||
export const fetchCache = "default-no-store"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
description: "New web",
|
||||
title: "Scandic Hotels New Web",
|
||||
title: "Scandic Hotels",
|
||||
}
|
||||
|
||||
export default async function RootLayout({
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
import type { Metadata } from "next"
|
||||
|
||||
import type { LangParams, LayoutArgs } from "@/types/params"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Test Site",
|
||||
}
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
params,
|
||||
}: React.PropsWithChildren<LayoutArgs<LangParams>>) {
|
||||
return (
|
||||
<html lang={params.lang}>
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
import type { Metadata } from "next"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Hello World",
|
||||
}
|
||||
|
||||
export default function HelloWorldTestPage() {
|
||||
return (
|
||||
<main>
|
||||
<header>
|
||||
<h1>Hello World!</h1>
|
||||
</header>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user