From 08a3deec3143c617689d31998e38730544f93f39 Mon Sep 17 00:00:00 2001 From: Byron Motoche <116190812+byron-okta@users.noreply.github.com> Date: Thu, 19 Dec 2024 14:25:42 -0500 Subject: [PATCH 1/2] feat: update ttb copy --- src/website/top-banner.js | 2 +- stylus/website/index.styl | 2 +- views/website/navigation.pug | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/website/top-banner.js b/src/website/top-banner.js index 4afc4158..da4208ff 100644 --- a/src/website/top-banner.js +++ b/src/website/top-banner.js @@ -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", diff --git a/stylus/website/index.styl b/stylus/website/index.styl index fe593c89..cbe3099b 100644 --- a/stylus/website/index.styl +++ b/stylus/website/index.styl @@ -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; diff --git a/views/website/navigation.pug b/views/website/navigation.pug index 85f1aaf8..dd10e956 100644 --- a/views/website/navigation.pug +++ b/views/website/navigation.pug @@ -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 + From 5d0061e32f7db93ebf6219796ddd1815209caf06 Mon Sep 17 00:00:00 2001 From: Byron Motoche <116190812+byron-okta@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:22:13 -0500 Subject: [PATCH 2/2] feat: add robots.txt file --- Gruntfile.js | 6 +++++- robots.txt | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 robots.txt diff --git a/Gruntfile.js b/Gruntfile.js index c6d22bae..15e564c6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -48,6 +48,10 @@ module.exports = (grunt) => { src: ["sitemap.xml"], dest: "dist/website/", }, + { + src: ["robots.txt"], + dest: "dist/website/", + }, ], }, extension: { @@ -278,4 +282,4 @@ module.exports = (grunt) => { grunt.registerTask("test", ["unit-tests", "functional-tests"]); grunt.registerTask("default", ["build-dev", "connect:website", "watch"]); -}; \ No newline at end of file +}; diff --git a/robots.txt b/robots.txt new file mode 100644 index 00000000..0713d672 --- /dev/null +++ b/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Disallow: /beta/ +Allow: / +Sitemap: https://jwt.io/sitemap.xml