Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WD-17111 - Implement new data/streaming page and form #1470

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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