feat: implement page vertical layout structure - add flex column to body, set min-height 100vh, complete mainpagework item 1

This commit is contained in:
wallace
2025-11-05 15:41:25 +09:00
parent 33d5d900fc
commit bfee0c4717
3 changed files with 42 additions and 2 deletions

View File

@@ -32,7 +32,9 @@
}
body {
height: 100vh;
display: flex;
flex-direction: column;
min-height: 100vh;
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;

View File

@@ -2,7 +2,7 @@ import Link from "next/link";
export default function Home() {
return (
<div className="min-h-screen bg-white">
<div className="flex flex-col flex-1 bg-white">
{/* 헤더 */}
<header className="bg-white shadow-sm sticky top-0 z-50">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">