Skip to content

Commit 9feca53

Browse files
committed
home
1 parent ab19d8a commit 9feca53

File tree

6 files changed

+51
-4
lines changed

6 files changed

+51
-4
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
# vuejs.org
22

3-
This site is built with [hexo](http://zespia.tw/hexo/). Site content is written in Markdown located in `source`. Pull requests welcome!
3+
This site is built with [hexo](http://zespia.tw/hexo/). Site content is written in Markdown format located in `source`. Pull requests welcome!
4+
5+
## Developing
6+
7+
Start a dev server at `localhost:4000`:
8+
9+
```
10+
& npm install -g hexo
11+
& hexo server
12+
```

themes/vue/layout/layout.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8">
66
<meta name="description" content="Vue.js - Intuitive, Fast and Composable MVVM for building interactive interfaces.">
77
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
8-
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600' rel='stylesheet' type='text/css'>
8+
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600|Lato' rel='stylesheet' type='text/css'>
99
<link rel="icon" href="/images/logo.png" type="image/x-icon">
1010
<script>
1111
window.PAGE_TYPE = "<%- page.type %>"

themes/vue/layout/partials/landing.ejs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@
5151
</div>
5252
</div>
5353
</div>
54+
<div id="why">
55+
<h2>You should try it out if you like:</h2>
56+
<ul>
57+
<li>Data bindings</li>
58+
<li>Plain JS object models</li>
59+
<li>API that simply makes sense</li>
60+
<li>Mix &amp; matching small libraries</li>
61+
</ul>
62+
</div>
5463
<div id="footer">
5564
<a class="start" href="/guide/index.html">Get Started</a>
5665
<p>Released under the <a href="http://opensource.org/licenses/MIT" target="_blank">MIT License</a></p>

themes/vue/source/css/_settings.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// font faces
22
$body-font = 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif
3-
//$code-font = 'Source Code Pro', 'Menlo', 'Consolas', monospace
3+
$logo-font = 'Lato', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif
44
$code-font = Monaco, courier, monospace
55

66
// font sizes

themes/vue/source/css/index.styl

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ html, body
4343
margin-top -360px
4444
left 0
4545
h1
46+
font-family $logo-font
4647
font-size 3em
4748
margin .5em 0 0
4849
.sub
@@ -133,6 +134,28 @@ html, body
133134
&.module
134135
background-position -200px 0
135136

137+
#why
138+
padding 4em 0
139+
background-color $green
140+
color #fff
141+
h2
142+
margin-top 0
143+
color #fff
144+
font-size 1.5em
145+
text-align center
146+
ul
147+
line-height 1.8em
148+
font-size 1.15em
149+
width 280px
150+
margin 0 auto
151+
padding 0
152+
list-style-type none
153+
li:before
154+
content "✓"
155+
font-weight bold
156+
margin-right .75em
157+
font-size 1.2em
158+
136159
#footer
137160
text-align center
138161
color #fff
@@ -206,6 +229,11 @@ html, body
206229
font-size 14px
207230
margin .8em 0
208231
width 250px
232+
#why
233+
ul
234+
width 250px
235+
h2
236+
font-size 1.35em
209237

210238
@media screen and (max-width: 860px)
211239
#features, #hero

themes/vue/source/css/page.styl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ $header-height = 40px
2929

3030
#logo
3131
display inline-block
32-
font-size 1.5em
32+
font-size 1.25em
3333
line-height $header-height
3434
color $dark
35+
font-family $logo-font
3536
img
3637
vertical-align middle
3738
margin-right 6px

0 commit comments

Comments
 (0)