Skip to content

Commit d003dfb

Browse files
committed
Add banner hover state
1 parent aba75b6 commit d003dfb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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">
2-
Join us at Jamstack Conf Virtual, October 6-7. <span class="underline">Register now!</span>
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>
33
</a>

tailwind.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ module.exports = {
3838
}
3939
},
4040
variants: {
41-
borderRadius: ["last"]
41+
borderRadius: ["last"],
42+
textDecoration: ["group-hover"]
4243
},
4344
plugins: []
4445
}

0 commit comments

Comments
 (0)