Skip to content

Commit 5acd73b

Browse files
authored
PyTorch Conference hero takeover (#1710)
* PyTorch Conference hero takeover Signed-off-by: Chris Abraham <[email protected]> * reduce size of mobile font Signed-off-by: Chris Abraham <[email protected]> * improve the fading on bg image Signed-off-by: Chris Abraham <[email protected]> --------- Signed-off-by: Chris Abraham <[email protected]>
1 parent d9eb138 commit 5acd73b

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

_sass/base_styles.scss

+4
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,12 @@ a, .btn {
128128
&.home-page-background {
129129
z-index: -1;
130130
height: 350px;
131+
background-size: unset;
132+
background-image: url($baseurl + "/assets/images/pt-conference.jpg");
133+
131134
@include desktop {
132135
height: 570px;
136+
background-size: 100%;
133137
}
134138
}
135139
&.hub-background {

_sass/jumbotron.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333

3434
h1 {
35-
font-size: rem(36px);
35+
font-size: rem(32px);
3636
text-transform: uppercase;
3737
font-weight: lighter;
3838
letter-spacing: 1.08px;
@@ -41,7 +41,7 @@
4141
margin-top: 4rem;
4242

4343
@include desktop {
44-
font-size: rem(62px);
44+
font-size: rem(54px);
4545
margin-top: 0;
4646
}
4747

assets/images/pt-conference.jpg

119 KB
Loading
Loading

index.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
<div class="jumbotron jumbotron-fluid on-dark-background">
99
<div class="container">
10-
<h1><img src="{{ site.baseurl }}/assets/images/logo-white.svg" width="275px" alt="PyTorch logo"/><br />Get Started</h1>
11-
12-
<p class="lead">Choose Your Path: Install PyTorch Locally or Launch Instantly on Supported Cloud Platforms</p>
13-
14-
<a href="/get-started" class="btn btn-lg with-right-arrow" data-cta="join">
15-
Get started
10+
<h1><strong>Join us in San Francisco</strong><br/>September 18-19</h1>
11+
<img src="{{ site.baseurl }}/assets/images/pytconf24-color-whitetext.svg" width="275px" alt="PyTorch Conference logo"/>
12+
<p class="mt-4">
13+
<a href="https://events.linuxfoundation.org/pytorch-conference/register/?utm_source=www&utm_medium=homepage&utm_campaign=Pytorch-Conference-2024&utm_content=hero" class="btn btn-lg with-right-arrow" data-cta="join">
14+
Register Now
1615
</a>
16+
</p>
1717
</div>
1818
</div>
1919

@@ -22,12 +22,12 @@ <h1><img src="{{ site.baseurl }}/assets/images/logo-white.svg" width="275px" alt
2222
<div class="container homepage-box-module">
2323
<div class="row">
2424
<div class="col-md">
25-
<h3>2024 PyTorch Conference</h3>
25+
<h3>Get Started</h3>
2626
<p>
27-
Join us at the Conference on September 18-19 for insightful keynotes and engaging mini-summits.
27+
Choose your path: install PyTorch locally or launch instantly on supported cloud platforms
2828
</p>
2929
<p>
30-
<a href="https://events.linuxfoundation.org/pytorch-conference/?utm_source=www&utm_medium=homepage&utm_campaign=Pytorch-Conference-2024&utm_content=hero">Don't miss out!</a>
30+
<a href="https://pytorch.org/get-started">Get Started</a>
3131
</p>
3232
</div>
3333
<div class="col-md">

0 commit comments

Comments
 (0)