Skip to content

Commit 4ea4988

Browse files
Merge pull request pytorch#481 from shiftlab/homepage-updates
• Updates the copy of the button in the homepage hero • Within the Quickstart module the "Previous Version of PyTorch" text has been changed into a button • The news banner font-size has been increased • The heading of the Quickstart module has been changed to say Install PyTorch
2 parents 65a0db5 + ee40684 commit 4ea4988

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

_includes/quick_start_module.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
<div class="row">
44
<div class="col-md-8 start-locally-col">
55

6-
<h3>Quick Start
7-
<br />Locally</h3>
6+
<h3>Install PyTorch</h3>
87

98
{% include quick_start_local.html %}
109

11-
<br/><a href="{{ site.baseurl }}/get-started/previous-versions">Previous versions of PyTorch</a>
10+
<a href="{{ site.baseurl }}/get-started/previous-versions" class="btn btn-lg with-right-arrow btn-white prev-versions-btn">
11+
Previous versions of PyTorch
12+
</a>
1213
</div>
1314

1415
<div class="col-md-3 offset-md-1 cloud-options-col">

_sass/homepage.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@
357357
white-space: nowrap;
358358
margin: auto;
359359
width: 80%;
360+
font-size: rem(18px);
360361
@include desktop {
361362
padding-top: 3px;
362363
}

_sass/quick-start-module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@
5252
font-size: 80% !important;
5353
background-color: #ffffff !important;
5454
}
55+
56+
.prev-versions-btn {
57+
margin-top: 30px;
58+
}
5559
}
5660

5761
.cloud-options-col {

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h1>From<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Research To<br />Product
1212
<p class="lead">An open source machine learning framework that accelerates the path from research prototyping to production deployment.</p>
1313

1414
<a href="{{ site.baseurl }}/get-started" class="btn btn-lg with-right-arrow" data-cta="get-started">
15-
Get Started
15+
Install
1616
</a>
1717
</div>
1818
</div>

0 commit comments

Comments
 (0)