diff --git a/src/pages/about/docs.astro b/src/pages/about/docs.astro index 1872dc0a..c35c7d0d 100644 --- a/src/pages/about/docs.astro +++ b/src/pages/about/docs.astro @@ -17,6 +17,10 @@ import DisplayTable from "../../components/DisplayTable.astro"; import Itemize from "../../components/Itemize.astro"; import Enumerate from "../../components/Enumerate.astro"; import Item from "../../components/Item.astro"; +import Example from "../../components/Example.astro" +import Row from "../../components/Row.astro" +import Col from "../../components/Col.astro" + --- - - - - -The `Image` component is used to display images with optional width and alt text (text displayed in case the image fails to load). - -

Type: Self-closing & Regular

- -Options: - - -

Self-closing:

- -Will just display the image. - -Example: - - -` /> - -

Result:

- - - -

Regular:

- -Anything contained within the `Image` tag will be treated as a caption. - -Example: - - -

- Wow that's a beautiful image -

- -` /> - -

Result:

- - Wow that's a beautiful image - - Used to create tables. This element ensures mobile responsiveness, default HTML tables might break the look of the page if they contain a lot of content, or if they feel like it.