+
+
+
+
+
+ {section.background.type === 'solid' && (
+
+ )}
+
+ {section.background.type === 'gradient' && (
+
+
+
+
+
+
+ {!Object.values(PREDEFINED_GRADIENTS).some(
+ preset => preset.colors[0] === section.background.colors?.[0] &&
+ preset.colors[1] === section.background.colors?.[1]
+ ) ? (
+
+ ) : (
+
+
+
+
+ )}
+
+
+
+
+
+
+
+
+ )}
+
+ {section.background.type === 'image' && (
+
+
+
+
+
+
+
+ {section.background.image && (
+
+

+
+ )}
+
+
+ )}
+
+
+
+ onChange({
+ ...section,
+ heading: { ...section.heading, text: e.target.value }
+ })}
+ placeholder="Enter heading text"
+ />
+
+
+
+
+
+ onChange({
+ ...section,
+ subheading: { ...section.subheading, text: e.target.value }
+ })}
+ placeholder="Enter subheading text"
+ />
+
+
+