-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathnavigation.rb
21 lines (21 loc) · 994 Bytes
/
navigation.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SimpleNavigation::Configuration.run do |navigation|
navigation.items do |primary|
primary.item :index, 'PaaSfinder', '/vendors' do |index|
index.item :vendor, @paas, @vendor_path do |vendor|
vendor.item :update, 'Update', @update_vendor_path do |update|
update.item :review, 'Review', @review_vendor_path
end
end
index.item :filter, 'Find your PaaS', '/filter'
index.item :terms, 'Terms of service', '/terms'
index.item :compare, '1on1', @versus_path
index.item :statistics, 'Statistics', '/statistics' do |statistics|
statistics.item :languages, 'Runtime Languages', '/statistics/languages'
statistics.item :services, 'Native Services', '/statistics/services'
statistics.item :status, 'Status', '/statistics/status'
statistics.item :infrastructures, 'Infrastructures', '/statistics/infrastructures'
statistics.item :data, 'Data Quality', '/statistics/data'
end
end
end
end