mirror of
https://github.com/ritz078/transform.git
synced 2026-11-21 00:32:56 +03:00
fix seo and update readme
This commit is contained in:
1 parent
836400b62a
commit
56fad60e5e
3 files changed
+19
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -4,6 +4,22 @@
|
||||
|
||||

|
||||
|
||||
## 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`
|
||||
|
||||
@@ -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."
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user