You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3bc919a
Browse filesBrowse the repository at this point in the historyBrowse files
"elements": [/* MULTIPLE elements here - not just one! */]
41
41
}
42
42
```
43
43
44
44
## Element Reference
45
45
46
46
**text** - Rich text content
47
47
```json
48
-
{"elementType":"text","answersJSON":"{\"text\":\"<h1>Welcome to Grace Church</h1><p>Join us for worship every Sunday at 9am and 11am.</p>\",\"textAlignment\":\"center\"}"}
48
+
{"elementType":"text","sort":0,"answersJSON":"{\"text\":\"<h2>Section Heading</h2><p>Supporting paragraph with details.</p>\",\"textAlignment\":\"center\"}"}
49
49
```
50
50
51
51
**textWithPhoto** - Text with image (photoPosition: "left" or "right")
52
52
```json
53
-
{"elementType":"textWithPhoto","answersJSON":"{\"text\":\"<h2>Our Mission</h2><p>We exist to connect people with God and each other through authentic community and biblical teaching.</p>\",\"photo\":\"https://picsum.photos/800/600?random=1\",\"photoAlt\":\"Church community\",\"photoPosition\":\"left\"}"}
53
+
{"elementType":"textWithPhoto","sort":0,"answersJSON":"{\"text\":\"<h2>Our Mission</h2><p>We exist to connect people with God and each other through authentic community and biblical teaching.</p>\",\"photo\":\"https://picsum.photos/800/600?random=1\",\"photoAlt\":\"Church community\",\"photoPosition\":\"left\"}"}
54
54
```
55
55
56
-
**row** - Multi-column layout. MUST have child elements matching column count.
56
+
**row** - Multi-column layout. Child count MUST match column count.
{"elementType":"card","sort":0,"answersJSON":"{\"photo\":\"https://picsum.photos/600/400?random=1\",\"photoAlt\":\"Youth ministry\",\"title\":\"Youth Ministry\",\"titleAlignment\":\"center\",\"text\":\"<p>Weekly activities and Bible study for teens grades 6-12.</p>\",\"textAlignment\":\"center\"}"},
60
-
{"elementType":"card","sort":1,"answersJSON":"{\"photo\":\"https://picsum.photos/600/400?random=2\",\"photoAlt\":\"Worship team\",\"title\":\"Worship Team\",\"titleAlignment\":\"center\",\"text\":\"<p>Use your musical gifts to lead our congregation in praise.</p>\",\"textAlignment\":\"center\"}"},
61
-
{"elementType":"card","sort":2,"answersJSON":"{\"photo\":\"https://picsum.photos/600/400?random=3\",\"photoAlt\":\"Community outreach\",\"title\":\"Outreach\",\"titleAlignment\":\"center\",\"text\":\"<p>Serve our neighbors through food drives and local partnerships.</p>\",\"textAlignment\":\"center\"}"}
{"elementType":"card","sort":0,"answersJSON":"{\"photo\":\"https://picsum.photos/600/400?random=1\",\"photoAlt\":\"Youth\",\"title\":\"Youth Ministry\",\"titleAlignment\":\"center\",\"text\":\"<p>Weekly activities for teens.</p>\",\"textAlignment\":\"center\"}"},
60
+
{"elementType":"card","sort":1,"answersJSON":"{\"photo\":\"https://picsum.photos/600/400?random=2\",\"photoAlt\":\"Worship\",\"title\":\"Worship Team\",\"titleAlignment\":\"center\",\"text\":\"<p>Lead our congregation in praise.</p>\",\"textAlignment\":\"center\"}"},
{"elementType":"faq","answersJSON":"{\"title\":\"What should I wear?\",\"description\":\"<p>Come as you are! We have no dress code. You'll see everything from jeans to suits.</p>\",\"headingType\":\"h6\"}"}
67
+
{"elementType":"faq","sort":1,"answersJSON":"{\"title\":\"What should I wear?\",\"description\":\"<p>Come as you are! We have no dress code. You'll see everything from jeans to suits.</p>\",\"headingType\":\"h6\"}"}
74
68
```
75
69
76
70
**buttonLink** - Styled button
77
71
```json
78
-
{"elementType":"buttonLink","answersJSON":"{\"buttonLinkText\":\"Plan Your Visit\",\"buttonLinkUrl\":\"/visit\",\"buttonLinkVariant\":\"contained\",\"buttonLinkColor\":\"primary\"}"}
72
+
{"elementType":"buttonLink","sort":2,"answersJSON":"{\"buttonLinkText\":\"Plan Your Visit\",\"buttonLinkUrl\":\"/visit\",\"buttonLinkVariant\":\"contained\",\"buttonLinkColor\":\"primary\"}"}
{"elementType":"faq","sort":2,"answersJSON":"{\"title\":\"Where do I park?\",\"description\":\"<p>We have a large parking lot behind the building with plenty of free spaces. Greeters will help direct you to available spots.</p>\",\"headingType\":\"h6\"}"},
119
+
{"elementType":"faq","sort":3,"answersJSON":"{\"title\":\"What about my kids?\",\"description\":\"<p>We offer age-appropriate programs for children from nursery through 5th grade. Check in at our Kids Welcome Center in the main lobby.</p>\",\"headingType\":\"h6\"}"},
120
+
{"elementType":"faq","sort":4,"answersJSON":"{\"title\":\"What should I wear?\",\"description\":\"<p>Come as you are! You'll see everything from jeans and t-shirts to business casual. We care about you, not your clothes.</p>\",\"headingType\":\"h6\"}"}
121
+
]
122
+
}
123
+
```
108
124
109
-
## Example: Transforming Content Hints
125
+
###Example 2: Features Section with Cards
110
126
111
-
Input hints:
127
+
Input outline:
112
128
```json
113
-
{"headline":"What to Expect","keyPoints":["Casual dress","75-minute service","Children's programs"]}
129
+
{
130
+
"id": "section-1",
131
+
"purpose": "Highlight what to expect",
132
+
"suggestedElements": ["text (heading)", "row with 3 cards"],
{"elementType":"text","sort":0,"answersJSON":"{\"text\":\"<h2>What to Expect</h2><p>Your first visit will be comfortable and welcoming.</p>\",\"textAlignment\":\"center\"}"},
{"elementType":"card","sort":0,"answersJSON":"{\"photo\":\"https://picsum.photos/600/400?random=10\",\"photoAlt\":\"Casual atmosphere\",\"title\":\"Come As You Are\",\"titleAlignment\":\"center\",\"text\":\"<p>There's no dress code here. Whether you prefer jeans or a suit, you'll fit right in.</p>\",\"textAlignment\":\"center\"}"},
130
-
{"elementType":"card","sort":1,"answersJSON":"{\"photo\":\"https://picsum.photos/600/400?random=11\",\"photoAlt\":\"Worship service\",\"title\":\"About 75 Minutes\",\"titleAlignment\":\"center\",\"text\":\"<p>Our services include worship music, a relevant message, and time for prayer.</p>\",\"textAlignment\":\"center\"}"},
131
-
{"elementType":"card","sort":2,"answersJSON":"{\"photo\":\"https://picsum.photos/600/400?random=12\",\"photoAlt\":\"Children's ministry\",\"title\":\"Kids Are Welcome\",\"titleAlignment\":\"center\",\"text\":\"<p>We offer age-appropriate programs for infants through 5th grade.</p>\",\"textAlignment\":\"center\"}"}
154
+
{"elementType":"card","sort":1,"answersJSON":"{\"photo\":\"https://picsum.photos/600/400?random=11\",\"photoAlt\":\"Worship service\",\"title\":\"About 75 Minutes\",\"titleAlignment\":\"center\",\"text\":\"<p>Our services include worship music, a relevant message from Scripture, and time for prayer.</p>\",\"textAlignment\":\"center\"}"},
155
+
{"elementType":"card","sort":2,"answersJSON":"{\"photo\":\"https://picsum.photos/600/400?random=12\",\"photoAlt\":\"Children's ministry\",\"title\":\"Kids Are Welcome\",\"titleAlignment\":\"center\",\"text\":\"<p>We offer safe, fun programs for infants through 5th grade during all services.</p>\",\"textAlignment\":\"center\"}"}
{"elementType":"text","sort":0,"answersJSON":"{\"text\":\"<h1>Welcome to Grace Church</h1>\",\"textAlignment\":\"center\"}"},
189
+
{"elementType":"text","sort":1,"answersJSON":"{\"text\":\"<p>A place where everyone belongs. Join us this Sunday as we worship together, grow in faith, and build meaningful relationships.</p>\",\"textAlignment\":\"center\"}"},
{"elementType":"buttonLink","sort":3,"answersJSON":"{\"buttonLinkText\":\"Plan Your Visit\",\"buttonLinkUrl\":\"/visit\",\"buttonLinkVariant\":\"contained\",\"buttonLinkColor\":\"secondary\"}"}
{"elementType":"text","sort":0,"answersJSON":"{\"text\":\"<h2>Ready to Join Us?</h2><p>We'd love to meet you this Sunday. Services are at 9am and 11am.</p>\",\"textAlignment\":\"center\"}"},
0 commit comments