- {headerData.map((item: any, i: any) => (
-
+
+ {headerData.map((item: any, i: any) => (
+
+ {/* <
+ className="slider-header__right d-flex"
+ style={{ backgroundColor: item.backgroundColor }}
+ > */}
+
+
+ {/*
-
-
-
- {item.authorImage &&
}
-
-
{item.extraText}
- {/* نویسنده */}
-
-
- {/*
{(Number(i) + 1)}
*/}
-
{item.title}
-
{item.subTitle}
-
-
- ))}
-
-
- {headerData.map((item1: any, i: any) => (
-
-
-
- {"."}
- {item1.title}
-
-
- ))}
-
-
-
+
{item.title}
+
{item.subTitle}
+ {item.buttonText && (
+
{item.buttonText}
+ )}
+