Initial commit

This commit is contained in:
2025-10-04 18:22:24 +03:00
commit 2852c2c054
291 changed files with 38109 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
import { Card } from "antd";
import BuildIcon from "components/Icons/ads/BuildIcon";
import LeftRectangle from "components/Icons/LeftRectangle";
import RightRectangle from "components/Icons/RightRectangle";
import ProText from "components/ProText";
import ProTitle from "components/ProTitle";
import { useTranslation } from "react-i18next";
import { useAppSelector } from "redux/hooks";
import styles from "./Ads1.module.css";
export default function Ads1({ className }: { className?: string }) {
const { isRTL } = useAppSelector((state) => state.locale);
const { t } = useTranslation();
return (
<div className={styles.adsContainer + className}>
{isRTL ? (
<LeftRectangle className={styles.leftRectangle} />
) : (
<RightRectangle className={styles.rightRectangle} />
)}
<Card
className={styles.adsCard}
style={{
textAlign: isRTL ? "right" : "left",
}}
>
<ProTitle
style={{
marginTop: 5,
fontSize: 14,
}}
>
{t("home.promotion.description")}
</ProTitle>
<ProText
style={{
marginTop: 5,
fontSize: 14,
}}
>
{t("home.promotion.title")}
</ProText>
<div
style={{
position: "absolute",
[isRTL ? "left" : "right"]: 5,
top: 5,
zIndex: 11,
}}
>
<BuildIcon />
</div>
</Card>
</div>
);
}