mirror of
https://github.com/tuna2134/cecilia.git
synced 2026-07-25 22:51:35 +00:00
fix: correct component syntax and formatting in layout and header files
This commit is contained in:
@@ -11,6 +11,6 @@ const Layout: React.FC<LayoutProps> = ({ children }) => {
|
|||||||
{children}
|
{children}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
};
|
||||||
|
|
||||||
export default Layout;
|
export default Layout;
|
||||||
@@ -2,9 +2,7 @@ import Image from "next/image";
|
|||||||
import { NextPage } from "next";
|
import { NextPage } from "next";
|
||||||
|
|
||||||
const Home: NextPage = () => {
|
const Home: NextPage = () => {
|
||||||
return (
|
return <p>hello</p>;
|
||||||
<p>hello</p>
|
};
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
export default Home;
|
export default Home;
|
||||||
@@ -27,7 +27,9 @@ export default function RootLayout({
|
|||||||
lang="ja"
|
lang="ja"
|
||||||
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
|
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
|
||||||
>
|
>
|
||||||
<body className="min-h-full flex flex-col bg-black text-white">{children}</body>
|
<body className="min-h-full flex flex-col bg-black text-white">
|
||||||
|
{children}
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ const Header: React.FC = () => {
|
|||||||
<small className="text-sm">tuna2134の休憩</small>
|
<small className="text-sm">tuna2134の休憩</small>
|
||||||
<h1 className="text-4xl font-bold">tuna2134</h1>
|
<h1 className="text-4xl font-bold">tuna2134</h1>
|
||||||
</header>
|
</header>
|
||||||
)
|
);
|
||||||
}
|
};
|
||||||
|
|
||||||
export default Header;
|
export default Header;
|
||||||
Reference in New Issue
Block a user