UNPKG

react-ark-tools

Version:

Boilerplate and tooling for JavaScript application development with React

33 lines (26 loc) 726 B
/** * React App SDK (https://github.com/kriasoft/react-app) * * Copyright © 2015-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Layout from '../../components/Layout'; import s from './GetStarted.css'; import { title, html } from './GetStarted.md'; class AboutPage extends React.Component { componentDidMount() { document.title = title; } render() { return ( <Layout className={s.content}> <h1>{title}</h1> <div dangerouslySetInnerHTML={{ __html: html }} /> </Layout> ); } } export default AboutPage;