Skip to content

Commit 57142eb

Browse files
committed
Add download button
1 parent 7de4cd0 commit 57142eb

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

_includes/layouts/_header-main.html

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<style>
2+
.menu-mobile a.download-studio-btn:hover,
3+
.--nav-meta a.download-studio-btn:hover,
4+
a.download-studio-btn:hover {
5+
background: #8B88FF !important;
6+
}
7+
</style>
18
<div class="menu-mobile">
29
<div class="switch-mode">
310
<div class="icon-dark"></div>
@@ -6,12 +13,9 @@
613
</div>
714
<div class="close-menu"></div>
815
<ul>
9-
<li><a style="font-weight: bold;"
10-
href="https://community.plotly.com/c/{% if page.permalink contains 'javascript' %}plotly-js/6{% elsif page.permalink contains 'python' %}plotly-python/5{% elsif page.permalink contains 'r/' or page.permalink contains 'ggplot2/' or page.permalink contains 'matlab/' or page.permalink contains 'fsharp/' or page.permalink contains 'julia/' %}plotly-r-matlab-julia-net/29{% else %}{% endif %}">Forum</a>
11-
</li>
16+
<li><a class="download-studio-btn" style="display: inline-block; font-weight: bold; background: #7A76FF; color: white !important; padding: 8px 16px; border-radius: 8px; text-decoration: none; transition: background 0.3s ease;" href="https://plotly.com/studio">Download Studio</a></li>
1217
<li><a style="font-weight: bold;" href="https://plotly.com/pricing">Studio and Cloud Pricing</a></li>
1318
<li><a style="font-weight: bold;" href="https://plotly.com/get-pricing">Dash Enterprise Pricing</a></li>
14-
<li><a style="font-weight: bold;" href="https://dash.plotly.com">Dash</a></li>
1519
<!--<li><a style="font-weight: bold;" href="http://plotly.cloud">Dash Cloud</a></li>-->
1620

1721
</ul>
@@ -125,20 +129,12 @@
125129
<div class="icon"></div>F#
126130
</a>
127131
</li>
128-
<li>
129-
<a href="https://dash.plotly.com/" class="dash">
130-
<div class="icon"></div>Dash
131-
</a>
132-
</li>
133132
</ul>
134133

135134
</li>
136-
<li><a style="font-weight: bold;"
137-
href="https://community.plotly.com/c/{% if page.permalink contains 'javascript' %}plotly-js/6{% elsif page.permalink contains 'python' %}plotly-python/5{% elsif page.permalink contains 'r/' or page.permalink contains 'ggplot2/' or page.permalink contains 'matlab/' or page.permalink contains 'fsharp/' or page.permalink contains 'julia/' %}plotly-r-matlab-julia-net/29{% else %}{% endif %}">Forum</a>
138-
</li>
135+
<li><a class="download-studio-btn" style="display: inline-block; font-weight: bold; background: #7A76FF; color: white !important; padding: 8px 16px; border-radius: 8px; text-decoration: none; transition: background 0.3s ease;" href="https://plotly.com/studio">Download Studio</a></li>
139136
<li><a style="font-weight: bold;" href="https://plotly.com/pricing">Studio and Cloud Pricing</a></li>
140137
<li><a style="font-weight: bold;" href="https://plotly.com/get-pricing">Dash Enterprise Pricing</a></li>
141-
<li><a style="font-weight: bold;" href="https://dash.plotly.com">Dash</a></li>
142138
<!--<li><a style="font-weight: bold;" href="http://plotly.cloud">Dash Cloud</a></li>-->
143139

144140
{% if page.permalink contains "python/" %}

0 commit comments

Comments
 (0)