Skip to content

Commit d1d0b07

Browse files
committed
Announcement bar data file for automation purposes.
1 parent 2928aaa commit d1d0b07

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"text": "Join us at Jamstack Conf Virtual, October 6-7.",
3+
"cta": "Register now!",
4+
"url": "https://jamstackconf.com",
5+
"hideAfter": "2020-10-07"
6+
}

src/site/_includes/banner.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<a href="https://jamstackconf.com" class="block p-2 md:py-2 text-center text-white font-bold text-xs md:text-sm bg-gradient-jams bg-gradient-pink-orange group">
2-
Join us at Jamstack Conf Virtual, October 6-7. <span class="underline group-hover:no-underline">Register now!</span>
1+
<a href="{{ announcementbar.url }}" class="block p-2 md:py-2 text-center text-white font-bold text-xs md:text-sm bg-gradient-jams bg-gradient-pink-orange group">
2+
{{ announcementbar.text }} <span class="underline group-hover:no-underline">{{ announcementbar.cta }}</span>
33
</a>

0 commit comments

Comments
 (0)