Skip to content

feat: update ttb copy #722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 20, 2024
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
6 changes: 5 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ module.exports = (grunt) => {
src: ["sitemap.xml"],
dest: "dist/website/",
},
{
src: ["robots.txt"],
dest: "dist/website/",
},
],
},
extension: {
Expand Down Expand Up @@ -278,4 +282,4 @@ module.exports = (grunt) => {
grunt.registerTask("test", ["unit-tests", "functional-tests"]);

grunt.registerTask("default", ["build-dev", "connect:website", "watch"]);
};
};
4 changes: 4 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Disallow: /beta/
Allow: /
Sitemap: https://jwt.io/sitemap.xml
2 changes: 1 addition & 1 deletion src/website/top-banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const messageBar = {
status: MESSAGE_BAR_STATUS.ACTIVE,
id: {
key: "messageBar_id",
value: "JWT_IO_FEEDBACK",
value: "JWT_V2_FEEDBACK",
},
state: {
key: "messageBar_state",
Expand Down
2 changes: 1 addition & 1 deletion stylus/website/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -1886,7 +1886,7 @@ footer {
}

.top-banner {
background: #242424;
background: linear-gradient(90deg, #ff4f40 0%, #ff44dd 99.99%);
border-radius: 8px;
max-width: 1216px;
padding: 8px 16px;
Expand Down
2 changes: 1 addition & 1 deletion views/website/navigation.pug
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.top-banner-bg.closed
.top-banner.closed
.top-banner-container
a(href="https://a0.to/jwt-io-feedback" target="_blank") Learn about the upcoming changes to jwt.io and share your feedback
a(href="https://a0.to/jwt-io-feedback" target="_blank") Get an exclusive look at jwt.io v2 and help us shape its final form with your feedback.
span(aria-hiden="true") →
button.close-top-banner +

Expand Down