summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/[lng]/evcp/(evcp)/bid/[id]/layout.tsx19
1 files changed, 10 insertions, 9 deletions
diff --git a/app/[lng]/evcp/(evcp)/bid/[id]/layout.tsx b/app/[lng]/evcp/(evcp)/bid/[id]/layout.tsx
index eb5e62d0..490f1360 100644
--- a/app/[lng]/evcp/(evcp)/bid/[id]/layout.tsx
+++ b/app/[lng]/evcp/(evcp)/bid/[id]/layout.tsx
@@ -49,7 +49,15 @@ export default async function SettingsLayout({
<section className="overflow-hidden rounded-[0.5rem] border bg-background shadow">
<div className="hidden space-y-6 p-10 pb-16 md:block">
{/* RFQ 목록으로 돌아가는 링크 추가 */}
- <div className="flex items-center justify-end mb-4">
+ <div className="flex justify-between items-center mb-4">
+ <div>
+ {/* 4) 입찰 정보가 있으면 번호 + 제목 + "상세 정보" 표기 */}
+ <h2 className="text-2xl font-bold tracking-tight">
+ {bidding
+ ? `입찰 No. ${bidding.biddingNumber ?? ""} - ${bidding.title}`
+ : "Loading Bidding..."}
+ </h2>
+ </div>
<Link href={`/${lng}/evcp/bid`} passHref>
<Button variant="ghost" className="flex items-center text-primary hover:text-primary/80 transition-colors p-0 h-auto">
<ArrowLeft className="mr-1 h-4 w-4" />
@@ -57,14 +65,7 @@ export default async function SettingsLayout({
</Button>
</Link>
</div>
- <div className="space-y-0.5">
- {/* 4) 입찰 정보가 있으면 번호 + 제목 + "상세 정보" 표기 */}
- <h2 className="text-2xl font-bold tracking-tight">
- {bidding
- ? `입찰 No. ${bidding.biddingNumber ?? ""} - ${bidding.title}`
- : "Loading Bidding..."}
- </h2>
- </div>
+
{/* 입찰 정보 헤더 */}
<BiddingInfoHeader bidding={bidding} />