Some checks failed
Push to github container register / push-docker (push) Has been cancelled
- Updated formatting in SiteFooter and SiteHeader components for consistency. - Refactored Badge, Button, Card, Separator components to improve readability. - Enhanced markdown parsing logic in announcements and markdown utility functions. - Adjusted ESLint configuration for better code quality checks. - Added biome.json for BiomeJS configuration. - Updated package.json and configuration files for improved dependency management.
51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
import type { Metadata } from "next";
|
||
import { Geist, Geist_Mono, Inter } from "next/font/google";
|
||
import "./globals.css";
|
||
import { cn } from "@/lib/utils";
|
||
import { SiteHeader } from "@/components/site-header";
|
||
import { SiteFooter } from "@/components/site-footer";
|
||
|
||
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
|
||
|
||
const geistSans = Geist({
|
||
variable: "--font-geist-sans",
|
||
subsets: ["latin"],
|
||
});
|
||
|
||
const geistMono = Geist_Mono({
|
||
variable: "--font-geist-mono",
|
||
subsets: ["latin"],
|
||
});
|
||
|
||
export const metadata: Metadata = {
|
||
title: "Takasumi-Neodyマイクラサーバプロジェクト接続ガイド",
|
||
description:
|
||
"Takasumi-Neodyマイクラサーバプロジェクト(サバイバル鯖・建築鯖)への接続方法とサーバアドレスを案内します。",
|
||
};
|
||
|
||
export default function RootLayout({
|
||
children,
|
||
}: Readonly<{
|
||
children: React.ReactNode;
|
||
}>) {
|
||
return (
|
||
<html
|
||
lang="ja"
|
||
className={cn(
|
||
"h-full",
|
||
"antialiased",
|
||
geistSans.variable,
|
||
geistMono.variable,
|
||
"font-sans",
|
||
inter.variable,
|
||
)}
|
||
>
|
||
<body className="min-h-full flex flex-col">
|
||
<SiteHeader />
|
||
{children}
|
||
<SiteFooter />
|
||
</body>
|
||
</html>
|
||
);
|
||
}
|