Skip to content

Commit 3dc67f3

Browse files
authored
Merge pull request jsonwebtoken#434 from pabloalvarezauth0/nav-bar-what-is-auth0-question-mark
Crafted by Auth0 - What is Auth0?
2 parents 1ae3724 + 1967f9d commit 3dc67f3

File tree

4 files changed

+66
-14
lines changed

4 files changed

+66
-14
lines changed

package-lock.json

Lines changed: 30 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

stylus/website/index.styl

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,37 @@ body
234234
color white
235235
padding-right 10px
236236

237+
.crafted-by__question-mark
238+
background-color #555
239+
color black
240+
font-size 10px
241+
border-radius 50%
242+
width 14px
243+
height 14px
244+
display inline-block
245+
margin-left 10px
246+
vertical-align middle
247+
transition background-color .5s
248+
&:before
249+
content "Learn more about Auth0"
250+
position fixed
251+
width auto
252+
padding 6px
253+
top 64px
254+
border-radius 3px
255+
background-color #555
256+
color white
257+
transition visibility 0s, opacity .5s
258+
visibility hidden
259+
opacity 0
260+
&:hover
261+
.crafted-by__question-mark
262+
background-color white
263+
&:before
264+
visibility visible
265+
opacity 1
266+
267+
237268
.supported
238269
display none
239270

views/website/index.pug

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ block content
1919
a(href='http://swag.auth0.com/', target='_blank') Get a T-shirt!
2020

2121
.social
22-
a.a0(href='https://auth0.com/?utm_source=jwtio&utm_campaign=%3Cspan%20class="x x-first x-last">craftedby', target='_blank')
22+
a.a0(href='https://auth0.com/%3Cspan%20class="x x-first x-last">why-auth0?utm_source=jwtio&utm_medium=navbar_whats_auth0&utm_campaign=jwt_nav_cta_12_2019', target='_blank')
2323
span.by-text Crafted by
2424
img(src='/img/pic_logo_ft.svg', alt='Token Based Authentication')
25+
span.crafted-by__question-mark ?
2526

2627
a.supported(href='https://auth0.com/?utm_source=jwtio&utm_campaign=craftedby', target="_blank")
2728
| Supported by
@@ -39,7 +40,7 @@ block content
3940
p JWT.IO allows you to decode, verify and generate JWT.
4041

4142
a.btn.btn-lg(href="/introduction") Learn more about jwt
42-
43+
4344
include ebook.pug
4445

4546
include token-editor.pug

views/website/introduction.pug

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ block content
4646
a(href='http://swag.auth0.com/', target='_blank') Get a T-shirt!
4747

4848
.social
49-
a.a0(href='https://auth0.com/?utm_source=jwtio&utm_campaign=%3Cspan%20class="x x-first x-last">craftedby', target='_blank')
49+
a.a0(href='https://auth0.com/%3Cspan%20class="x x-first x-last">why-auth0?utm_source=jwtio&utm_medium=navbar_whats_auth0&utm_campaign=jwt_nav_cta_12_2019', target='_blank')
5050
span.by-text Crafted by
5151
img(src='/img/pic_logo_ft.svg', alt='Token Based Authentication')
52+
span.crafted-by__question-mark ?
5253

5354
a.supported(href='https://auth0.com/', target="_blank")
5455
| Supported by

0 commit comments

Comments
 (0)