Path: blob/master/src/packages/next/components/support/util.tsx
1449 views
import { Alert } from "antd";12import Contact from "components/landing/contact";3import { useCustomize } from "lib/customize";45export function NoZendesk() {6const { contactEmail } = useCustomize();78return (9<Alert10type="error"11message="Support system is not configured."12style={{ margin: "30px auto", maxWidth: "400px", fontSize: "13pt" }}13description={14contactEmail && (15<>16You can still <Contact lower useHelpEmail />.17</>18)19}20/>21);22}2324export function Placeholder({ children }) {25// This is because the placeholder text that antd uses is WAY26// too light, according to Google's Lighthouse accessibility score.27return <span style={{ color: "#888" }}>{children}</span>;28}293031