Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/eatsfineLogo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Eatsfine</title>
<meta
property="og:title"
content="Eatsfine(잇츠파인) - It's fine, and Eats fine"
/>
<meta
property="og:description"
content="자리 자체를 예약하는 새로운 식문화 플랫폼 웹 애플리케이션 서비스"
/>
<meta property="og:image" content="/eatsfineLogo.png" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/EatsfineLogo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Eatsfine</title>
<meta
property="og:title"
content="Eatsfine(잇츠파인) - It's fine, and Eats fine"
/>
<meta
property="og:description"
content="자리 자체를 예약하는 새로운 식문화 플랫폼 웹 애플리케이션 서비스"
/>
<meta property="og:image" content="/EatsfineLogo.png" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
72 changes: 36 additions & 36 deletions src/layouts/PublicLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
import { Link, Outlet } from "react-router-dom";

type PublicLayoutProps = {
title?: string;
subtitle?: string;
};

export default function PublicLayout({
title = "잇츠파인",
subtitle,
}: PublicLayoutProps) {
return (
<div className="min-h-screen bg-gray-50">
<header className="bg-white shadow-sm border-b sticky p-1 top-0 z-40">
<div className="max-w-7xl mx-auto px-4 py-4 flex items-center gap-3">
<Link to="/">
<img
src="/eatsfineLogo.png"
alt="잇츠파인 로고"
className="h-14 w-14 rounded hover:scale-110 transition"
/>
</Link>
<div className="p-1">
<h1 className="text-blue-600 text-xl font-semibold">{title}</h1>
{subtitle ? (
<p className="text-gray-600 text-sm">{subtitle}</p>
) : null}
</div>
</div>
</header>
<main className="max-w-7xl mx-auto px-4 py-8">
<Outlet />
</main>
</div>
);
}
import { Link, Outlet } from "react-router-dom";
type PublicLayoutProps = {
title?: string;
subtitle?: string;
};
export default function PublicLayout({
title = "잇츠파인",
subtitle,
}: PublicLayoutProps) {
return (
<div className="min-h-screen bg-gray-50">
<header className="bg-white shadow-sm border-b sticky p-1 top-0 z-40">
<div className="max-w-7xl mx-auto px-4 py-4 flex items-center gap-3">
<Link to="/">
<img
src="/EatsfineLogo.png"
alt="잇츠파인 로고"
className="h-14 w-14 rounded hover:scale-110 transition"
/>
</Link>
<div className="p-1">
<h1 className="text-blue-600 text-xl font-semibold">{title}</h1>
{subtitle ? (
<p className="text-gray-600 text-sm">{subtitle}</p>
) : null}
</div>
</div>
</header>
<main className="max-w-7xl mx-auto px-4 py-8">
<Outlet />
</main>
</div>
);
}
Loading