@@ -34,23 +34,17 @@ fizzBuzzJS := {
3434 <span class="hljs-keyword">return</span> _arr;
3535}`
3636}
37- // #ff2400, #e81d1d, #e8b71d, #e3e81d, #1de840, #1ddde8, #2b1de8, #dd00f3, #dd00f3
38- // #ede7f6, #fce4ec, #fbe9e7, #fff3e0, #e8eaf6, #e8f5e9,
39- // #ffebee, #fff8e1, #fffde7, #f1f8e9, #e1f5fe, #e3f2fd, #F3E5F5
40- // white, #fce4ec, #FFECB3, #fff9c4, #dcedc8, #b2ebf2, #b3e5fc, #ede7f6, white
37+
4138styles := {
4239 hero: {
4340 width: '100%'
4441 height: '100%'
45- background: `linear-gradient(0deg,
46- white, #f9dbd8, #fff5d6, #fffbd1, #e9f7d9, #d2f0fe, #bae8fd, #ede7f6, white
47- )`
48- textShadow: '1px 1px 1px rgba(0,0,0, .1)'
42+ background: '#f9f5d7'
4943 }
5044 heroTitle: {
51- color: 'white '
45+ color: '#28799f '
5246 textShadow: '1px 1px 1px rgba(0,0,0, .2)'
53- fontSize: '4rem '
47+ fontSize: '3.5rem '
5448 }
5549 heroSubtitle: {
5650 color : '#7e8990'
@@ -61,8 +55,8 @@ styles := {
6155}
6256
6357Hero ( ) - >
64- < div style = { styles . hero } className = "py-7 mt-n1" >
65- < center className = "py-4 " >
58+ < div style = { styles . hero } className = "py-4 mt-n1" >
59+ < center className = "pt-5 pb-3 " >
6660 < h1 style = { styles . heroTitle } > LightScript</ h1 >
6761 < h4 >
6862 < em style = { styles . heroSubtitle } >
@@ -75,24 +69,25 @@ Hero() ->
7569 < Row className = "justify-content-sm-center" >
7670 < Col sm = { 8 } >
7771 < center >
78- < p className = "lead" >
72+ < p className = "lead pt-2 " >
7973 Built to make programmers more productive by zapping cruft. ⚡
8074 </ p >
81- < p className = "lead" >
75+ < p className = "lead pb-2 " >
8276 Implemented as a fork of Babel’s parser (babylon) wrapped in a Babel plugin.
8377 Fully compatible with JSX, all ES6/7 features, and the Flow static typing engine.
8478 </ p >
79+ < p className = "text-muted" > Coming soon. A quick taste:</ p >
8580 </ center >
8681 </ Col >
8782 </ Row >
8883 </ Container >
8984 </ div >
9085
9186export default ( ) - >
92- < div >
87+ < div className = "pb-6" >
9388 < Hero />
9489 < Container >
95- < Row className = "justify-content-sm-center mt-n6 " >
90+ < Row className = "justify-content-sm-center mt-n4 " >
9691 < Col md = { 5 } >
9792 < div style = { styles . codeWrapper } className = "h-100" >
9893 < pre className = "mb-0 h-100" >
@@ -110,9 +105,6 @@ export default () ->
110105 </ Row >
111106 < Row className = "justify-content-sm-center" >
112107 < Col sm = { 8 } >
113- < p > Coming soon. A quick taste:</ p >
114-
115-
116108 < p > Completed features include:</ p >
117109 < ul >
118110 < li > implicit returns</ li >
0 commit comments