[docs,style][s]: fix layout of docs page with tailwind (e.g. center, fix margins).
This commit is contained in:
@@ -6,28 +6,24 @@ import Footer from '../components/Footer'
|
|||||||
import { formatMD } from '../lib/utils'
|
import { formatMD } from '../lib/utils'
|
||||||
|
|
||||||
export default function Docs({ mdFile }) {
|
export default function Docs({ mdFile }) {
|
||||||
|
return (
|
||||||
return (
|
<>
|
||||||
<>
|
<Head>
|
||||||
<Head>
|
<title>Portal.js API Documentation</title>
|
||||||
<title>Portal.js Api Documentation</title>
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
</Head>
|
||||||
</Head>
|
<Nav />
|
||||||
<Nav />
|
<div className="prose mx-auto my-24">
|
||||||
<div>
|
<div dangerouslySetInnerHTML={{ __html: mdFile }} />
|
||||||
<div className="prose">
|
<p className="text-center">
|
||||||
<div dangerouslySetInnerHTML={{ __html: mdFile }} />
|
<Link href="/installation">
|
||||||
</div>
|
<button>Next Page</button>
|
||||||
<br />
|
</Link>
|
||||||
<Link href="/installation">
|
</p>
|
||||||
<button >Next Page</button>
|
</div>
|
||||||
</Link>
|
<Footer />
|
||||||
</div>
|
</>
|
||||||
|
)
|
||||||
<Footer />
|
|
||||||
|
|
||||||
</>
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user