File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed
Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff 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 ) }
Original file line number Diff line number Diff line change 11"use client" ;
22
3+ import { cn } from "@/lib/utils" ;
34import { useRouter , useParams } from "next/navigation" ;
45import { useEffect } from "react" ;
56import 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 }
Original file line number Diff line number Diff 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 ) }
You can’t perform that action at this time.
0 commit comments