diff --git a/app/layout.tsx b/app/layout.tsx index ae381a0..284ab94 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,8 +1,8 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono, Inter } from "next/font/google"; -import Link from "next/link"; import "./globals.css"; import { cn } from "@/lib/utils"; +import { SiteHeader } from "@/components/site-header"; const inter = Inter({subsets:['latin'],variable:'--font-sans'}); @@ -32,21 +32,7 @@ export default function RootLayout({ className={cn("h-full", "antialiased", geistSans.variable, geistMono.variable, "font-sans", inter.variable)} > -
-
- - Takasumi-Neodyマイクラサーバプロジェクト - - -
-
+ {children} diff --git a/components/site-header.tsx b/components/site-header.tsx new file mode 100644 index 0000000..9611f81 --- /dev/null +++ b/components/site-header.tsx @@ -0,0 +1,30 @@ +import Link from "next/link"; + +export function SiteHeader() { + return ( +
+
+ + Takasumi-Neodyマイクラサーバプロジェクト + + +
+
+ ); +}