Skip to content

Commit

Permalink
Wd 17296 dev create solutions open source security cyber resilience a…
Browse files Browse the repository at this point in the history
…ct (#14560)

* do some work in advance

* wip 2

* make full page

* add form

* add required fields

* try using form data

* formdata doesnot work

* this makes no sense whatsoever

* Enable form template

* Add appropriate classes to invoke modal

* Add labels

* add paper body

* fix convcerns

* form look a bit better

* make forms great again

* delete unnecessary stuff

* fix some stuff

* Some more design updates

* Last design update

* Update templates/solutions/open-source-security/cyber-resilience-act/index.html

Co-authored-by: Fasih Mehmood <[email protected]>

* format images

* some code changes requested by Britney

---------

Co-authored-by: Britney Wang <[email protected]>
Co-authored-by: Fasih Mehmood <[email protected]>
  • Loading branch information
3 people authored Jan 6, 2025
1 parent fa92047 commit 60dab9f
Show file tree
Hide file tree
Showing 3 changed files with 664 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meganav.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,9 @@ products:
- title: Device management
description: Manage fleets of IoT devices
url: /internet-of-things/management
- title: "Cyber Resilience Act"
description: Meet CRA requirements with Ubuntu and Canonical
url: /solutions/open-source-security/cyber-resilience-act
- title: Certified devices
description: Hardware/OS compatibility
url: /certified/devices
Expand Down
55 changes: 55 additions & 0 deletions static/files/forms-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,61 @@
]
}
]
},
"/solutions/open-source-security/cyber-resilience-act": {
"templatePath": "/solutions/open-source-security/cyber-resilience-act/index.html",
"isModal": true,
"modalId": "contact-modal",
"formData": {
"title": "Get in touch with our experts on the Cyber Resilience Act (CRA) compliance",
"formId": "6051",
"returnUrl": "/solutions/open-source-security/cyber-resilience-act/index.html#contact-form-success",
"product": ""
},
"fieldsets": [
{
"title": "Fill in this form and a member of our team will be in touch shortly.",
"id": "contact-form",
"fields": [
{
"type": "text",
"label": "First name",
"id": "firstName",
"isRequired": true
},
{
"type": "text",
"label": "Last name",
"id": "lastName",
"isRequired": true
},
{
"type": "email",
"id": "email",
"label": "Email address",
"isRequired": true
},
{
"type": "tel",
"id": "phone",
"label":"Mobile/cell phone number",
"isRequired": false
},
{
"type": "text",
"id": "company",
"label": "Company name",
"isRequired": false
},
{
"type": "text",
"id": "job-title",
"label": "Job title",
"isRequired": false
}
]
}
]
}
}
}
Loading

0 comments on commit 60dab9f

Please sign in to comment.