app/views/shared/_global_nav.html.erb in engineyard-theme-1.0.5 vs app/views/shared/_global_nav.html.erb in engineyard-theme-2.2.0

- old
+ new

@@ -1,85 +1,74 @@ -<nav> +<div class="nav"> <ul class="navigation"> - <li <%= selected?(/^products/) %>> - <span>Cloud Products</span> - <ul> - <li> - <a href="/products/appcloud">Engine Yard AppCloud</a> - <ul> - <li><a href="/products/appcloud/features">Features</a></li> - <li><a href="/products/appcloud/pricing">Pricing</a></li> - <li><a href="/video/17825326">Video Tour</a></li> - </ul> - </li> - <li> - <a href="/products/xcloud">Engine Yard xCloud</a> - <ul> - <li><a href="/products/xcloud/features">Features</a></li> - <li><a href="/products/xcloud/pricing">Pricing</a></li> - </ul> - </li> - <li> - <a href="/products/technology">Engine Yard Platform</a> - <ul> - <li><a href="/products/technology/stack">Technology Stack</a></li> - </ul> - </li> - </ul> + <li<%= selected?(/^products|partners\/platform-services/) %>> + <a href="http://engineyard.com/products/cloud"><span class="drop">Products</span></a> + <div> + <ul> + <li><a href="http://engineyard.com/products/cloud">Engine Yard Cloud</a></li> + <li><a href="http://engineyard.com/products/managed">Engine Yard Managed</a></li> + <li><a href="http://engineyard.com/products/orchestra">Orchestra PHP Cloud</a></li> + <li><a href="http://engineyard.com/partners/platform-services">Platform Services</a></li> + </ul> + </div> </li> - <li<%= selected?(/^services/) %>> - <span>Support</span> - <ul> - <li><a href="/services">Professional Services</a></li> - <li><a href="http://support.cloud.engineyard.com/">Request Support</a></li> - <li><a href="http://docs.engineyard.com">Documentation</a></li> - <li><a href="http://community.engineyard.com">Community Forums</a></li> - <li><a href="/products/support-policies">Support Policies</a></li> - </ul> + <li<%= selected?(/^support-plans|ruby_on_rails_training|partners\/developers|partners\/training|\/services/) %>> + <a href="http://engineyard.com/support-plans"><span class="drop">Services</span></a> + <div> + <ul> + <li><a href="http://engineyard.com/support-plans">Support Plans</a></li> + <li><a href="http://engineyard.com/ruby_on_rails_training">Training</a></li> + <li><a href="http://engineyard.com/services">Professional Services</a></li> + <li><a href="http://engineyard.com/partners/developers">Dev. &amp; Digital Agencies</a></li> + </ul> + </div> </li> - - <li<%= selected?(/^university/) %>> - <%= link_to '<span>EY University</span>'.html_safe, '/university' %> - </li> - <li> | </li> - - <li<%= selected?(/^developer/) %>> - <span>Resources</span> - <ul> - <li><a href="/videos">Videos</a></li> - <li><a href="/podcasts">Podcasts</a></li> - <li><a href="/developer/webinars">Webinars</a></li> - <li><a href="/developer/events">Events</a></li> - <li><a href="/partners">Development Partners</a></li> - <li><a href="/developer/groups">User Groups</a></li> - <li><a href="http://jobs.engineyard.com">Jobs Board</a></li> - </ul> + <li<%= selected?(/^solutions\/mobile/) %>> + <a href="http://engineyard.com/solutions/mobile"><span class="drop">Solutions</span></a> + <div> + <ul> + <li><a href="http://engineyard.com/solutions/mobile">Mobile</a></li> + </ul> + </div> </li> - <li<%= selected?(/^projects/) %>> - <span>Open Source</span> - <ul> - <li><a href="/open-source">Projects</a></li> - <li><a href="/open-source/people">Contributors</a></li> - </ul> + <li<%= selected?(/^developer|ruby_on_rails_training|videos|podcasts/) %>> + <a href="http://engineyard.com/developer"><span class="drop">Developer Center</span></a> + <div> + <ul> + <li><a href="http://docs.engineyard.com">Documentation</a></li> + <li><a href="http://engineyard.com/videos">Videos</a></li> + <li><a href="http://engineyard.com/podcasts">Podcasts</a></li> + <li><a href="http://engineyard.com/developer/webinars">Webinars</a></li> + <li><a href="http://engineyard.com/developer/events">Events</a></li> + <li><a href="http://engineyard.com/developer/groups">User Groups</a></li> + <li><a href="http://jobs.engineyard.com">Jobs Board</a></li> + </ul> + </div> </li> - <li<%= selected?(/^company/) %>> - <span>About</span> - <ul> - <li><a href="/company/">Overview</a></li> - <li><a href="/company/customers">Customers</a></li> - <li><a href="/company/team">Leadership Team</a></li> - <li><a href="/company/partners">Technology Partners</a></li> - <li><a href="/company/careers">Careers</a></li> - <li><a href="/company/news">News &amp; Press</a></li> - <li><a href="/company/contact">Contact Us</a></li> - </ul> + <li<%= selected?(/^company(?!\/contact)|developer\/events|open-source|partners\/alliances/) %>> + <a href="http://engineyard.com/company"><span class="drop">About Us</span></a> + <div> + <ul> + <li><a href="http://engineyard.com/company/customers">Customers</a></li> + <li><a href="http://engineyard.com/company/team">Leadership</a></li> + <li><a href="http://engineyard.com/open-source">Open Source</a></li> + <li><a href="http://engineyard.com/partners/alliances">Strategic Alliances</a></li> + <li><a href="http://engineyard.com/company/careers">Careers</a></li> + <li><a href="http://engineyard.com/company/news">News &amp; Press</a></li> + </ul> + </div> </li> - + <li<%= selected?(/^blog/) %>> - <%= link_to '<span>Blog</span>'.html_safe, '/blog' %> + <%= link_to '<span>Blog</span>'.html_safe, 'http://engineyard.com/blog' %> </li> + + <li<%= selected?(/^company\/contact/) %>> + <a href="http://engineyard.com/company/contact"><span>Contact</span></a> + </li> + </ul> -</nav> \ No newline at end of file +</div>