Skip to content

Commit cc69c69

Browse files
committed
Update newsletter
1 parent a00e5a9 commit cc69c69

File tree

6 files changed

+26
-61
lines changed

6 files changed

+26
-61
lines changed

_includes/css/csswizardry.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_includes/nav.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@
4343
</ul>
4444
</li>
4545

46-
<li class=site-nav__item><a href=/contact/ class="site-nav__link site-nav__contact">Contact</a></li>
46+
<li class="site-nav__item has-sub-menu">
47+
<a href=/contact/ class="site-nav__link site-nav__contact">Contact</a>
48+
<ul class=site-nav__sub-menu>
49+
<li class=site-nav__item><a href=/newsletter/ class="site-nav__sub-link site-nav__newsletter">Newsletter</a></li>
50+
</ul>
51+
</li>
4752

4853
</ul>
4954

css/_components.site-nav.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ $_logo-height: 64px;
432432

433433
}
434434

435-
@each $page in supporters, workshops, code-reviews, consultancy, downloads, sentinel, masterclasses {
435+
@each $page in newsletter, testimonials, supporters, workshops, code-reviews, consultancy, downloads, sentinel, masterclasses {
436436
.page--#{$page} .site-nav__#{$page} {
437437
@extend %site-nav__current--sub;
438438
}

newsletter-nearly-there.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
title: Nearly There…
4-
page-class: page--newsletter
4+
page-class: page--contact page--newsletter
55
meta: "Last step before signing up fully!"
66
permalink: /newsletter/nearly-there/
77
---
@@ -11,13 +11,9 @@ need to click the link in the email I just sent you.
1111

1212
There are also a couple of other things you might need to do:
1313

14-
1. **Check your spam or Promotions folders** because the first email(s) might
15-
end up in there.
14+
1. **Check your spam folder** because the first email(s) might end up in there.
1615
2. **Add `harry@csswizardry.com` as a contact** so that CSS Wizardry emails get
17-
whitelisted. I’m sending from a personal account, so you’re not adding
18-
anything corporate or spammy.
16+
allowlisted.
1917

20-
I really wish there weren’t so many hoops for you to jump through. I’m sorry.
21-
22-
See you soon!
18+
Speak soon!
2319
_Harry_

newsletter-thank-you.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
11
---
22
layout: page
33
title: Thank You!
4-
page-class: page--newsletter
4+
page-class: page--contact page--newsletter
55
meta: "You’re on board!"
66
permalink: /newsletter/thank-you/
77
---
88

99
You made it! Welcome aboard.
1010

11-
From now on, you can expect infrequent updates about
11+
From now on, you can expect infrequent updates about:
1212

13-
* upcoming conferences,
14-
* discounts for events,
15-
* insights and findings,
16-
* interesting resources,
17-
* and exclusive content.
18-
19-
Here are all of the previous newsletters that you may have missed:
20-
21-
{% include newsletter-previous.html %}
13+
* upcoming conferences and workshops,
14+
* discounts codes for events,
15+
* first-look insights and findings,
16+
* interesting resources and articles,
17+
* thoughts on work and the industry, and
18+
* exclusive content.
2219

2320
Right now though, here’s a screencast showing you how to troubleshoot rendering
2421
performance:
2522

2623
<figure class="c-video">
2724
<iframe class="c-video__media" src="https://www.youtube.com/embed/2vFrZXWiwIc" frameborder="0" allowfullscreen></iframe>
2825
</figure>
29-
30-
[Head back to the homepage](/)

newsletter.md

Lines changed: 6 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,18 @@
11
---
22
layout: page
33
title: CSS Wizardry Newsletter
4-
page-class: page--newsletter
4+
page-class: page--contact page--newsletter
55
meta: "Join the club!"
66
permalink: /newsletter/
77
---
88

99
I maintain a small and infrequent newsletter in order to share more detailed and
10-
exclusive content with those who want it the most.
10+
exclusive content with those who want it the most. Join over 4,000 performance
11+
enthusiasts who know how to stay in the know.
1112

12-
<ul class="c-nav-secondary" id="section:subscribers">
13-
<li class="c-nav-secondary__item"><a href="#section:subscribers" class="c-nav-secondary__link is-current">For Subscribers</a></li>
14-
<li class="c-nav-secondary__item"><a href="#section:sponsors" class="c-nav-secondary__link">For Sponsors</a></li>
15-
</ul>
13+
<a href="https://csswizardry.us14.list-manage.com/subscribe?u=95f3f41085f5f957a07ba5efd&id=ba05b5418d" class="btn btn--full">Sign up</a>
1614

17-
The format of the newsletter will evolve over time, but for now you should
18-
expect:
19-
20-
* Exclusive content, screencasts, demos.
21-
* Members-only discounts for upcoming events and workshops.
22-
* Links to interesting articles and resources from around the web.
23-
24-
And you should not expect:
25-
26-
* Spam. Honestly, it’s the worst.
27-
* Updates for the sake of updates. I will only publish when there’s something
28-
worth sharing.
29-
30-
<a href="https://csswizardry.us14.list-manage2.com/subscribe?u=95f3f41085f5f957a07ba5efd&id=ba05b5418d" class="btn btn--full">Sign up</a>
31-
32-
Not that fussed about email? You can still catch me [on
33-
Twitter](https://twitter.com/csswizardry) instead.
34-
35-
## Previous Issues
36-
37-
{% include newsletter-previous.html %}
38-
39-
40-
41-
42-
43-
<ul class="c-nav-secondary mt++" id="section:sponsors">
44-
<li class="c-nav-secondary__item"><a href="#section:subscribers" class="c-nav-secondary__link">For Subscribers</a></li>
45-
<li class="c-nav-secondary__item"><a href="#section:sponsors" class="c-nav-secondary__link is-current">For Sponsors</a></li>
46-
</ul>
15+
## Sponsors
4716

4817
If you’re a product, company, or event who would like to sponsor issues of the
49-
newsletter, please do [get in touch](/contact/).
18+
newsletter, please [get in touch](/contact/).

0 commit comments

Comments
 (0)