/* eslint-disable jsx-a11y/alt-text */ /* eslint-disable @next/next/no-img-element */ "use client"; import type { IconType } from "@/components/ui/lucid-icon/lucid-icon"; import LIcon from "@/components/ui/lucid-icon/lucid-icon"; interface ErrorProps { message?: string; clientConfig?: any; noHtml?: boolean; } interface ContactLabelProps { type: "mailto" | "tel"; icon?: IconType; label: string; } const ContactLabel = ({ type, icon, label }: ContactLabelProps) => { return ( {icon && ( )} {label} ); }; const ErrorBody = ({ props }: any) => { const ramdomImage = Math.floor(Math.random() * (6 - 1 + 1) + 1); return (
Eva

Hemen dönüyoruz!

şu anda sitemiz bakım aşamasında

Anlayışınız için teşekkür ederiz.

{props?.clientConfig?.domainProducts && (
{props?.clientConfig?.domainProducts![0]?.phone && ( )} {props?.clientConfig?.domainProducts![0]?.email && ( )}
)}
); }; export const Error = (props: ErrorProps) => { const IsHtmlOrDivTag = !props?.noHtml ? "html" : "div"; return ( <> {!props?.noHtml ? ( <> Hata ) : (
)} {props.message}
); }; export default { Error };