- 전체 인라인 SVG를 Google Material Symbols Rounded로 교체 - Icon 컴포넌트 추가, cuisine-icons 매핑 리팩토링 - Tasteby 핀 로고 이미지 적용 (라이트/다크 버전) - 테이블링/캐치테이블 이름 유사도 체크 및 리셋 API 추가 - 어드민 페이지 리셋 버튼 추가 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
471 B
TypeScript
24 lines
471 B
TypeScript
"use client";
|
|
|
|
interface IconProps {
|
|
name: string;
|
|
size?: number;
|
|
filled?: boolean;
|
|
className?: string;
|
|
}
|
|
|
|
/**
|
|
* Material Symbols Rounded icon wrapper.
|
|
* Usage: <Icon name="search" size={20} />
|
|
*/
|
|
export default function Icon({ name, size = 20, filled, className = "" }: IconProps) {
|
|
return (
|
|
<span
|
|
className={`material-symbols-rounded ${filled ? "filled" : ""} ${className}`}
|
|
style={{ fontSize: size }}
|
|
>
|
|
{name}
|
|
</span>
|
|
);
|
|
}
|