Skip to content

Commit 1ec17c9

Browse files
committed
Switch contribute for blog and add OC CTA
1 parent 54c8b05 commit 1ec17c9

File tree

5 files changed

+66
-12
lines changed

5 files changed

+66
-12
lines changed

website/i18n/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"API": "API",
103103
"Plugins": "Plugins",
104104
"Twitter": "Twitter",
105-
"Contribute": "Contribute"
105+
"Blog": "Blog"
106106
},
107107
"categories": {
108108
"Getting Started": "Getting Started",

website/siteConfig.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ const siteConfig = {
99
organizationName: 'gulpjs',
1010
projectName: 'gulpjs.github.io',
1111
headerLinks: [
12-
{doc: 'getting-started/quick-start', label: 'Getting Started'},
13-
{doc: 'api/concepts', label: 'API'},
14-
{href: 'https://gulpjs.com/plugins', label: 'Plugins'},
15-
{href: 'https://twitter.com/gulpjs', label: 'Twitter'},
16-
{href: 'https://github.com/gulpjs/gulp/blob/master/CONTRIBUTING.md', label: 'Contribute'},
17-
{search: true},
12+
{ doc: 'getting-started/quick-start', label: 'Getting Started' },
13+
{ doc: 'api/concepts', label: 'API' },
14+
{ href: 'https://gulpjs.com/plugins', label: 'Plugins' },
15+
{ href: 'https://twitter.com/gulpjs', label: 'Twitter' },
16+
{ href: 'https://medium.com/gulpjs', label: 'Blog' },
17+
{ search: true },
1818
],
1919
headerIcon: 'img/gulp.svg',
2020
footerIcon: 'img/gulp.svg',

website/static/css/homepage.css

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,10 @@ p.paragraph {
299299
overflow: hidden;
300300
}
301301
.header .heading {
302-
margin: 120px 0 0 0;
302+
margin: 40px 0 0 0;
303303
}
304304
.header .centerdevices {
305-
margin: 60px 0 60px;
305+
margin: 40px 0 60px;
306306
}
307307
@media (max-width: 900px) {
308308
.header .heading {
@@ -632,6 +632,7 @@ p.paragraph {
632632
100% {transform: translate(27px, -50%); opacity: 0;}
633633
}
634634

635+
635636
.tidelift-cta {
636637
/* From ctas-button */
637638
display: inline-block;
@@ -649,7 +650,7 @@ p.paragraph {
649650
line-height: 18px;
650651
padding: 6px 8px;
651652
width: 100%;
652-
max-width: 411px;
653+
max-width: 362px;
653654
text-align: center;
654655
}
655656
.tidelift-logo {
@@ -659,8 +660,38 @@ p.paragraph {
659660
margin-right: 5px;
660661
height: 14px;
661662
}
663+
.opencollective-cta {
664+
/* From ctas-button */
665+
display: inline-block;
666+
border-radius: 3px;
667+
font-weight: 600;
668+
text-transform: uppercase;
669+
letter-spacing: .3px;
670+
text-decoration: none;
671+
/* Custom for Open Collective */
672+
background: #fff;
673+
color: rgb(51, 133, 255);
674+
border-color: #fff;
675+
font-size: 12px;
676+
height: 32px;
677+
line-height: 18px;
678+
padding: 6px 8px;
679+
width: 100%;
680+
max-width: 362px;
681+
text-align: center;
682+
margin-top: 6px;
683+
}
684+
.opencollective-logo {
685+
max-width: 100%;
686+
max-height: 100%;
687+
vertical-align: middle;
688+
margin-right: 5px;
689+
height: 18px;
690+
}
691+
662692
@media (max-width: 350px) {
663-
.tidelift-cta {
693+
.tidelift-cta,
694+
.opencollective-cta {
664695
font-size: 11px;
665696
}
666697
}

website/static/img/opencollective.svg

Lines changed: 15 additions & 0 deletions
Loading

website/static/index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<a class="nav-link" href="/docs/en/api/concepts">API</a>
3232
<a class="nav-link" href="https://gulpjs.com/plugins">Plugins</a>
3333
<a class="nav-link" href="https://twitter.com/gulpjs">Twitter</a>
34-
<a class="nav-link" href="https://github.com/gulpjs/gulp/blob/master/CONTRIBUTING.md">Contribute</a>
34+
<a class="nav-link" href="https://medium.com/gulpjs">Blog</a>
3535
</nav>
3636
</div>
3737
</div>
@@ -43,6 +43,14 @@
4343
</a>
4444
</div>
4545
</div>
46+
<div class="container-lrg">
47+
<div class="col-12 mobile-col-12 right">
48+
<a class="ctas-button opencollective-cta" href="https://opencollective.com/gulpjs">
49+
<img class="opencollective-logo" src="img/opencollective.svg" alt="Open Collective logo" />
50+
<span>Back us on Open Collective</span>
51+
</a>
52+
</div>
53+
</div>
4654

4755
<div class="container-lrg">
4856
<div class="col-12">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy