Skip to content

Commit ff0e5d6

Browse files
authored
Merge pull request #2492 from canonical/WD-35732
implement data/etcd page
2 parents a9dbefa + 142a950 commit ff0e5d6

5 files changed

Lines changed: 526 additions & 1 deletion

File tree

secondary-navigation.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@ data:
5353
- title: Portfolio
5454
path: /data
5555

56+
etcd:
57+
title: etcd
58+
path: /data/etcd
59+
60+
parent:
61+
- title: All data solutions
62+
- path: /data
63+
64+
children:
65+
- title: Overview
66+
path: /data/etcd
67+
- title: Docs
68+
path: https://canonical-charmed-etcd.readthedocs-hosted.com/
69+
5670
kafka:
5771
title: Kafka
5872
path: /data/kafka

templates/data/etcd/form-data.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"form": {
3+
"/data/etcd": {
4+
"templatePath": "/data/etcd/index.html",
5+
"isModal": true,
6+
"modalId": "data-etcd-modal",
7+
"formData": {
8+
"title": "Talk to our etcd experts",
9+
"introText": "Fill in this form and a member of our team will be in touch shortly.",
10+
"formId": "7854",
11+
"returnUrl": "/data/etcd#contact-form-success",
12+
"product": ""
13+
},
14+
"fieldsets": [
15+
{
16+
"title": "Tell us more about your etcd use case",
17+
"id": "comments",
18+
"isRequired": false,
19+
"fields": [
20+
{
21+
"type": "long-text",
22+
"id": "comments"
23+
}
24+
]
25+
},
26+
{
27+
"title": "How should we get in touch?",
28+
"id": "about-you",
29+
"noCommentsFromLead": true,
30+
"fields": [
31+
{
32+
"type": "tel",
33+
"id": "phone",
34+
"label": "Mobile/cell phone number",
35+
"isRequired": false
36+
}
37+
]
38+
}
39+
]
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)