Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/website/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
shareJwtTextElement,
} from "./dom-elements.js";
import { CCPAModal } from "./ccpa-modal.js";
import { TopBanner } from "./top-banner.js";

import queryString from "querystring";

Expand Down Expand Up @@ -55,3 +56,4 @@ setupHighlighting();
setupJwtCounter();
setupShareJwtButton(shareJwtButton, shareJwtTextElement);
CCPAModal();
TopBanner();
2 changes: 2 additions & 0 deletions src/website/introduction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ import { CCPAModal } from "../ccpa-modal.js";
import { setupJwtCounter } from "../counter.js";
import { setupHighlighting } from "../highlighting.js";
import { setupNavbar } from "../navbar.js";
import { TopBanner } from "../top-banner.js";

// Initialization
setupNavbar();
setupHighlighting();
setupJwtCounter();
CCPAModal();
TopBanner();
2 changes: 2 additions & 0 deletions src/website/libraries/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { CCPAModal } from "../ccpa-modal.js";
import { setupJwtCounter } from "../counter.js";
import { setupHighlighting } from "../highlighting.js";
import { setupNavbar } from "../navbar.js";
import { TopBanner } from "../top-banner.js";
import { setupLibraries } from "./libraries.js";

// Initialization
Expand All @@ -10,3 +11,4 @@ setupLibraries();
setupHighlighting();
setupJwtCounter();
CCPAModal();
TopBanner();
11 changes: 10 additions & 1 deletion views/website/navigation.pug
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
nav.navbar.closed
.top-banner-bg
.top-banner
.top-banner-container
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.
span(aria-hiden="true") →
button.close-top-banner +

.top-banner-spacer

nav.navbar.closed.top-banner-open
.container
.top-mobile
.menu-trigger
Expand Down