260202_01_ENH: route 구조 초창기 기획으로 다시 변경 및 Category 별 하위 페이지에 샘플 데이터 모두 적용
This commit is contained in:
@@ -20,13 +20,13 @@ const BannerButtons = ({
|
||||
key={banner.variable}
|
||||
onClick={() => onSelectBanner(banner)}
|
||||
className={`
|
||||
px-4 py-2 text-sm font-medium rounded-lg transition-colors
|
||||
${
|
||||
selectedBanner === banner
|
||||
? "bg-primary text-primary-foreground"
|
||||
: "bg-gray-100 text-gray-700 hover:bg-gray-200"
|
||||
}
|
||||
`}
|
||||
px-4 py-2 text-sm font-bold rounded-lg transition-colors cursor-pointer
|
||||
${
|
||||
selectedBanner === banner
|
||||
? "bg-primary text-primary-foreground"
|
||||
: "bg-gray-100 text-gray-700 hover:bg-primary hover:text-primary-foreground"
|
||||
}
|
||||
`}
|
||||
>
|
||||
{banner.variableName}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user