bundle installto install middleman and its dependenciesnpm installto install the frontend dependenciesbundle exec middleman server- to start middleman's built in serveropen http://localhost:4567- to open the example in your browser
bundle installnpm installbundle exec middleman build
Check the build directory for the output.
Look at the CSS for the individual components for usage examples and notes.
- Breadcrumbs
- Content Section
- Full Width Form
- GOV.UK Logo
- Header
- Hero 'Alternative Action'
- Hero Button
- Masthead
- Phase Banner
- Related Items
- Skip Link
- Sub Navigation
Releases are created when changes are merged into the master branch.
The product page is deployed as part of pay-frontend.
- Update the
pay-product-pagedependency in thepackage.jsonfile inpay-frontendto point to the GitHub URL for the.tarfile associated with the GitHub release. - Within
pay-frontend, runnpm install. - Merge and deploy the changes to
pay-frontend.
GOV.UK Pay aims to stay secure for everyone. If you are a security researcher and have discovered a security vulnerability in this code, we appreciate your help in disclosing it to us in a responsible manner. Please refer to our vulnerability disclosure policy and our security.txt file for details.