File tree 4 files changed +16
-1
lines changed
4 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {
11
11
shareJwtTextElement ,
12
12
} from "./dom-elements.js" ;
13
13
import { CCPAModal } from "./ccpa-modal.js" ;
14
+ import { TopBanner } from "./top-banner.js" ;
14
15
15
16
import queryString from "querystring" ;
16
17
@@ -55,3 +56,4 @@ setupHighlighting();
55
56
setupJwtCounter ( ) ;
56
57
setupShareJwtButton ( shareJwtButton , shareJwtTextElement ) ;
57
58
CCPAModal ( ) ;
59
+ TopBanner ( ) ;
Original file line number Diff line number Diff line change @@ -2,9 +2,11 @@ import { CCPAModal } from "../ccpa-modal.js";
2
2
import { setupJwtCounter } from "../counter.js" ;
3
3
import { setupHighlighting } from "../highlighting.js" ;
4
4
import { setupNavbar } from "../navbar.js" ;
5
+ import { TopBanner } from "../top-banner.js" ;
5
6
6
7
// Initialization
7
8
setupNavbar ( ) ;
8
9
setupHighlighting ( ) ;
9
10
setupJwtCounter ( ) ;
10
11
CCPAModal ( ) ;
12
+ TopBanner ( ) ;
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { CCPAModal } from "../ccpa-modal.js";
2
2
import { setupJwtCounter } from "../counter.js" ;
3
3
import { setupHighlighting } from "../highlighting.js" ;
4
4
import { setupNavbar } from "../navbar.js" ;
5
+ import { TopBanner } from "../top-banner.js" ;
5
6
import { setupLibraries } from "./libraries.js" ;
6
7
7
8
// Initialization
@@ -10,3 +11,4 @@ setupLibraries();
10
11
setupHighlighting ( ) ;
11
12
setupJwtCounter ( ) ;
12
13
CCPAModal ( ) ;
14
+ TopBanner ( ) ;
Original file line number Diff line number Diff line change 1
- nav.navbar.closed
1
+ .top-banner-bg
2
+ .top-banner
3
+ .top-banner-container
4
+ a( href ="https://a0.to/jwt-io-feedback" target ="_blank" ) Help us shape the future of jwt.io! Learn more about upcoming changes and share feedback.
5
+ span( aria-hiden ="true" ) →
6
+ button.close-top-banner +
7
+
8
+ .top-banner-spacer
9
+
10
+ nav.navbar.closed.top-banner-open
2
11
.container
3
12
.top-mobile
4
13
.menu-trigger
You can’t perform that action at this time.
0 commit comments