Skip to content

Commit 95f7d63

Browse files
author
Rita Iglesias
committed
Adding customer stories to mobile menu
1 parent 03f2072 commit 95f7d63

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

_includes/main_menu.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,17 @@
9797
<span class=dropdown-title>Community</span>
9898
<p>Join the PyTorch developer community to contribute, learn, and get your questions answered.</p>
9999
</a>
100-
<a class="nav-dropdown-item" href="{{ site.baseurl }}/events">
101-
<span class=dropdown-title>Events</span>
102-
<p>Find events, webinars, and podcasts</p>
100+
<a class="nav-dropdown-item" href="{{ site.baseurl }}/customer-stories">
101+
<span class=dropdown-title>Customer Stories</span>
102+
<p>Learn how our community solves real, everyday machine learning problems with PyTorch</p>
103103
</a>
104104
<a class="nav-dropdown-item" href="{{ site.baseurl }}/resources">
105105
<span class=dropdown-title>Developer Resources</span>
106106
<p>Find resources and get questions answered</p>
107107
</a>
108-
<a class="nav-dropdown-item" href="{{ site.baseurl }}/customer-stories">
109-
<span class=dropdown-title>Customer Stories</span>
110-
<p>Learn how our community solves real, everyday machine learning problems with PyTorch</p>
108+
<a class="nav-dropdown-item" href="{{ site.baseurl }}/events">
109+
<span class=dropdown-title>Events</span>
110+
<p>Find events, webinars, and podcasts</p>
111111
</a>
112112
<a class="nav-dropdown-item" href="{{ site.external_urls.discuss }}" target="_blank">
113113
<span class=dropdown-title>Forums</span>

_includes/mobile_menu.html

+7-3
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,19 @@
100100
<li>
101101
<a href="{{ site.baseurl }}/#community-module">Community</a>
102102
</li>
103-
104-
<li>
105-
<a href="{{ site.baseurl }}/events">Events</a>
103+
104+
<li class="{% if current[1] == 'resources' %}active{% endif %}">
105+
<a href="{{ site.baseurl }}/customer-stories">Customer Stories</a>
106106
</li>
107107

108108
<li class="{% if current[1] == 'resources' %}active{% endif %}">
109109
<a href="{{ site.baseurl }}/resources">Developer Resources</a>
110110
</li>
111111

112+
<li>
113+
<a href="{{ site.baseurl }}/events">Events</a>
114+
</li>
115+
112116
<li>
113117
<a href="{{ site.external_urls.discuss }}">Forum</a>
114118
</li>

_includes/research.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div id="research" class="production-section hidden">
22
<div class="col-md-12 research-container">
3-
<div class="col-md-3 customer-stories-side-nav-container">
3+
<div class="col-md-3 research-side-nav-container">
44
{% include research_side_nav.html %}
55
</div>
66
<div class="col-md-9 research-info-container">

0 commit comments

Comments
 (0)