Skip Navigation

On this page:


Variables

/* Colors */
:root {
    --color-darkest: #000;
    --color-lightest: #fff;
    --color-accent: #008A03;
    --color-warning: #b3001b;

    --color-body-background: #fcfcfc;
    --color-border: rgba(31, 31, 31, 0.15);

    --color-header-background: #f3f3f3;
    --color-header-border: var(--color-border);

    --color-primary-nav-link: #313131;
    --color-primary-nav-hover: #313131;

    --color-primary-link: #02339E; 

    --color-primary-headers: #30343F;
    --color-primary-text: #313131;

    /* Border Radius */
    --global-border-radius: 15px;

    /* Easing */
    --global-easing: ease-in-out;

    /* For font sizing */
    --min-viewport: 20; // 320px
    --max-viewport: 90; // 1440px

    /* Heights */
    --global-header-height: 60px;

    /* Spacing */
    --global-side-space: 20px;
    --global-vertical-space: 50px;

    /* Widths */
    --max-width-article: 80ch;
    --max-width-content: 1440px;
    --max-width-media: 1280px;
}


Layout: Base

Layout: Article

Layout: Launch



Container: Grid

<!-- Author Grid -->
<div class="grid grid--author"></div>

<!-- Card Grid -->
<div class="grid grid--card"></div>

Container: Text Block

<div class="text-block"></div>


Component: Author Articles

<div class="author-articles">
    <h2 class="text-5">Articles:</h2>

    <ul>
    {articles.map(article =>
        (article.frontmatter.authorSlug === slug)
            &&
        <li>
            <a href={article.url}>{article.frontmatter.title}</a>
            <span>{article.frontmatter.pubDate}</span>
        </li>
    )}
    </ul>
</div>

Component: Author Card

<!-- Automatically Generated -->
<AuthorCard  />

<!-- Single -->
<AuthorCard author="Author Name" authorSlug="#" authorAvatar="/assets/img/generic/poster-dark.png" />

Component: Articles Tout

<!-- Default -->
<ArticlesTout />

<!-- Defin -->
<ArticlesTout numberOfArticles="6" />

Component: Card

<Card
    link={post.url}
    image={post.frontmatter.imageHero}
    imageAlt={post.frontmatter.imageHeroAlt}
    title={post.frontmatter.title}
    author={post.frontmatter.author}
    authorSlug={post.frontmatter.authorSlug}
    pubDate={post.frontmatter.pubDate}
/>
<CTALink link="/articles/" linkText="See More Articles" />

Component: Document Head

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="description" content={ogDescription}>
<meta data-hid="og:title" property="og:title" content={ogTitle}>
<meta data-hid="og:image" property="og:image" content={ogImage}>
<meta data-hid="og:description" property="og:description" content={ogDescription}>
<meta data-hid="twitter:title" name="twitter:title" content={ogTitle}>
<meta data-hid="twitter:image" name="twitter:image" content={ogImage}>
<meta data-hid="twitter:description" name="twitter:description" content={ogDescription}>
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/assets/img/global/apple-touch-icon.png">
<link rel="stylesheet" href={import.meta.env.MODE === 'development' ? '/src/styles/global.scss' : '/css/global.css'}/>
<title>{siteName}{pageTitle && ' : ' + pageTitle}</title>

Component: Image

<Image imageWidth="natural" imageSrc={frontmatter.imageHero} imageAlt={frontmatter.imageHeroAlt} caption="Optional image caption." />

Component: Launch

<!-- Launch Layout -->
<LaunchLayout launchEffect="launch--stretch" launchColorStart='#ff5d01' launchColorEnd='#31274a'>

<!-- Launch Component -->
<Launch launchEffect={launchEffect} launchColorStart={launchColorStart} launchColorEnd={launchColorEnd}/>

Component: Page Header

<!-- Basic Header -->
<PageHeader pageTitle="Guides" />

<!-- Article Header -->
<PageHeader headerType="article" pageTitle={content.title} pubDate={content.pubDate} author={content.author} authorSlug={content.authorSlug} />

<!-- Author Header -->
<PageHeader headerType="author" pageTitle={pageTitle} authorAvatar={article.frontmatter.authorAvatar}/>

Component: Pagination

<Pagination page={page} />

Component: Video

<Video
    actionColor="var(--color-accent)"
    iframeSrc="https://www.youtube-nocookie.com/embed/dsTXcSeAZq8"
    videoTitle="Astro in 100 Seconds"
    poster="/assets/img/generic/poster-dark.png"
    posterAlt="Astro Logo"
/>


RSS



Other Guides & Demos: