Quick start guide (#2692)
Following on from #2686, this PR replaces the introduction page with a Quick Start guide. Next Steps: - Better UX around the code blocks, throughout the site. A copy button would be great. - Collapsible extra info on the release version and rendering an inline component - Maybe remove the embed - [x] `documentation` — Changes to the documentation only[^2] ### Release Notes - Add a quick start guide --------- Co-authored-by: Mime Čuvalo <mimecuvalo@gmail.com>
This commit is contained in:
parent
f5d1977263
commit
a5e6ae87fe
3 changed files with 114 additions and 33 deletions
|
@ -150,13 +150,13 @@ export const Footnotes = (props: any) => {
|
|||
/* -------------------- API docs -------------------- */
|
||||
|
||||
export const ApiHeading = (props: any) => {
|
||||
return <div className="article__api-heading" {...props} />
|
||||
return <div {...props} />
|
||||
}
|
||||
|
||||
export const Embed = (props: any) => {
|
||||
return (
|
||||
<div className="article__embed">
|
||||
<iframe className="iframe" src={props.src} width="100%" height="600p" frameBorder="0" />
|
||||
<div className={props.className || 'article__embed'}>
|
||||
<iframe className="iframe" src={props.src} width="100%" height={600} />
|
||||
{props.caption && <span className="article__caption">{props.caption}</span>}
|
||||
</div>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue