The content is stored in the MDX data format.
For white on black coloring, add inverted
attribute to <Section>
<Sections>
<Section>
<SectionContent>
# Content
Just some paragraph
</SectionContent>
</Section>
</Sections>
- Set minimum width per column via
minWidth
. Default is 250px. - Add
centered
to center all text within the each column.
<Grid minWidth="500px" centered>
Column 1
Column 2
<div>
## Complex column 3
<GridImage image="name-of-image-in-grid-folder.jpg" alt="alt text for image" maxWidth="100%"/>
</div>
</Grid>
Two columns with the image pushed to the very side of the screen.
Can have:
reverse
: Display image first, then content.contentWidth
: Width of the content. Value of 1 to 12
<Columns reverse contentWidth="6">
<ColumnContent>
# Actual content
of the columns layout
</ColumnContent>
<ColumnImage file="name-of-file-in-images-columns-dir.jpg" alt="image alt text for seo" />
</Columns>
<Card>
<Link humanId="link-to-somewhere">
<CardImage image="image-from-card-folder.jpg" alt="some alt text" />
</Link>
<CardContent>
the **actual** card content.
</CardContent>
</Card>
<Carousel>
<CarouselNavigation>
Navigation Item 1
Navigation Item 2
Navigation Item 3
</CarouselNavigation>
<CarouselSlides>
<CarouselSlide>
First carousel slide. Linked with first navigation item.
</CarouselSlide>
...
</CarouselSlides>
<Link humanId="some-page">More information</Link>
<Centered>
I'll be displayed in the middle. Consider using it withing <SectionContent />.
</Centered>
<KnockoutText> I'll have a moving image as text color</KnockoutText>
<Video youtubeId="aFG9afg0" description="Awesome documentation about digital nomads" />
Basically a fancy card.
<Person name="Name of person" image="image-in-persons-folder.jpg">
Some description to the person
</Person>
Either <ClientForm>
or <FreelancerForm>
<ClientForm>
<FormIntro>
# Get in touch with us.
Some text for the user.
</FormIntro>
<FormSuccess>
# Thanks.
I'll be shown when the form was successfully submitted.
</FormSuccess>
</ClientForm>
npm ci
npm run develop
to start a development server with live reload.
For more, see npm run
for all available scripts.
npm run build
to create a production ready website.
npm run production
to emulate production environment on the current device.
The repo is connected to netlify. master
is automatically deployed to live (https://amazing-hermann-f50450.netlify.com), all branches are available via http://BRANCH-NAME--amazing-hermann-f50450.netlify.com/
Every merge request will trigger a netlify deployment, which shows up in GitLab.