[feat] front: List/Chat 레이아웃 + 목록 필터 섹션 구현
- layouts: 공통 2분할 레이아웃 MainLayout(좌 사이드바/우 메인, 로고 헤더, 헤더 아래 콘텐츠 면) + 다크 헤더 바 MainHeaderBar 분리 - pages: ListPage/ChatPage 를 MainLayout 기반으로 구성(견적 선택/협상 잔여 시간 헤더) - features/list: 필터 섹션 추가 — ListFilter(요소)/FilterSection(컨테이너)/ filterOptions(데이터)/useListFilterStore(상태), SidebarFooter 분리 - deps: lucide-react 추가(필터 화살표·목록 이동 아이콘) - refactor: 모든 import 를 @ alias 로 통일 - fix: Button secondary variant hover(=accent 동일색) 및 필터 화살표 hover 색상 보정 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
9de140abd6
commit
6da8976a20
19 files changed
+374
-15
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { type ComponentProps } from 'react'
|
||||
import { cn } from './cn'
|
||||
import { cn } from '@/components/cn'
|
||||
|
||||
export type ButtonVariant =
|
||||
| 'primary'
|
||||
@@ -19,7 +19,7 @@ const base =
|
||||
// hover 는 한 단계 톤다운(brand-700) — 디자인 선호
|
||||
const variantClass: Record<ButtonVariant, string> = {
|
||||
primary: 'bg-primary text-primary-foreground hover:bg-brand-700',
|
||||
secondary: 'bg-secondary text-secondary-foreground hover:bg-accent',
|
||||
secondary: 'bg-secondary text-secondary-foreground hover:bg-border',
|
||||
outline:
|
||||
'border border-input bg-background hover:bg-accent hover:text-accent-foreground',
|
||||
ghost: 'hover:bg-accent hover:text-accent-foreground',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { type ComponentProps } from 'react'
|
||||
import { cn } from './cn'
|
||||
import { cn } from '@/components/cn'
|
||||
|
||||
export function Input({ type = 'text', className, ...props }: ComponentProps<'input'>) {
|
||||
return (
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { type ComponentProps } from 'react'
|
||||
import { cn } from './cn'
|
||||
import { cn } from '@/components/cn'
|
||||
import logoColor from '@/assets/imarketkorea-logo.png'
|
||||
import logoWhite from '@/assets/imarketkorea-logo-white.png'
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export { cn } from './cn'
|
||||
export { Button } from './Button'
|
||||
export type { ButtonProps, ButtonVariant, ButtonSize } from './Button'
|
||||
export { Input } from './Input'
|
||||
export { Logo } from './Logo'
|
||||
export type { LogoProps, LogoVariant } from './Logo'
|
||||
export { cn } from '@/components/cn'
|
||||
export { Button } from '@/components/Button'
|
||||
export type { ButtonProps, ButtonVariant, ButtonSize } from '@/components/Button'
|
||||
export { Input } from '@/components/Input'
|
||||
export { Logo } from '@/components/Logo'
|
||||
export type { LogoProps, LogoVariant } from '@/components/Logo'
|
||||
Reference in new issue
Block a user