Skip to content

Commit

Permalink
feat: implement new data/streaming page
Browse files Browse the repository at this point in the history
  • Loading branch information
pedoch committed Jan 6, 2025
1 parent c8ba5a2 commit 328f639
Show file tree
Hide file tree
Showing 4 changed files with 492 additions and 1 deletion.
2 changes: 2 additions & 0 deletions secondary-navigation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ data:
path: /data/valkey
- title: Docs
path: /data/docs
- title: Streaming
path: /data/streaming

kafka:
title: Kafka
Expand Down
67 changes: 67 additions & 0 deletions static/files/forms-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,73 @@
]
}
]
},
"/data/streaming": {
"templatePath": "/data/streaming.html",
"isModal": true,
"modalId": "data-streaming-modal",
"formData": {
"title": "Talk to our Apache Kafka solution architects",
"formId": "5522",
"returnUrl": "/data/streaming#contact-form-success",
"product": ""
},
"fieldsets": [
{
"title": "Tell us more about your Kafka use case",
"id": "comments",
"isRequired": false,
"fields": [
{
"type": "long-text",
"id": "comments",
"placeholder": "Anything you'd like to communicate about your needs or interests?"
}
]
},
{
"title": "How should we get in touch?",
"id": "about-you",
"noCommentsFromLead": true,
"fields": [
{
"type": "text",
"id": "firstName",
"label": "First name",
"isRequired": true
},
{
"type": "text",
"id": "lastName",
"label": "Last name",
"isRequired": true
},
{
"type": "text",
"id": "company",
"label": "Company name",
"isRequired": true
},
{
"type": "text",
"id": "title",
"label": "Job title",
"isRequired": true
},
{
"type": "email",
"id": "email",
"label": "Work email",
"isRequired": true
},
{
"type": "tel",
"id": "phone",
"label": "Mobile/cell phone number"
}
]
}
]
}
}
}
6 changes: 5 additions & 1 deletion templates/data/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,12 @@
<loc>https://canonical.com/data/postgresql</loc>
<changefreq>monthly</changefreq>
</url>
<url>
<url>
<loc>https://canonical.com/data/postgresql/what-is-postgresql</loc>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>https://canonical.com/data/streaming</loc>
<changefreq>monthly</changefreq>
</url>
</urlset>
Loading

0 comments on commit 328f639

Please sign in to comment.