Skip to content

Commit b378324

Browse files
authored
Cloud credits donation info page and form page (pytorch#1726)
* Adding in the cloud credits page Signed-off-by: Chris Abraham <[email protected]> * polish the credits page Signed-off-by: Chris Abraham <[email protected]> * Added sponsor form Signed-off-by: Chris Abraham <[email protected]> * Added an image for the credits page Signed-off-by: Chris Abraham <[email protected]> * Add menu item Signed-off-by: Chris Abraham <[email protected]> * Tweak Signed-off-by: Chris Abraham <[email protected]> --------- Signed-off-by: Chris Abraham <[email protected]>
1 parent 68bb341 commit b378324

9 files changed

+348
-0
lines changed

_includes/main_menu.html

+3
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@
139139
<a class="nav-dropdown-item" href="{{ site.baseurl }}/governing-board">
140140
<span class=dropdown-title>Governing Board</span>
141141
</a>
142+
<a class="nav-dropdown-item" href="{{ site.baseurl }}/credits">
143+
<span class=dropdown-title>Cloud Credit Program</span>
144+
</a>
142145
<a class="nav-dropdown-item" href="{{ site.baseurl }}/tac">
143146
<span class=dropdown-title>Technical Advisory Council</span>
144147
</a>

_includes/mobile_menu.html

+3
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@
117117
<a href="{{ site.baseurl }}/governing-board">Governing Board</a>
118118
</li>
119119
<li>
120+
<a href="{{ site.baseurl }}/credits">Cloud Credit Program</a>
121+
</li>
122+
<li>
120123
<a href="{{ site.baseurl }}/tac">Technical Advisory Council</a>
121124
</li>
122125
<li>

_sass/announcement.scss

+95
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,18 @@
167167
.content {
168168
padding: 40px 0;
169169
}
170+
171+
ul li {
172+
font-size: 1.25rem;
173+
font-weight: 300;
174+
}
175+
}
176+
177+
.darker-background-section {
178+
background-color: #f3f4f7;
179+
.content {
180+
padding: 40px 0;
181+
}
170182
}
171183

172184
.grey-background-section {
@@ -309,3 +321,86 @@
309321
color: $orange;
310322
}
311323
}
324+
325+
326+
.announcement .cloud-credits-table {
327+
font-size: 1.1rem;
328+
margin-top: 40px;
329+
ul {
330+
padding-left: 20px;
331+
li {
332+
margin-top: 10px;
333+
font-size: 1.1rem;
334+
}
335+
}
336+
337+
.col-md {
338+
border-radius: 5px;
339+
margin-bottom: 40px;
340+
}
341+
342+
.card {
343+
border-radius: 6px;
344+
}
345+
346+
.thead {
347+
border-top-left-radius: 5px;
348+
border-top-right-radius: 5px;
349+
color: #fff;
350+
padding: 14px 20px;
351+
text-align: center;
352+
}
353+
.col-md:first-child .thead {
354+
background: conic-gradient(from 53deg at 37% 100%, #828282 0, hsla(0, 0%, 51%, .95) 100%);
355+
}
356+
.col-md:nth-child(2) .thead {
357+
background: conic-gradient(from 53deg at 37% 100%, #ab9344 0, rgba(171, 147, 68, .95) 100%);
358+
}
359+
.col-md:nth-child(3) .thead {
360+
background: conic-gradient(from 53deg at 37% 100%, #293850 0, rgba(41, 56, 80, .95) 100%);
361+
}
362+
363+
.tbody {
364+
border-bottom: 1px solid #d0d0d0;
365+
border-left: 1px solid #d0d0d0;
366+
border-right: 1px solid #d0d0d0;
367+
height: 100%;
368+
padding: 26px 20px;
369+
}
370+
371+
.tfoot {
372+
background-color: #000;
373+
border-bottom-left-radius: 5px;
374+
border-bottom-right-radius: 5px;
375+
color: #fff;
376+
padding: 20px;
377+
text-align: center;
378+
}
379+
}
380+
381+
.announcement .steps-columns {
382+
background-color: transparent;
383+
384+
.col-md {
385+
margin-bottom: 20px;
386+
padding: 20px;
387+
}
388+
389+
h3 {
390+
margin-bottom: 20px;
391+
}
392+
393+
.step {
394+
font-size: 1.5rem;
395+
margin-bottom: 5px;
396+
margin-top: 20px;
397+
}
398+
399+
ul {
400+
padding-left: 20px;
401+
li {
402+
margin-top: 10px;
403+
}
404+
}
405+
406+
}
73.8 KB
Loading

assets/images/icon-cloud1.svg

+1
Loading

assets/images/icon-examine.svg

+1
Loading

assets/images/icon-process.svg

+1
Loading

credits-sponsor.html

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
layout: default
3+
title: Sponsor Cloud Credits
4+
body-class: announcement
5+
background-class: announcement-background
6+
permalink: /credits/sponsor
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 Cloud<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Credit Program</h1>
14+
</div>
15+
</div>
16+
</div>
17+
18+
<div class="container-fluid light-background-section">
19+
<div class="container">
20+
<div class="row content">
21+
<div class="col-md-10 body-side-text">
22+
<p class="lead">Sponsor <a href="/credits">cloud credits</a> and support CNCF projects. Please fill in the form and we will be in touch.
23+
</p>
24+
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
25+
<script>
26+
hbspt.forms.create({
27+
region: "na1",
28+
portalId: "8112310",
29+
formId: "9a02fff8-0db9-4bad-bd25-bf69a7e9b5f1",
30+
sfdcCampaignId: "7012M000001FfZSQA0"
31+
});
32+
</script>
33+
</div>
34+
</div>
35+
</div>
36+
</div>

0 commit comments

Comments
 (0)