|
1 | 1 | <div id="hero">
|
2 | 2 | <div class="inner">
|
3 |
| - <ul id="nav"> |
4 |
| - <li><a href="/guide/" class="nav-link">Guide</a></li> |
5 |
| - <li><a href="/api/" class="nav-link">API</a></li> |
6 |
| - <li><a href="/examples/" class="nav-link">Examples</a></li> |
7 |
| - <li><a href="/blog" class="nav-link">Blog</a></li> |
8 |
| - <%- partial('partials/community_dropdown') %> |
9 |
| - </ul> |
10 |
| - <div id="logo-wrap"> |
11 |
| - <img id="logo" src="/images/logo.png"> |
12 |
| - <h1>Vue.js</h1> |
13 |
| - </div> |
14 |
| - <p class="desc">Reactive Components for Modern Web Interfaces</p> |
15 |
| - <p class="buttons"> |
16 |
| - <a href="/guide/installation.html" class="small-button">Install v<%- theme.vue_version %></a> |
17 |
| - <a href="/guide/index.html" class="small-button">Get Started</a> |
18 |
| - </p> |
19 |
| - <ul id="social"> |
20 |
| - <li><a href="https://twitter.com/vuejs" class="twitter-follow-button" data-show-count="false" data-dnt="true">Follow @vuejs</a></li> |
21 |
| - <li><iframe src="//ghbtns.com/github-btn.html?user=vuejs&repo=vue&type=watch&count=true" |
22 |
| - allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe></li> |
23 |
| - <li id="donate"> |
24 |
| - <span class="wrapper" style="width: 108px"> |
25 |
| - <img src="/images/patreon.png"> |
26 |
| - <a href="/support-vuejs">Support Vue.js</a> |
27 |
| - </span> |
28 |
| - </li> |
29 |
| - </ul> |
30 |
| - |
31 |
| - <ul id="translations"> |
32 |
| - <li><a href="http://cn.vuejs.org" class="nav-link">中文</a></li> |
33 |
| - <li class="delimiter">|</li> |
34 |
| - <li><a href="http://jp.vuejs.org" class="nav-link">日本語</a></li> |
35 |
| - <li class="delimiter">|</li> |
36 |
| - <li><a href="http://it.vuejs.org" class="nav-link">Italiano</a></li> |
37 |
| - </ul> |
38 |
| - |
39 |
| - <div id="sponsors"> |
40 |
| - <%- partial('partials/sponsors') %> |
| 3 | + <div class="left"> |
| 4 | + <img class="hero-logo" src="/images/logo.png"> |
| 5 | + </div><div class="right"> |
| 6 | + <h1> |
| 7 | + Make Web Development<br> |
| 8 | + Fun Again. |
| 9 | + </h1> |
| 10 | + <p> |
| 11 | + <a class="button" href="/guide/">GET STARTED</a> |
| 12 | + <a class="button white" href="https://github.com/vuejs/vue" target="_blank">GITHUB</a> |
| 13 | + </p> |
41 | 14 | </div>
|
42 | 15 | </div>
|
43 |
| - |
44 |
| - <div class="down"><img src="/images/down.png"></div> |
45 |
| -</div> |
46 |
| - |
47 |
| -<div id="sponsors-mobile"> |
48 |
| - <%- partial('partials/sponsors') %> |
49 | 16 | </div>
|
50 | 17 |
|
51 |
| -<div id="example"> |
52 |
| - <h2>10 Second Example</h2> |
53 |
| - <div class="block"> |
54 |
| - <figure class="highlight lang-html"><table><tbody><tr><td class="gutter"><pre>1 |
55 |
| -2 |
56 |
| -3 |
57 |
| -4 |
58 |
| -</pre></td><td class="code"><pre><span class="tag"><<span class="title">div</span> <span class="attribute">id</span>=<span class="value">"demo"</span>></span> |
59 |
| - <span class="tag"><<span class="title">p</span>></span>{{message}}<span class="tag"></<span class="title">p</span>></span> |
60 |
| - <span class="tag"><<span class="title">input</span> <span class="attribute">v-model</span>=<span class="value">"message"</span>></span> |
61 |
| -<span class="tag"></<span class="title">div</span>></span> |
62 |
| -</pre></td></tr></tbody></table></figure> |
63 |
| - </div> |
64 |
| - |
65 |
| - <div class="sign">+</div> |
66 |
| - |
67 |
| - <div class="block"> |
68 |
| - <figure class="highlight lang-js"><table><tbody><tr><td class="gutter"><pre>1 |
69 |
| -2 |
70 |
| -3 |
71 |
| -4 |
72 |
| -5 |
73 |
| -6 |
74 |
| -</pre></td><td class="code"><pre><span class="keyword">var</span> demo = <span class="keyword">new</span> Vue({ |
75 |
| - el: <span class="string">'#demo'</span>, |
76 |
| - data: { |
77 |
| - message: <span class="string">'Hello Vue.js!'</span> |
78 |
| - } |
79 |
| -}) |
80 |
| -</pre></td></tr></tbody></table></figure> |
81 |
| - </div> |
| 18 | +<div id="highlights"> |
| 19 | + <div class="inner"> |
| 20 | + <div class="point"> |
| 21 | + <h2>Performant</h2> |
| 22 | + <p> |
| 23 | + 16kb min+gzip Runtime<br> |
| 24 | + Blazing Fast Virtual DOM<br> |
| 25 | + Minimal Optimization Efforts |
| 26 | + </p> |
| 27 | + </div> |
82 | 28 |
|
83 |
| - <div class="sign">=</div> |
| 29 | + <div class="point"> |
| 30 | + <h2>Approachable</h2> |
| 31 | + <p>Already know HTML, CSS and JavaScript? Read the guide and start building things in no time!</p> |
| 32 | + </div> |
84 | 33 |
|
85 |
| - <div class="block result"> |
86 |
| - <div id="demo"> |
87 |
| - <p>{{message}}</p> |
88 |
| - <input v-model="message"> |
| 34 | + <div class="point"> |
| 35 | + <h2>Progressive</h2> |
| 36 | + <p>Lean, minimal core with a feature-rich, incrementally adoptable ecosystem.</p> |
89 | 37 | </div>
|
90 |
| - <script> |
91 |
| - var demo = new Vue({ |
92 |
| - el: '#demo', |
93 |
| - data: { |
94 |
| - message: 'Hello Vue.js!' |
95 |
| - } |
96 |
| - }) |
97 |
| - </script> |
98 | 38 | </div>
|
99 | 39 | </div>
|
100 |
| -<div id="features"> |
101 |
| - <div class="feats"> |
102 |
| - <div class="feat"> |
103 |
| - <h2><span class="icon simple"></span>Simple</h2> |
104 |
| - <p>Write some HTML, grab some JSON, create a Vue instance, that's it.</p> |
105 |
| - </div> |
106 |
| - <div class="feat"> |
107 |
| - <h2><span class="icon powerful"></span>Reactive</h2> |
108 |
| - <p>Expressions & computed properties with transparent dependency tracking.</p> |
109 |
| - </div> |
110 |
| - <div class="feat"> |
111 |
| - <h2><span class="icon composable"></span>Components</h2> |
112 |
| - <p>Compose your application with decoupled, reusable components.</p> |
113 |
| - </div> |
114 |
| - <div class="feat"> |
115 |
| - <h2><span class="icon compact"></span>Compact</h2> |
116 |
| - <p>~24kb min+gzip, no dependency.</p> |
117 |
| - </div> |
118 |
| - <div class="feat"> |
119 |
| - <h2><span class="icon fast"></span>Fast</h2> |
120 |
| - <p>Precise and efficient async batch DOM updates.</p> |
121 |
| - </div> |
122 |
| - <div class="feat"> |
123 |
| - <h2><span class="icon module"></span>Package Ready</h2> |
124 |
| - <p>Install via NPM or Bower - leverage your favorite eco system!</p> |
125 |
| - </div> |
| 40 | + |
| 41 | +<div id="sponsors"> |
| 42 | + <div class="inner"> |
| 43 | + <h3>PROUDLY SPONSORED BY</h3> |
| 44 | + <%- partial('partials/sponsors') %> |
| 45 | + <br> |
| 46 | + <a class="become-sponsor button white" href="/support-vuejs/">Become a Backer</a> |
126 | 47 | </div>
|
127 | 48 | </div>
|
128 |
| -<div id="why"> |
129 |
| - <h2>You should try it out if you like:</h2> |
130 |
| - <ul> |
131 |
| - <li>Extendable Data bindings</li> |
132 |
| - <li>Plain JS object models</li> |
133 |
| - <li>APIs that simply make sense</li> |
134 |
| - <li>Building UIs by composing components</li> |
135 |
| - <li>Mixing & matching small libraries</li> |
136 |
| - </ul> |
137 |
| -</div> |
| 49 | + |
138 | 50 | <div id="footer">
|
139 |
| - <a class="start" href="/guide/index.html">Get Started</a> |
140 |
| - <p>Released under the <a href="http://opensource.org/licenses/MIT" target="_blank">MIT License</a></p> |
141 |
| - <p>Copyright (c) <%- date(Date.now(), 'YYYY') %> <a href="http://evanyou.me" target="_blank">Evan You</a></p> |
| 51 | + Released under the <a href="https://opensource.org/licenses/MIT" href="_blank">MIT License</a><br> |
| 52 | + Copyright © 2014-<%- new Date().getFullYear() %> Evan You |
142 | 53 | </div>
|
143 |
| - |
144 |
| -<!-- Twitter follow button script --> |
145 |
| -<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> |
0 commit comments