Commit ff171ed
authored
Redesign docs site: Astro landing page with fresh v1.0.0 screenshots (#50)
* v1.0.0: live diff preview, auto-growing AI input, polished Settings
Three feedback fixes + the 1.0 version bump.
- AI composer now auto-grows as you type multiple lines (up to a max, then
scrolls), instead of a fixed single row that hid earlier lines.
- Per-change accept/reject now updates the preview live. During review the
editor shows the full proposed text, but the preview should show "original +
changes accepted so far". @codemirror/merge's acceptChunk folds an accepted
change into its *original* document, so getOriginalDoc() is exactly that
running result — we sync it to onChange on every review update. Accepting a
single change now appears in the preview immediately (previously only
"Accept all" did). "Reject all" resets fully (passes the original, so any
individually-accepted changes are discarded too).
- Settings polish: redesigned toggle switches (larger, smoother, better
contrast on every theme), font options now preview themselves in their own
typeface with a kind label and check, font-size options show an "Aa" scale
preview, and the editor toggles are grouped into one bordered list.
- Bump version to 1.0.0 across tauri.conf.json, package.json, Cargo.toml,
Cargo.lock.
* Redesign docs site: Astro landing page with fresh v1.0.0 screenshots
Rebuild the GitHub Pages site (docs/) from a single static index.html into
an Astro + Tailwind v4 project with cinematic motion and brand colors.
Highlights:
- Sections: hero, trust bar, features bento, live editor showcase,
interactive 4-theme switcher, power-user gallery, AI Agent inline-diff
demo, download cards, FAQ (with schema), footer
- Replace stale/empty screenshots with 8 fresh 1920x1030 captures of the
running v1.0.0 app (split view; math/chemistry/Mermaid; all four themes;
command palette; file explorer). Fresh og.png for social previews.
- GSAP + ScrollTrigger + Lenis: smooth scroll, reveals, parallax, tilt
- Lucide icons throughout (no emoji); orange/cyan brand accents; aurora
- Responsive WebP via astro:assets; prefers-reduced-motion and no-JS safe
Deploy:
- Add .github/workflows/deploy-docs.yml to build docs/ and publish to
GitHub Pages via Actions on push to main (docs/** paths).
- Requires one-time repo Settings -> Pages -> Source = "GitHub Actions".1 parent 20af1f6 commit ff171ed
44 files changed
Lines changed: 2569 additions & 255 deletions
File tree
- .github/workflows
- docs
- assets
- public
- src
- assets/screenshots
- components
- layouts
- pages
- scripts
- styles
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments