Skip to content

Commit bc840dc

Browse files
authored
Add new newsletter page (#1852)
* Add new newsletter page Signed-off-by: Chris Abraham <[email protected]> * add redirect Signed-off-by: Chris Abraham <[email protected]> * update reference to newsletter Signed-off-by: Chris Abraham <[email protected]> * add to menu Signed-off-by: Chris Abraham <[email protected]> * reduce description Signed-off-by: Chris Abraham <[email protected]> --------- Signed-off-by: Chris Abraham <[email protected]>
1 parent 50c510e commit bc840dc

File tree

6 files changed

+59
-5
lines changed

6 files changed

+59
-5
lines changed

Diff for: _includes/main_menu.html

+4
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@
125125
<span class=dropdown-title>Events</span>
126126
<p>Find events, webinars, and podcasts</p>
127127
</a>
128+
<a class="nav-dropdown-item" href="{{ site.baseurl }}/newsletter">
129+
<span class=dropdown-title>Newsletter</span>
130+
<p>Stay up-to-date with the latest updates</p>
131+
</a>
128132
</div>
129133
</div>
130134
</li>

Diff for: _includes/mobile_menu.html

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@
108108
<li>
109109
<a href="{{ site.baseurl}}/events">Events</a>
110110
</li>
111+
<li>
112+
<a href="{{ site.baseurl}}/newsletter">Newsletter</a>
113+
</li>
111114
</ul>
112115
<li class="resources-mobile-menu-title">
113116
<a>About</a>

Diff for: _posts/2021-5-10-ecosystem-day-2021-recap.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To view the full catalogue of poster, please visit **[PyTorch Ecosystem Day 2021
2222

2323
### New Contributor Resources
2424
Today, we are also sharing new contributor resources that we are trying out to give you the most access to up-to-date news, networking opportunities and more.
25-
* [Contributor Newsletter](https://pytorch.org/resources/contributors/) - Includes curated news including RFCs, feature roadmaps, notable PRs, editorials from developers, and more to support keeping track of everything that’s happening in our community.
25+
* [Contributor Newsletter](https://pytorch.org/newsletter/) - Includes curated news including RFCs, feature roadmaps, notable PRs, editorials from developers, and more to support keeping track of everything that’s happening in our community.
2626
* [Contributors Discussion Forum](https://dev-discuss.pytorch.org/) - Designed for contributors to learn and collaborate on the latest development across PyTorch.
2727
* [PyTorch Developer Podcast (Beta)](https://pytorch-dev-podcast.simplecast.com/) - Edward Yang, PyTorch Research Scientist, at Facebook AI shares bite-sized (10 to 20 mins) podcast episodes discussing topics about all sorts of internal development topics in PyTorch.
2828

Diff for: _resources/contributor.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Contributors
3-
summary-home: 'Stay up to date with the codebase and discover RFCs, PRs and more.'
4-
summary: 'Stay up to date with the codebase and discover RFCs, PRs and more.'
5-
link: https://pytorch.org/resources/contributors
2+
title: Newsletter
3+
summary-home: 'Stay up-to-date with the latest updates.'
4+
summary: 'Stay up-to-date with the latest updates.'
5+
link: https://pytorch.org/newsletter
66
class: pytorch-resource
77
order: 13
88
featured-home: true

Diff for: ecosystem/contributors.html

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
permalink: /resources/contributors/
55
body-class: ecosystem
66
background-class: ecosystem-join-background
7+
redirect_to: "/newsletter/"
78
---
89

910
<div class="jumbotron jumbotron-fluid contributor-jumbotron">

Diff for: newsletter.html

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
layout: default
3+
title: PyTorch Newsletter
4+
body-class: announcement
5+
background-class: announcement-background
6+
permalink: /newsletter
7+
---
8+
{% assign cards = site.board_info %}
9+
10+
<div class="container">
11+
<div class="row hero-content">
12+
<div class="col-md-10">
13+
<h1>PyTorch<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Newsletter</h1>
14+
</div>
15+
</div>
16+
</div>
17+
18+
<div class="container-fluid light-background-section">
19+
<div class="container">
20+
<div class="two-column-row">
21+
<div class="content-left">
22+
<h2>Newsletter Sign Up</h2>
23+
<p>Subscribe to our monthly newsletter to get the latest updates, event info, and community news from the PyTorch Foundation in your inbox.</p>
24+
<div class="mb-5">
25+
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
26+
<script>
27+
hbspt.forms.create({
28+
region: "na1",
29+
portalId: "8112310",
30+
formId: "f294601b-db76-447a-9af5-f4c884e2ff46"
31+
});
32+
</script>
33+
</div>
34+
</div>
35+
36+
<div class="content-right">
37+
<div>
38+
<h2>Join the conversation</h2>
39+
<p>Join the contributor's discussion forum to learn and collaborate on the latest development across PyTorch</p>
40+
<a class="contributors-button" href="{{ site.external_urls.contributor_forum }}">Contributor Forums</a>
41+
</div>
42+
</div>
43+
</div>
44+
</div>
45+
</div>
46+

0 commit comments

Comments
 (0)