options.js
27 lines
| 1 | /* globals Give */ |
| 2 | /** |
| 3 | * WordPress dependencies |
| 4 | */ |
| 5 | const { __ } = wp.i18n; |
| 6 | |
| 7 | /** |
| 8 | * Options data for various form selects |
| 9 | */ |
| 10 | const giveFormOptions = {}; |
| 11 | |
| 12 | // Form Display Styles |
| 13 | giveFormOptions.displayStyles = [ |
| 14 | { value: 'onpage', label: __( 'Full Form' ) }, |
| 15 | { value: 'modal', label: __( 'Modal' ) }, |
| 16 | { value: 'reveal', label: __( 'Reveal' ) }, |
| 17 | { value: 'button', label: __( 'One Button Launch' ) }, |
| 18 | ]; |
| 19 | |
| 20 | // Form content Position |
| 21 | giveFormOptions.contentPosition = [ |
| 22 | { value: 'above', label: __( 'Above' ) }, |
| 23 | { value: 'below', label: __( 'Below' ) }, |
| 24 | ]; |
| 25 | |
| 26 | export default giveFormOptions; |
| 27 |