meta | content | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
🧩 This component uses a Tag style.
Code example:
<Navigation>
<PreviousButton to="/">Previous</PreviousButton>
<NextButton to="/">Next</NextButton>
</Navigation>
Render:
Previous Next Previous Next Previous Lorem ipsum dolor sit amet🧩 This component uses a Tag style.
Code example:
<Steps>
<StepButton to="/">How-to create an Instance</StepButton>
<StepButton to="/">How-to create an account</StepButton>
</Steps>
Render:
How-to create an account How-to create an Instance How-to create an account🧩 This component uses a Tag style.
Code example:
<ClickableBanner
productLogo="cli"
title="CLI"
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
url="/#"
label="Link"
/>
Render:
Code example:
<ClickableBanner
title="CLI"
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
url="/#"
label="Link"
/>
Render:
🧩 This component uses a Tag style.
Props:
title
(mandatory!)tags
(use OBJECT array)description
url
(for link)label
(for link)
Code example:
<DefaultCard
title="Lorem Ipsum"
tags={['one', 'two', 'three']}
description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad."
url="/#"
label="Link label" />
Render:
<DefaultCard title="Lorem Ipsum" tags={['one', 'two', 'three']} description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad." url="/#" label="Link label" />
<DefaultCard title="Lorem Ipsum" tags={['one', 'two', 'three']} url="/#" label="Link label" />
⚙️ This component is a "system codebase" component.
🧩 This component uses a Tag style.
Code example:
<Grid>
<DefaultCard title="Lorem Ipsum" tags={['one', 'two', 'three']} description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad." url="/#" label="Link label" />
<DefaultCard title="Lorem Ipsum" description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad." />
<DefaultCard title="Lorem Ipsum" description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad." />
<DefaultCard title="Lorem Ipsum" description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad." />
<DefaultCard title="Lorem Ipsum" tags={['one', 'two', 'three']} description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad." url="/#" label="Link label" />
<DefaultCard title="Lorem Ipsum" tags={['one', 'two', 'three']} description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad." url="/#" label="Link label" />
<DefaultCard title="Lorem Ipsum" tags={['one', 'two', 'three']} description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad." url="/#" label="Link label" />
</Grid>
Render:
Example using DefaultCard
in Grid
wrapper.
🧩 This component uses a Tag style.
Code example:
<HelpBanner
url="/#"
title = 'Still need help?'
/>
Render
🧩 This functionnality uses MDX files.
⚙️ This is a "system codebase" feature.
See Changelog page.
Each "Log" is MDX file:
- Go to
changelog/
folder - Add or choose a directory relative to the log you want to add
- Create a
.mdx
file in it
NOTES:
- Organize
changelog/
folder structure as you want - The
.mdx
filename does not matter - Assets should be in a
asset
directory, sibling of your.mdx
file
At top of .mdx
file, you MUST add data in frontmatter:
---
title: Migration to the new Object Storage backend (HIVE) for all regions
status: changed
author:
fullname: 'Join the #container-registry channel on Slack.'
url: 'https://slack.scaleway.com/'
date: 2022-01-02
category: compute
product: container-registry
---
- title (mandatory)
- status (mandatory)
added
security
changed
deprecated
removed
fixed
- author
- fullname (optional / mandatory IF url is set) It could be a name or a sentence if you please.
- url (optionnal)
- date (mandatory)
YYYY-MM-DD
- category (mandatory)
kebab-case
- product (mandatory)
kebab-case
The content section works as any documentation .mdx
file. It accept markdown and Components as well. Be concise !
🧩 This component uses a Tag style.
The ChangelogList component is used to display the latest entries of the changelog, in a particular page.
If there is no product name passed to the component, the list will display the X latest changes from the changelog:
Code example:
<ChangelogList numberOfChanges={4} />
Render:
By adding a product name to the component, the list will display the X latest changes from the changelog for this product:
Code example:
<ChangelogList productName="instances" numberOfChanges={2} />
Render:
🧩 This feature uses a native-extended Markdown style.
- Use
[Download](document-pdf-name.pdf) the document as PDF file.
- Place the PDF file at a sibling assets directory
- This is usefull to automatically get the filesize data
- Then it should appear like this (with PDF icon):
-
📄 <strong style={{textDecoration: "underline", color: "#bc4fff"}}>Download (PDF, 2.26MB) the document as PDF file.
-
🧩 This component uses a Tag style.
Props:
productIcon
(mandatory!) - Icon name from Ultraviolet libtitle
(mandatory!)description
url
(for link, mandatory!)
Code example:
<ProductCard
productIcon="AccountExperienceProductIcon"
title="Lorem Ipsum"
description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad."
url="/#" />
Render:
Props:
productName
(mandatory!)description
productLogo
url
(for link)label
(for link)
Code example:
<ProductHeader
productName="Instances"
productLogo="instances"
description="Lorem ipsum..."
url="/#"
label="Instances quickstart"
/>
Render:
There is 4 SummaryCard using props mentionned below.
The icon
names are not random ones they come from Ultraviolet lib.
Code example:
<SummaryCard
title="Quickstart"
icon="rocket"
description="lorem ipsum dolor sit amet, consectetur adipiscing elit in in part of the description"
label="Read More"
url="/#"
/>
Render:
Here is a list of current Ultraviolet illustrations available
Here is a list of current Ultraviolet product icons available
---