Tweak landing page text

Reviewed By: danielbuechele

Differential Revision: D7009832

fbshipit-source-id: 69f7f68cc8d4f435f27c121bef4899c92f98a7a8
This commit is contained in:
Emil Sjölander
2018-02-16 06:42:04 -08:00
committed by Facebook Github Bot
parent 056b75858c
commit a1697d2307
2 changed files with 25 additions and 25 deletions

View File

@@ -32,10 +32,12 @@ export default ({data}) => (
<h1>Documentation</h1> <h1>Documentation</h1>
<p> <p>
Welcome to Yoga's documentation page. Below you will find helpful Welcome to Yoga's documentation page. Below you will find helpful
documentation on how to use yoga. As well as how to contribute to documentation covering all the features of the library. Each page
the core library, documentation, and tests. We have also put comes with an interactive playground for you to explore that feature.
together a set of examples showing off common layouts and how to The examples section feature some of the most common layouts and
user Yoga to achieve them. how to build them. This is a community projects and contributions
within documentation, code, and tests are more then welcome.
The contributing section below covers how to get started.
</p> </p>
</Col> </Col>
</Row> </Row>

View File

@@ -32,9 +32,9 @@ const HeroSection = () => (
Flexible Layouts <br /> with Yoga Flexible Layouts <br /> with Yoga
</h1> </h1>
<p> <p>
Build flexible layouts on any platform with a highly optimized layout Build flexible layouts on any platform with a highly optimized
engine designed with speed, size, and ease of use in mind. Yoga is open source layout engine designed with speed, size, and ease
open source and ready for you to use today. of use in mind.
</p> </p>
<Link to="/docs"> <Link to="/docs">
@@ -67,14 +67,14 @@ const AboutSectionOne = () => (
<Padded className="about-section"> <Padded className="about-section">
<Row> <Row>
<Col xl={16} lg={16} md={24} sm={24} xs={24}> <Col xl={16} lg={16} md={24} sm={24} xs={24}>
<h1>Foundation of Many Open Source&nbsp;UI Frameworks</h1> <h1>Open Source Adoption</h1>
<p> <p>
There are a large number of open source UI Frameworks which rely on Yoga already powers widely used open source frameworks.
Yoga to power their layout. Yoga enables these frameworks to perform It enables these frameworks to offer a simple and intuitive
layout in a simple and intuitive way across all platforms. This allows layout API that allows for engineers to collaborate more easily
engineers across platforms to collaborate more easily. Yoga allows across platforms. Yoga has unlocked exciting features such as
these frameworks to calculate layouts off the main thread to help calculating layouts off of the main thread to help ensure
ensure optimal UI performance. smooth UI performance.
</p> </p>
</Col> </Col>
</Row> </Row>
@@ -107,27 +107,25 @@ const AboutSectionTwo = () => (
<h3>PERFORMANCE</h3> <h3>PERFORMANCE</h3>
<p> <p>
Yoga was built to be fast and performance will always be one of Yoga's Yoga was built to be fast and performance will always be one of Yoga's
primary goals. We believe that for a layout engine to be able to power primary goals. For a layout engine to be able to power
any range of applications it needs to be fast and never stand in the any range of applications, it needs to be fast and never stand in the
way of a fluid user experience. way of a fluid user experience.
</p> </p>
<h3>CROSS PLATFORM</h3> <h3>CROSS PLATFORM</h3>
<p> <p>
Yoga is built with cross platform in mind. To ensure Yoga can be used Yoga is built with cross platform in mind. To ensure Yoga can be used
anywhere we have written is in portable C/C++ and tried to keep both anywhere, it was written in portable C/C++ and has a low number of
the dependencies and final binary size impact as low as possible. This dependencies and small binary size. This means Yoga can be used on
means you can use Yoga on iOS and Android, sharing knowledge and iOS and Android, sharing knowledge, and potentially code, between platforms.
potentially code between platforms.
</p> </p>
<h3>EASY TO LEARN</h3> <h3>EASY TO LEARN</h3>
<p> <p>
With Yoga we have focused on making it as easy as possible to pick up Yoga is easy to pick up and learn. The interactive documentation pages
and learn. With interactive documentation pages and a fully fledged and a fully fledged layout editor makes it easy to play and learn all
layout editor we believe that any engineering team can get up to speed the features. If used with any of the major UI frameworks the layout
in record time. If you are using Yoga with any of the major UI editor even provides code generation.
frameworks we even provide generated code from the layout editor.
</p> </p>
</Col> </Col>
</Row> </Row>