Skip to content

Commit

Permalink
Merge pull request #328 from wiremock/add-wiremock-live-jan-30-banner
Browse files Browse the repository at this point in the history
Add the banner for the Jan 30th WireMock live
  • Loading branch information
leeturner authored Jan 10, 2025
2 parents 80ffe46 + 0635887 commit 9397f67
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion assets/js/notifications.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
var wiremock_notification_shown = localStorage.getItem(
"wiremock_notification_shown",
);
var notifications = [];
var notifications = [
{
content: {
title:
"Learn abount OpenAPI functionality in WireMock Cloud including API validation & contract testing at WireMock Live on January 30 " +
"<a href='https://info.wiremock.io/wiremock-live-demos-25-01?utm_source=source%3Dwiremock.org&utm_medium=referral&utm_campaign=top-banner' target='_blank'>Register now.</a>",
},
layout: {
style: "wiremock_notification_with_link",
position: "top",
className: "info",
autoHide: false,
},
},
];

if (wiremock_notification_shown == null) {
localStorage.setItem("wiremock_notification_shown", true);
Expand Down

0 comments on commit 9397f67

Please sign in to comment.