Skip to content
Projetos

jaxx2104/gatsby-starter-bootstrap

Ver no GitHub

Sobre

A Bootstrap 5 starter for Gatsby — fast, accessible, ready to fork.

Desenvolvimento web e de aplicativos

Como estes números são medidos

O que você pode fazer

  • Gatsby 5.16+ with React 19 and TypeScript (strict).
  • Bootstrap 5.3 via Sass — no jQuery, no popper.
  • Markdown blog with Prism syntax highlighting.
  • gatsby-plugin-image for responsive images.

Crescimento medido de estrelas

em 24 h
0
em 7 dias
-1
em 15 dias
-1
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Gatstrap

A Bootstrap 5 starter for Gatsby — fast, accessible, and ready to fork.

CI

Gatstrap demo

Features

  • Gatsby 5.16+ with React 19 and TypeScript (strict).
  • Bootstrap 5.3 via Sass — no jQuery, no popper.
  • Markdown blog with Prism syntax highlighting.
  • gatsby-plugin-image for responsive images.
  • Gatsby <Head> API for per-page SEO.
  • Lighthouse mobile 95+ on Performance, Accessibility, Best Practices, SEO.

Quick start

gatsby new my-blog https://github.com/jaxx2104/gatsby-starter-bootstrap
cd my-blog
pnpm install
pnpm develop

Open http://localhost:8000.

Configuration

Edit gatsby-config.ts. The siteMetadata block is the single source of truth for the navbar title, the per-page SEO <Head>, and the PWA manifest:

const siteMetadata = {
  title: 'Your Site',
  description: 'Your description.',
  siteUrl: 'https://example.com',
  author: 'Your Name',
  twitter: 'your_handle',
}

Customization

Theme tokens are at src/scss/colors.scss and src/scss/fonts.scss. Override Bootstrap 5 Sass variables there before the bootstrap import in src/scss/gatstrap.scss.

To swap the brand color:

// src/scss/colors.scss
$purple: #00bcd4;

Writing posts

Add a folder under content/posts/:

content/posts/2026-06-01-my-post/
  index.md
  hero.jpg

index.md frontmatter:

---
layout: post
title: My Post
path: /my-post
category: Notes
tags: [example]
description: A one-sentence description.
date: 2026-06-01
---

Scripts

Command Description
pnpm develop Start the dev server
pnpm build Production build to public/
pnpm typecheck Run TypeScript strict mode checks
pnpm lint Run Biome lint
pnpm lint:fix Run Biome check (lint + format) with fixes
pnpm format Run Biome format

Contributing

  1. Fork and clone.
  2. pnpm install to install (Node 22).
  3. pnpm typecheck, pnpm lint, and pnpm build must pass before opening a pull request.
  4. Pre-commit hooks run lint-staged automatically.
  5. git push runs pnpm typecheck via a pre-push hook. Use git push --no-verify to skip during work-in-progress pushes.
  6. SCSS and Markdown files are not formatted by tooling — follow the .editorconfig settings (2-space indent, LF line endings, UTF-8).

License

Released under the 0BSD License.

Explore projetos relacionados

Carregando…