fix seo and update readme

This commit is contained in:
Ritesh Kumar committed 2017-09-01 21:43:51 +05:30
1 parent 836400b62a
commit 56fad60e5e
3 files changed
+19 -2

No files matched your search

+2 -2
View File
@@ -109,12 +109,12 @@ export default class Layout extends PureComponent {
};
render() {
const { label, desc } = activeRouteData(this.props.pathname);
const { label, desc, title } = activeRouteData(this.props.pathname);
return (
<div className="main-wrapper">
<Head>
<title>{label}</title>
<title>{title || label}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/png" href="/static/favicon.png" />
<meta
+16
View File
@@ -4,6 +4,22 @@
![Demo](demo.png)
## Features
- [JSON to PropTypes](https://transform.now.sh)
- [HTML to JSX](https://transform.now.sh/html-to-jsx)
- [CSS to JS Objects](https://transform.now.sh/css-to-js)
- [JSON to Flow Types](https://transform.now.sh/json-to-flow-types)
- [JSON to TypeScript Interface](https://transform.now.sh/json-to-ts-interface)
- [JSON to MobX-State-Tree Model](https://transform.now.sh/json-to-mobx-state-tree)
- [JSON to Rust Serde](https://transform.now.sh/json-to-rust-serde)
- [JSON to Mongoose Schema](https://transform.now.sh/json-to-mongoose)
- [JSON to Big Query Schema](https://transform.now.sh/json-to-big-query)
- [JSON to MySQL](https://transform.now.sh/json-to-mysql)
- [JSON to Scala Case Class](https://transform.now.sh/json-to-scala-case-class)
- [GraphQL to TypeScript](https://transform.now.sh/graphql-to-typescript)
- [GraphQL to Flow](https://transform.now.sh/graphql-to-flow)
- [XML to JSON](https://transform.now.sh/xml-to-json)
## Code Structure
- Create a new route - Add a file `new-pathname.js` in `pages` folder.
- Update path info in `utils/routes.js`
+1
View File
@@ -41,6 +41,7 @@ export const categorizedRoutes = [
{
label: "JSON to React PropTypes",
path: "/",
title: 'Transform | All important transforms at one place.',
desc:
"An online utility to convert a JSON object to prop-types, Typescript Interface, Rust serde or flow types. It also converts your CSS into JS and HTML into JSX."
},