title영역, main_contents 영역 수정

This commit is contained in:
YangJinSoo94
2025-03-27 10:07:09 +09:00
parent 1624b44c0d
commit 9c0ca52036
2 changed files with 6 additions and 2 deletions
@@ -2,7 +2,7 @@
export default function MainDiv(props: {children: React.ReactNode}) {
return (
<div className="min-h-screen bg-gray-50 p-8">
<div className="min-h-screen bg-container">
{props.children}
</div>
)
@@ -2,7 +2,11 @@
function Title(props: {title: string}) {
return (
<h1 className="text-2xl font-bold mb-6">{props.title}</h1>
<div className="h-auto min-h-full bg-container">
<h2 className="px-[1.8rem] pt-[2rem] text-[2.4rem] font-semibold text-title">
{props.title}
</h2>
</div>
)
}