File tree Expand file tree Collapse file tree
app/views/flexible_page/flexible_sections Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< div class ="govuk-grid-row flexible-section ">
2- <%= render "govuk_publishing_components/components/service_navigation" , {
3- navigation_items : flexible_section . items ,
2+ <%= render "components/nested_navigation" , {
3+ items : [
4+ {
5+ text : "Service Name" ,
6+ href : "/service-name"
7+ } ,
8+ {
9+ text : "A basic link" ,
10+ href : "/something"
11+ } ,
12+ {
13+ text : "Nested Heading" ,
14+ links : [
15+ {
16+ text : "Example Link" ,
17+ href : "/hello-world"
18+ } ,
19+ {
20+ text : "Example Link 2" ,
21+ href : "/hello-world"
22+ } ,
23+ {
24+ text : "Example Link 3" ,
25+ href : "/hello-world"
26+ } ,
27+ {
28+ text : "This is a very very very long link" ,
29+ href : "/hello-world"
30+ } ,
31+ {
32+ text : "Another link that has a lot of characters" ,
33+ href : "/hello-world"
34+ } ,
35+ {
36+ text : "Third link containing a lot of text" ,
37+ href : "/hello-world"
38+ }
39+ ]
40+ } ,
41+ {
42+ text : "Third Link" ,
43+ href : "/example1"
44+ } ,
45+ {
46+ text : "Fourth Link" ,
47+ href : "/example1"
48+ }
49+ ]
450} %>
551</ div >
652
You can’t perform that action at this time.
0 commit comments