StepItem

apps/www/src/components/StepItem.astro · 20 lines · group Features & lists

Used by

Live sites: pages.gitt.one.

Samples 2

pages.gitt.one/how-it-works/shown inside <StepsSection>

What happens on push

The same four steps for every site produced by the technology — nothing bespoke per project.

  1. 1

    Content lands in git

    You edit markdown or typed content tags — in your IDE, in the GitLab web editor, or with an AI agent working on the repository

  2. 2

    CI pulls the builder

    A standard pipeline pulls the builder image; the engine and its locked dependencies come ready-made, so builds stay reproducible for years

  3. 3

    Static output is built

    Markdown is rendered, images are converted into responsive webp, files are pre-compressed and SEO files are generated

  4. 4

    An image ships

    The result is an ordinary ~50 MB nginx image — deploy it to our Kubernetes clusters or to any Docker hosting you control

MDX of this sample
<StepsSection
  title="What happens on push"
  description="The same four steps for every site produced by the technology — nothing bespoke per project."
>
  <StepItem
    ind="1"
    title="Content lands in git"
    description="You edit markdown or typed content tags — in your IDE, in the GitLab web editor, or with an AI agent working on the repository"
  />
  <StepItem
    ind="2"
    title="CI pulls the builder"
    description="A standard pipeline pulls the builder image; the engine and its locked dependencies come ready-made, so builds stay reproducible for years"
  />
  <StepItem
    ind="3"
    title="Static output is built"
    description="Markdown is rendered, images are converted into responsive webp, files are pre-compressed and SEO files are generated"
  />
  <StepItem
    ind="4"
    title="An image ships"
    description="The result is an ordinary ~50 MB nginx image — deploy it to our Kubernetes clusters or to any Docker hosting you control"
  />
</StepsSection>
pages.gitt.one/shown inside <StepsSection>

From a git repository to a live site

A new website is just a new content repository. Time to first site — hours, not weeks.

  1. 1

    Write content

    Put your content in a git repository: markdown files for articles and knowledge bases, semantically typed content tags for landing pages

  2. 2

    Add a tiny Dockerfile

    A few lines on top of our standard builder image — no build configs, no toolchain to maintain in your repo

  3. 3

    Push to master

    CI builds your content into a ~50 MB nginx image and deploys it — to our Kubernetes clusters or any Docker hosting of yours

  4. 4

    Edit and preview

    Change content right in the GitLab web editor; every draft gets a staging replica of the real site to review before release

MDX of this sample
<StepsSection
  title="From a git repository to a live site"
  description="A new website is just a new content repository. Time to first site — hours, not weeks."
>
  <StepItem
    ind="1"
    title="Write content"
    description="Put your content in a git repository: markdown files for articles and knowledge bases, semantically typed content tags for landing pages"
  />
  <StepItem
    ind="2"
    title="Add a tiny Dockerfile"
    description="A few lines on top of our standard builder image — no build configs, no toolchain to maintain in your repo"
  />
  <StepItem
    ind="3"
    title="Push to master"
    description="CI builds your content into a ~50 MB nginx image and deploys it — to our Kubernetes clusters or any Docker hosting of yours"
  />
  <StepItem
    ind="4"
    title="Edit and preview"
    description="Change content right in the GitLab web editor; every draft gets a staging replica of the real site to review before release"
  />
</StepsSection>

Props

NameTypeRequiredDefaultDescription
indstring | numberyes
titlestringyes
descriptionstring

Source apps/www/src/components/StepItem.astro @ gitt.one

---
interface Props {
  ind: string | number;
  title: string;
  description?: string;
}

const { ind, title, description } = Astro.props;
---

<li class="relative">
  <span
    class="flex h-12 w-12 items-center justify-center rounded-full bg-gradient-to-r from-primary-500 to-primary-alt-600 text-lg font-bold text-white"
  >
    {ind}
  </span>
  <h3 class="mt-6 text-lg font-medium text-gray-900">{title}</h3>
  {description && <p class="mt-2 text-base text-gray-500">{description}</p>}
</li>

Source links point to engine-astro@e857a859. Samples are cut from the sites' own content by scripts/gallery-extract.mjs; nothing is merged or removed yet.