[feat] 공급사 포털: 협상완료 부가정보(select·종료 동의폼)·상태 라벨 통일·예아니오 Enter=예·목록 결과열·재협상 요청/철회 API·테스트
This commit is contained in:
1 parent
cfee6e89d0
commit
d7c4e86f30
46 files changed
+1715
-270
No files matched your search
@@ -1,9 +1,11 @@
|
||||
import { type ReactNode } from 'react'
|
||||
import { cn } from '@/lib'
|
||||
|
||||
// safe-t: 노치 기기에서 헤더가 상태바 밑으로 파고들지 않도록 안전영역만큼 키운다(h-[56px] 은 콘텐츠 높이).
|
||||
// safe-t: 노치 기기에서 헤더가 상태바 밑으로 파고들지 않도록 안전영역만큼 키운다.
|
||||
// box-content 금지 — w-full + px-* 와 겹치면 폭이 "부모100% + 좌우패딩"이 되어 오른쪽이 잘린다.
|
||||
// 대신 border-box(기본) 유지하고 min-h 로 56px + 안전영역을 확보한다.
|
||||
const HEADER_BASE =
|
||||
'flex w-full h-[56px] box-content safe-t items-center bg-white text-foreground border-b border-border'
|
||||
'flex w-full min-h-[calc(56px+env(safe-area-inset-top))] safe-t items-center bg-white text-foreground border-b border-border'
|
||||
|
||||
const HEADER_ALIGN = {
|
||||
left: 'justify-start',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useNavigate } from 'react-router'
|
||||
import { Bell, LogOut } from 'lucide-react'
|
||||
import { LogOut } from 'lucide-react'
|
||||
import { useLogoutMutation, useMeQuery } from '@/apis'
|
||||
import { Logo } from '@/components'
|
||||
import { cn, interactive } from '@/lib'
|
||||
@@ -18,6 +18,7 @@ export function PortalHeader() {
|
||||
<Logo size="md" serviceName={user?.branding?.service_name} logoUrl={user?.branding?.logo_url} />
|
||||
|
||||
<div className="flex items-center gap-2 sm:gap-3">
|
||||
{/* 알림함(notifications 테이블) 구현 전까지 비활성.
|
||||
<button
|
||||
type="button"
|
||||
aria-label="알림"
|
||||
@@ -29,6 +30,7 @@ export function PortalHeader() {
|
||||
<Bell className="size-5" />
|
||||
<span className="absolute right-2 top-2 size-1.5 rounded-full bg-brand-600" />
|
||||
</button>
|
||||
*/}
|
||||
|
||||
<div className="hidden min-w-0 flex-col items-end sm:flex">
|
||||
<span className="max-w-[180px] truncate text-[13px] font-bold text-neutral-90">
|
||||
|
||||
Reference in new issue
Block a user