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:
Taha 2024-02-12 09:53:11 +00:00 committed by GitHub
parent f5d1977263
commit a5e6ae87fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 114 additions and 33 deletions

View file

@ -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>
)