Skip to content

Commit 81ff7c1

Browse files
authored
Merge pull request #236 from Team-3-2/style/ui-style-check
[#218] 모달 페이지 스타일 수정
2 parents bc77ae4 + 8de9630 commit 81ff7c1

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

src/app/register/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Page = async ({ params }: { params: Promise<{ id: string }> }) => {
4242
return (
4343
<div
4444
className={cn(
45-
"bg-gray-200 bg-[url('/images/common/bg-main.png')] bg-cover bg-no-repeat px-[16px] py-[35px]",
45+
"flex-center min-h-screen bg-gray-200 bg-[url('/images/common/bg-main.png')] bg-cover bg-no-repeat px-[16px] py-[35px]",
4646
"tablet:py-[70px]",
4747
"pc:py-[70px]"
4848
)}

src/app/reviews/[reviewId]/edit/page.tsx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"use client";
22

3+
import { cn } from "@/lib/utils";
34
import { useRouter, useParams } from "next/navigation";
45
import { useEffect } from "react";
56
import ReviewFormClient from "@/app/wines/[id]/_components/wine-review-form/review-form-client";
@@ -16,8 +17,20 @@ export default function EditPage() {
1617
if (!reviewId) return null;
1718

1819
return (
19-
<main className="min-h-screen bg-gray-100 bg-[url('/images/common/bg-main.png')] bg-cover bg-no-repeat">
20-
<section className="container mx-auto flex max-w-[460px] flex-col gap-10 py-12 pt-24 tablet:max-w-[740px] pc:max-w-[1020px]">
20+
<main
21+
className={cn(
22+
"flex-center min-h-screen bg-gray-200 bg-[url('/images/common/bg-main.png')] bg-cover bg-no-repeat py-[35px]",
23+
"tablet:py-[70px]",
24+
"pc:py-[70px]"
25+
)}
26+
>
27+
<section
28+
className={cn(
29+
"container mt-[60px] flex flex-col gap-10 rounded-2xl bg-white px-[16px] py-8",
30+
"tablet:max-w-[480px]",
31+
"pc:max-w-[480px]"
32+
)}
33+
>
2134
<h1 className="text-heading-lg">리뷰 수정</h1>
2235
<ReviewFormClient
2336
reviewId={reviewId}

src/app/reviews/[reviewId]/write/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function WritePage() {
1919
return (
2020
<main
2121
className={cn(
22-
"min-h-screen bg-gray-100 bg-[url('/images/common/bg-main.png')] bg-cover bg-no-repeat py-[35px]",
22+
"flex-center min-h-screen bg-gray-200 bg-[url('/images/common/bg-main.png')] bg-cover bg-no-repeat py-[35px]",
2323
"tablet:py-[70px]",
2424
"pc:py-[70px]"
2525
)}

0 commit comments

Comments
 (0)