diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro index 100a451..4ea599e 100644 --- a/docs/src/pages/index.astro +++ b/docs/src/pages/index.astro @@ -35,7 +35,7 @@ const baseHref = import.meta.env.BASE_URL; name="description" content="A fast, trustworthy SQL formatter for Postgres and SQLite, with embedded-SQL support for Rust, Go, Python, JavaScript/TypeScript, and Gleam." /> - +

- Postgres and SQLite. Every statement squill rewrites is + squill (/skwɪl/) uses Tree-sitter grammars to locate your SQL code + wherever it lives. It plucks your queries out surgically and formats + them in-place without disturbing your other code. It aims to support + all features of Postgres and SQLite, however you use them. +

+

+ Every statement squill rewrites is self-checked: the output must re-lex to the same tokens — allowing only named, verified transforms like keyword case and pg_dump's clause order — and keep every comment, or squill emits your @@ -81,9 +87,9 @@ const baseHref = import.meta.env.BASE_URL;

01 — before & after
- + squill - fmt + playground postgres
@@ -139,8 +145,8 @@ squill fmt path/to/queries/ indent - tab | spaces - tab + tabs | spaces + tabs indent-width @@ -159,7 +165,13 @@ squill fmt path/to/queries/ at-params - lex sqlc-style @name parameters + lex sqlc-style + @name parameters false @@ -211,14 +223,14 @@ squill fmt path/to/queries/ body { margin: 0; font: - 15px/1.6 "IBM Plex Sans", + 16px/2 "IBM Plex Sans", system-ui, sans-serif; color: var(--ink); background: var(--paper); } main { - max-width: 64rem; + max-width: 72rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; } @@ -243,7 +255,7 @@ squill fmt path/to/queries/ .wordmark { font-family: "Spectral", serif; font-weight: 600; - font-size: 1.25rem; + font-size: 1.75rem; letter-spacing: -0.01em; } .links { @@ -268,6 +280,8 @@ squill fmt path/to/queries/ display: flex; align-items: center; gap: 1.1rem; + padding-top: 92px; + padding-bottom: 64px; } h1 { font-family: "Spectral", serif; @@ -285,7 +299,7 @@ squill fmt path/to/queries/ margin: 0.4rem 0 0; } header > p { - max-width: 44rem; + max-width: 64rem; } .flower { font-family: "Spectral", serif;