Add Yoga logo
Summary: Yoga logo was hotlinked from the old pages. This adds the logo to the sources Reviewed By: emilsjolander Differential Revision: D7009804 fbshipit-source-id: d913223e042b1bd9cf2ddab7c74d864e482d94b3
This commit is contained in:
committed by
Facebook Github Bot
parent
b3436d5eba
commit
100afcfdb0
@@ -13,6 +13,7 @@
|
||||
import React, {Component} from 'react';
|
||||
import Link from 'gatsby-link';
|
||||
import {Icon, Row, Col} from 'antd';
|
||||
import logo from '../pages/logos/logo.svg';
|
||||
import './Toolbar.css';
|
||||
|
||||
type Props = {
|
||||
@@ -24,18 +25,18 @@ export default class Toolbar extends Component<Props> {
|
||||
return (
|
||||
<div className="Toolbar">
|
||||
<Link to="/" className="logo">
|
||||
<img
|
||||
src="https://facebook.github.io/yoga/static/logo.svg"
|
||||
width="42"
|
||||
alt="Yoga logo"
|
||||
/>
|
||||
<img src={logo} width="42" alt="Yoga logo" />
|
||||
</Link>
|
||||
|
||||
<Link to="/docs" activeClassName="selected">
|
||||
Documentation
|
||||
</Link>
|
||||
|
||||
<Link to="/docs" activeClassName="selected">Documentation</Link>
|
||||
|
||||
<Row>
|
||||
<Col lg={24} md={0} sm={0} xs={0}>
|
||||
<Link to="/playground" activeClassName="selected">Playground</Link>
|
||||
<Link to="/playground" activeClassName="selected">
|
||||
Playground
|
||||
</Link>
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
|
Reference in New Issue
Block a user