/* Icon set + reusable components for เฮียบัญชีบอต landing */ const Icon = ({ name, size = 24 }) => { const props = { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round" }; switch (name) { case "chat": return (); case "chart": return (); case "tag": return (); case "bell": return (); case "download": return (); case "shield": return (); case "check": return (); case "line": return (); case "phone": return (); case "lightning": return (); case "wallet": return (); case "receipt": return (); case "calendar": return (); case "arrow": return (); case "fb": return (); case "ig": return (); case "tt": return (); default: return null; } }; // LINE Chat bubble component const Bubble = ({ from, children }) => (
{children}
); // Floating animated card const FloatCard = ({ className, icon, t, v, iconBg, iconColor }) => (
{icon}
{t}
{v}
); Object.assign(window, { Icon, Bubble, FloatCard });