@ministryofjustice/frontend
Advanced tools
Comparing version 0.0.11-alpha to 0.0.12-alpha
@@ -32,46 +32,2 @@ # Header | ||
### With primary navigation | ||
``` | ||
{% call mojHeader({ | ||
organisationLabel: { | ||
text: 'Organisation name', | ||
href: '#' | ||
}, | ||
serviceLabel: { | ||
text: 'Service name', | ||
href: '#' | ||
}, | ||
navigation: { | ||
label: 'Account navigation', | ||
items: [{ | ||
text: 'Account name', | ||
href: '#', | ||
active: true | ||
}, { | ||
text: 'Sign out', | ||
href: '#' | ||
}] | ||
} | ||
}) %} | ||
{{ mojPrimaryNavigation({ | ||
label: 'Primary navigation', | ||
items: [{ | ||
text: 'Nav item 1', | ||
href: '#', | ||
active: true | ||
}, { | ||
text: 'Nav item 2', | ||
href: '#' | ||
}, { | ||
text: 'Nav item 3', | ||
href: '#' | ||
}] | ||
}) }} | ||
{% endcall %} | ||
``` | ||
## Arguments | ||
@@ -78,0 +34,0 @@ |
{ | ||
"name": "@ministryofjustice/frontend", | ||
"description": "The MOJ Frontend contains the code you need to start building user interfaces for UK Ministry of Justice government services.", | ||
"version": "0.0.11-alpha", | ||
"version": "0.0.12-alpha", | ||
"main": "all.js", | ||
@@ -6,0 +6,0 @@ "sass": "all.scss", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
530790
156