Skip to content

Commit a543a7b

Browse files
committed
Add web weekly plug
1 parent ba73cf1 commit a543a7b

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

site/_includes/base.njk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
<body>
4949
<a href="#main-content" class="skip-link padding-xs">Skip to main content</a>
5050

51+
<div class="notification">
52+
New tools, and fresh HTML, CSS, and JavaScript tricks — get it all by subscribing to <a href="https://webweekly.email?ref=tiny-helpers">Web Weekly</a>! 💌
53+
</div>
54+
5155
<div class="container">
5256
{% include 'templates/_logo.njk' %}
5357
{% include 'templates/_social.njk' %}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.notification {
2+
padding: 1rem;
3+
text-align: center;
4+
background: var(--primary-color);
5+
color: white;
6+
7+
a {
8+
&:hover,
9+
&:focus {
10+
color: white;
11+
}
12+
}
13+
}

site/_includes/css/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@import './components/_carbon.css';
44
@import './components/_card.css';
55
@import './components/_nav.css';
6+
@import './components/_notification.css';
67
@import './components/_skip-link.css';
78
@import './util/_colors.css';
89
@import './util/_dimensions.css';

0 commit comments

Comments
 (0)