mirror of
https://github.com/c8r/x0.git
synced 2024-09-11 13:45:52 +03:00
Edit docs
This commit is contained in:
parent
f81ee1078f
commit
4753a14586
@ -8,6 +8,10 @@ const routes = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
export default class extends React.Component {
|
export default class extends React.Component {
|
||||||
|
static defaultProps = {
|
||||||
|
ignore: true
|
||||||
|
}
|
||||||
|
|
||||||
static getInitialProps = async ({ path }) => {
|
static getInitialProps = async ({ path }) => {
|
||||||
let title = 'dynamic'
|
let title = 'dynamic'
|
||||||
switch (path) {
|
switch (path) {
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
import {
|
|
||||||
Container
|
|
||||||
} from 'rebass'
|
|
||||||
import styled from 'styled-components'
|
|
||||||
import Readme from '../README.md'
|
|
||||||
|
|
||||||
const Prose = styled.div([], {
|
|
||||||
'& img': {
|
|
||||||
display: 'block',
|
|
||||||
maxWidth: '100%',
|
|
||||||
height: 'auto',
|
|
||||||
},
|
|
||||||
'& .demo-image, & a[href="LICENSE/"]': {
|
|
||||||
display: 'none'
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
export default props =>
|
|
||||||
<Container py={5}>
|
|
||||||
<Prose>
|
|
||||||
<Readme />
|
|
||||||
</Prose>
|
|
||||||
</Container>
|
|
6
docs/todo.md
Normal file
6
docs/todo.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
ignore: true
|
||||||
|
---
|
||||||
|
|
||||||
|
- [ ] getting-started
|
||||||
|
- [ ] getting-started
|
Loading…
Reference in New Issue
Block a user