Skip to content

Commit

Permalink
feat: enable ttb to gather feedback from community (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
byron-okta authored Jul 24, 2024
1 parent 88829bf commit 563ae49
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
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

0 comments on commit 563ae49

Please sign in to comment.