@violetprotocol/nudge-components
Version:
Components for Nudge's websites and applications.
6 lines (5 loc) • 2.32 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { DEFAULT_LARGE_ICON_COLOR } from "../SocialIcon";
export const DiscordLargeIcon = ({ color }) => {
return (_jsxs("svg", { width: "48", height: "49", viewBox: "0 0 48 49", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("rect", { y: "0.613281", width: "48", height: "48", rx: "24", fill: "#5763F1" }), _jsx("path", { d: "M32.317 16.7684C30.7873 16.0665 29.147 15.5494 27.4319 15.2532C27.4007 15.2475 27.3695 15.2618 27.3534 15.2903C27.1424 15.6655 26.9087 16.155 26.7451 16.5398C24.9004 16.2636 23.0652 16.2636 21.2583 16.5398C21.0946 16.1465 20.8525 15.6655 20.6406 15.2903C20.6245 15.2627 20.5933 15.2484 20.562 15.2532C18.8479 15.5484 17.2076 16.0655 15.6769 16.7684C15.6637 16.7741 15.6523 16.7836 15.6448 16.796C12.5334 21.4443 11.681 25.9785 12.0992 30.4563C12.1011 30.4782 12.1134 30.4992 12.1304 30.5125C14.1832 32.0201 16.1717 32.9353 18.1233 33.5419C18.1545 33.5514 18.1876 33.54 18.2075 33.5143C18.6691 32.8839 19.0806 32.2191 19.4335 31.5201C19.4543 31.4792 19.4344 31.4306 19.3919 31.4144C18.7391 31.1668 18.1176 30.8649 17.5197 30.5221C17.4724 30.4944 17.4687 30.4268 17.5122 30.3944C17.638 30.3001 17.7638 30.202 17.884 30.103C17.9057 30.0849 17.936 30.0811 17.9615 30.0925C21.8893 31.8858 26.1415 31.8858 30.023 30.0925C30.0485 30.0802 30.0788 30.084 30.1015 30.1021C30.2216 30.2011 30.3475 30.3001 30.4742 30.3944C30.5177 30.4268 30.5149 30.4944 30.4676 30.5221C29.8697 30.8715 29.2482 31.1668 28.5945 31.4134C28.552 31.4296 28.533 31.4792 28.5538 31.5201C28.9143 32.2181 29.3258 32.8829 29.7789 33.5133C29.7978 33.54 29.8319 33.5514 29.8631 33.5419C31.8241 32.9353 33.8126 32.0201 35.8654 30.5125C35.8834 30.4992 35.8948 30.4792 35.8967 30.4573C36.3971 25.2804 35.0585 20.7834 32.3482 16.7969C32.3416 16.7836 32.3303 16.7741 32.317 16.7684ZM20.02 27.7298C18.8375 27.7298 17.8631 26.6441 17.8631 25.3108C17.8631 23.9776 18.8186 22.8919 20.02 22.8919C21.2309 22.8919 22.1958 23.9871 22.1769 25.3108C22.1769 26.6441 21.2214 27.7298 20.02 27.7298ZM27.9947 27.7298C26.8123 27.7298 25.8379 26.6441 25.8379 25.3108C25.8379 23.9776 26.7933 22.8919 27.9947 22.8919C29.2056 22.8919 30.1705 23.9871 30.1516 25.3108C30.1516 26.6441 29.2056 27.7298 27.9947 27.7298Z", fill: color ?? DEFAULT_LARGE_ICON_COLOR })] }));
};