diff --git a/website/src/components/FacebookOSSLogo.js b/website/src/components/FacebookOSSLogo.js new file mode 100644 index 00000000..6a1f02bd --- /dev/null +++ b/website/src/components/FacebookOSSLogo.js @@ -0,0 +1,21 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @flow + * @format + */ + +import React, {Component} from 'react'; + +export default () => diff --git a/website/src/components/Footer.css b/website/src/components/Footer.css new file mode 100644 index 00000000..2813bc65 --- /dev/null +++ b/website/src/components/Footer.css @@ -0,0 +1,43 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + +.Footer { + display: flex; + padding: 10px 15px; + z-index: 4; + align-items: center; + justify-content: space-between; + background-color: white; + border-top: 1px solid #a6dacf; +} + +.Footer svg { + width: 30px; + height: 30px; +} + +.Footer svg path { + fill: #a6dacf; +} + +.Footer .logoOSS { + display: flex; + align-items: center; + text-decoration: none; +} + +.Footer a { + margin: 0 10px; +} + +.Footer .SocialNetwork { + display: flex; + align-items: center; + text-decoration: none; +} diff --git a/website/src/components/Footer.js b/website/src/components/Footer.js new file mode 100644 index 00000000..de69768c --- /dev/null +++ b/website/src/components/Footer.js @@ -0,0 +1,38 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @flow + * @format + */ + +import React, {Component} from 'react'; +import Link from 'gatsby-link'; +import {Icon} from 'antd'; +import './Footer.css'; +import FacebookOSSLogo from './FacebookOSSLogo'; + +export default class Footer extends Component<{}> { + render() { + return ( +
- Welcome to Yoga's documentation page. Below you will find helpfull - documentation on how to use yoga. As well as how to contribute to the - core library, documentation, and tests. We have also put together a set - of examples showing off common layouts and how to user Yoga to achieve them. + Welcome to Yoga's documentation page. Below you will find helpful + documentation on how to use yoga. As well as how to contribute to + the core library, documentation, and tests. We have also put + together a set of examples showing off common layouts and how to + user Yoga to achieve them.
- Build flexible layouts on any platform with a highly optimized - layout engine designed with speed, size, and ease of use in mind. - Yoga is open source and ready for you to use today. + Build flexible layouts on any platform with a highly optimized layout + engine designed with speed, size, and ease of use in mind. Yoga is + open source and ready for you to use today.
- There are a large number of open source UI Frameworks which rely on - Yoga to power their layout. Yoga enables these frameworks to perform - layout in a simple and intuitive way across all platforms. This allows - engineers across platforms to collaborate more easily. Yoga allows these - frameworks to calculate layouts off the main thread to help ensure - optimal UI performance. + There are a large number of open source UI Frameworks which rely on + Yoga to power their layout. Yoga enables these frameworks to perform + layout in a simple and intuitive way across all platforms. This allows + engineers across platforms to collaborate more easily. Yoga allows + these frameworks to calculate layouts off the main thread to help + ensure optimal UI performance.
@@ -97,53 +103,44 @@ const AboutSectionTwo = () => (- 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 - any range of applications it needs to be fast and never stand in the way - of a fluid user experience. + 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 + any range of applications it needs to be fast and never stand in the + way of a fluid user experience.
- 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 - the dependencies and final binary size impact as low as possible. - This means you can use Yoga on iOS and Android, sharing knowledge and - potentially code between platforms. + 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 + the dependencies and final binary size impact as low as possible. This + means you can use Yoga on iOS and Android, sharing knowledge and + potentially code between platforms.
- With Yoga we have focused on making it as easy as possible to pick up and - learn. With interactive documentation pages and a fully fledged layout editor - we believe that any engineering team can get up to speed in record time. If - you are using Yoga with any of the major UI frameworks we even provide generated - code from the layout editor. + With Yoga we have focused on making it as easy as possible to pick up + and learn. With interactive documentation pages and a fully fledged + layout editor we believe that any engineering team can get up to speed + in record time. If you are using Yoga with any of the major UI + frameworks we even provide generated code from the layout editor.
-