mirror of
https://github.com/olehomelchenko/chart-sins.git
synced 2026-08-08 02:22:43 +00:00
2e17f8fa59
Set up the static-site tech stack: Astro 5 with Markdown content collections, Vega-Lite specs rendered to static SVG at build time (zero client JS), plain scoped CSS, and a GitHub Pages deploy workflow. Includes three sample sins (truncated y-axis, dual-axis deception, pie chart overload), each with a bad and fixed chart spec, plus a gallery index and per-sin detail pages. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XPEvmMbac2fCvKXpQcovj8
12 lines
363 B
JavaScript
12 lines
363 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
import mdx from '@astrojs/mdx';
|
|
|
|
// This is a *project* GitHub Pages site, so it is served from a sub-path.
|
|
// If you later use a custom domain, set `site` to it and drop `base`.
|
|
export default defineConfig({
|
|
site: 'https://olehomelchenko.github.io',
|
|
base: '/chart-sins',
|
|
integrations: [mdx()],
|
|
});
|