Skip to content

Commit a4a6951

Browse files
committed
Landing changes
1 parent cded40b commit a4a6951

5 files changed

Lines changed: 20 additions & 7 deletions

File tree

landing/index.jade

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ html
1313
script(type='text/javascript', src='//cdn.auth0.com/web-header/latest/standalone.min.js')
1414
script(type='text/javascript', src='//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/highlight.min.js')
1515

16-
include templates/utils/mixins
16+
include templates/mixins/header
17+
include templates/mixins/playground
1718

1819
body
1920
.container-styleguide

landing/styles/main.styl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
aside_width = 250px;
77

8+
*
9+
text-rendering: geometricPrecision
10+
811
[data-group]
912
background-color: #fafafa;
1013
padding-bottom: 100px;

landing/templates/components.jade

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@
2727

2828
+playground('modal')
2929
include ../../lib/modal/demo
30+
31+
32+
section
33+
34+
h2#switchboard Switchboard
35+
p Donec ullamcorper nulla non metus auctor fringilla. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Donec ullamcorper nulla non metus auctor fringilla.
36+
37+
+playground('switchboard', '', true)
38+
include ../../lib/switchboard/demo
3039

3140
br
3241
br
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
mixin header(title, img, description)
3+
section.jumbotron
4+
h2: img(src!=img || '/lib/logos/img/icon-styleguide.svg', alt!=title, width='48', height='')
5+
h1= title
6+
p= description || 'Lorem ipsum dolor sit amet, consectetur adipiscing elit quis risus eget urna mollis.'
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
mixin header(title, img, description)
2-
section.jumbotron
3-
h2: img(src!=img || '/lib/logos/img/icon-styleguide.svg', alt!=title, width='48', height='')
4-
h1= title
5-
p= description || 'Lorem ipsum dolor sit amet, consectetur adipiscing elit quis risus eget urna mollis.'
6-
71

82
mixin playground(name, height, noAlternate)
93
- var path = 'lib/' + name + '/demo'

0 commit comments

Comments
 (0)