feat: bilingual support (FA/EN), IRANSans typography, RTL layout, and interactive product detail pages

This commit is contained in:
s.esmaeili
2026-10-04 07:11:52 +03:30
commit a001fa5d5f
302 changed files with 35491 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import type { ButtonHTMLAttributes } from "react";
type ControlButtonVariant = "ghost" | "menu" | "primary";
interface ControlButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
iconOnly?: boolean;
variant?: ControlButtonVariant;
}
export function ControlButton({
className,
iconOnly = false,
type = "button",
variant = "ghost",
...props
}: ControlButtonProps) {
return (
<button
{...props}
type={type}
className={`slide-kit-button ${className ?? ""}`.trim()}
data-icon-only={iconOnly ? "true" : undefined}
data-variant={variant}
/>
);
}