New marketing copy on homepage (#7012)
Ben Alpert committed
Jun 10, 2016 at 19:47 UTC
c7868cc7411694a7fd3b80aea589e280e88d926c
2 files changed
+10
-16
docs/css/react.scss
+1
-1
@@ -340,8 +340,8 @@ h1, h2, h3, h4, h5, h6 {
340
h3 {
341
color: $darkColor;
342
font-size: 24px;
343
+ line-height: 28px;
344
font-weight: normal;
344
- text-transform: uppercase;
345
}
346
p {
347
font-size: 16px;
docs/index.md
+9
-15
@@ -7,25 +7,19 @@ id: home
7
<section class="light home-section">
8
<div class="marketing-row">
9
<div class="marketing-col">
10
- <h3>Just the UI</h3>
11
- <p>
12
- Lots of people use React as the V in MVC.
13
- Since React makes no assumptions about the rest of your technology stack,
14
- it's easy to try it out on a small feature in an existing project.
15
- </p>
10
+ <h3>Declarative</h3>
11
+ <p>React makes it painless to update your views when your data changes. Just return the views to display for each possible state, and React handles the updates.</p>
12
+ <p>Declarative views make your code more predictable, simpler to understand, and easier to debug.</p>
13
</div>
14
<div class="marketing-col">
18
- <h3>Virtual DOM</h3>
19
- <p>
20
- React abstracts away the DOM, giving a simpler programming model and better performance. React can also render on the server using Node, and it can power native apps using <a href="https://facebook.github.io/react-native/">React Native</a>.
21
- </p>
15
+ <h3>Component-Based</h3>
16
+ <p>With React, create encapsulated components that manage their own state, then compose them to build complex UIs.</p>
17
+ <p>Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep your state out of the DOM.</p>
18
</div>
19
<div class="marketing-col">
24
- <h3>Data flow</h3>
25
- <p>
26
- React implements one-way reactive data flow which reduces boilerplate and is
27
- easier to reason about than traditional data binding.
28
- </p>
20
+ <h3>Learn Once, Write Anywhere</h3>
21
+ <p>We don't make assumptions about the rest of your technology stack – you can build new features in React without rewriting your existing code.</p>
22
+ <p>React can also render on the server using Node and power mobile apps using <a href="https://facebook.github.io/react-native/">React Native</a>.</p>
23
</div>
24
</div>
25
</section>