Skip to content

Commit 34984f1

Browse files
committed
Add buttons to the new libraries page
1 parent 0dbbb1f commit 34984f1

File tree

3 files changed

+36
-9
lines changed

3 files changed

+36
-9
lines changed

stylus/website/index.styl

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ body
479479

480480
@media (min-width: 768px)
481481
height: 235px;
482-
margin-top: 70px
482+
margin: 8rem 0
483483
padding: 65px 235px 65px 65px;
484484
box-shadow: 0 10px 20px 0 rgba(0,0,0,0.25)
485485
text-align: left;
@@ -905,16 +905,34 @@ body
905905
.column
906906
margin-bottom 20px
907907
text-align center
908+
&.libraries
909+
margin: 0 0 20px 0;
908910
+breakpoint("tablet")
909911
margin-bottom 0
910912

913+
&.libraries
914+
margin: -2rem 0;
915+
911916
h2
912917
font-size 30px
913918
color white
914919
text-align center
915920
margin 0
916921
font-weight normal
917922

923+
.libraries
924+
background rgba(255, 255, 255, .05)
925+
+breakpoint("tablet")
926+
height 373px
927+
928+
.libraries-container
929+
padding: 2rem
930+
931+
p
932+
color white
933+
font-size 20px
934+
line-height 1.2
935+
918936
.logotype
919937
img
920938
height 40px
@@ -1023,6 +1041,14 @@ body
10231041
color white
10241042
border none
10251043

1044+
&.btn-ghost
1045+
background transparent
1046+
border 1px solid #D63AFF
1047+
color #D63AFF
1048+
1049+
& + .btn
1050+
margin-left 2rem
1051+
10261052
.token
10271053
margin-top 35px
10281054
h5

views/website/assets.pug

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
section.sources
22
.container
33
.columns
4+
.column.libraries
5+
.libraries-container
6+
h2 Looking for a JWT library?
7+
p Head on over to our libraries page to find a JWT library in your favorite language.
8+
a(href="/libraries").btn.btn-lg See al libraries
49
.column.badges
510
h2 Badges
611
.hold
@@ -32,9 +37,4 @@ section.sources
3237
.text-hold
3338
a(href='http://jwt.io/img/logo-asset.svg', target='_blank' title='Download JWT logo')
3439
i.icon-budicon-722
35-
p http://jwt.io/img/logo-asset.svg
36-
.column.tshirt
37-
h2 Store
38-
img(src='img/pic_tshirt.png' alt='JWT logo mark t-shirt')
39-
a.buy(href='http://swag.auth0.com/', target='_blank') Buy T-Shirt
40-
40+
p http://jwt.io/img/logo-asset.svg

views/website/index.pug

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ block content
1313
p JWT.IO allows you to decode, verify and generate JWT.
1414

1515
a.btn.btn-lg(href="/introduction") Learn more about jwt
16-
17-
include ebook.pug
16+
a.btn.btn-lg.btn-ghost(href="/libraries") See jwt libraries
1817

1918
include token-editor.pug
2019

20+
include ebook.pug
21+
2122
include assets.pug
2223

2324
include counter.pug

0 commit comments

Comments
 (0)