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
2 changes: 1 addition & 1 deletion src/app/(route)/hello/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { FEATURES } from "./_constants/FEATURES";

const page = () => {
return (
<section className="min-h-[100dvh] flex-col-center">
<section className="flex-col-center h-base">
{FEATURES.map((props, index) => (
<FeatureSection key={index} {...props} />
))}
Expand Down
2 changes: 1 addition & 1 deletion src/app/(route)/list/[id]/map/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import MapContent from "./_components/MapContent/MapContent";

const page = () => {
return (
<section className="h-dvh">
<section className="h-base">
<DetailHeader title="분실/습득 위치" />
<h1 className="sr-only">분실/습득 위치 지도</h1>

Expand Down
2 changes: 1 addition & 1 deletion src/app/(route)/list/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { FloatingButton } from "@/components";

const layout = ({ children }: { children: React.ReactNode }) => {
return (
<div className="min-h-[calc(100vh-60px)] w-full">
<div className="w-full h-base">
{children}
<div className="fixed bottom-5 right-5">
<FloatingButton ariaLabel="글쓰기" />
Expand Down
2 changes: 1 addition & 1 deletion src/app/(route)/manual/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const layout = ({ children }: { children: React.ReactNode }) => {
<>
<DetailHeader title="유실물 발생 시 매뉴얼" />
<h1 className="sr-only">매뉴얼 페이지</h1>
<section className="min-h-[calc(100vh-60px)] w-full">{children}</section>
<section className="w-full h-base">{children}</section>
</>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/app/(route)/user/[id]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const layout = ({ children }: { children: React.ReactNode }) => {
return <main className="min-h-[100dvh] w-full">{children}</main>;
return <main className="w-full h-base">{children}</main>;
};

export default layout;
15 changes: 11 additions & 4 deletions src/app/(route)/user/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,24 @@
import { DetailHeader } from "@/components";
import { TabContents, UserHeader } from "./_components";

export default function Page() {
const data = {
nickname: "사용자 닉네임",
email: "[email protected]",
};

const Page = () => {
return (
<>
<h1 className="sr-only">타인 프로필</h1>
<DetailHeader title="프로필">
<DetailHeader.Menu />
</DetailHeader>
<h1 className="sr-only">타인 프로필</h1>

<UserHeader nickname="사용자 닉네임" email="[email protected]" />
<UserHeader nickname={data.nickname} email={data.email} />

<TabContents />
</>
);
}
};

export default Page;