wacrm/src/app
Arnas Donauskas 45fd2a9845
feat(docs): in-app docs viewer at /docs
Renders every file in docs/*.md as a proper documentation site styled
like Stripe / Vercel / Linear docs: sticky header, grouped left sidebar
(Setup / Deploy / Operate), dark prose with inline code pills, syntax
-ready code blocks, responsive table styling, and prev/next pagination.

- src/lib/docs/content.ts — parses md with marked and decorates the
  HTML with Tailwind utility classes via post-processing regex. Also
  rewrites inter-doc `./other.md` links to `/docs/other` and extracts
  an h2/h3 TOC for future use.
- src/app/docs/layout.tsx + src/components/docs/shell.tsx — shared
  frame with docs-scoped header (GitHub, Home, Get started), collapsing
  sidebar on mobile.
- src/app/docs/page.tsx — grouped index cards per section.
- src/app/docs/[slug]/page.tsx — individual doc + prev/next nav.
- Adds "Docs" to landing nav, footer, and a "Read the full
  documentation" CTA under the open-source cards.
- Adds `marked` dependency.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 21:28:36 +03:00
..
(auth) feat(seo): full SEO pass (reapply with OG-image build fix) 2026-04-19 12:25:59 +03:00
(dashboard) Merge pull request #57 from ArnasDon/fix/broadcasts-table-responsive 2026-04-19 12:59:34 +03:00
api fix(automations): reject activation of invalid step/trigger config 2026-04-17 21:50:13 +03:00
docs feat(docs): in-app docs viewer at /docs 2026-04-19 21:28:36 +03:00
favicon.ico Initial commit from Create Next App 2026-04-16 17:52:39 +03:00
globals.css Initial scaffold: WhatsApp CRM with Next.js + Supabase 2026-04-16 18:17:31 +03:00
icon.tsx fix: WaCRM favicon + template language defaults to en_US 2026-04-17 16:03:02 +03:00
layout.tsx feat(seo): full SEO pass (reapply with OG-image build fix) 2026-04-19 12:25:59 +03:00
opengraph-image.tsx feat(seo): full SEO pass (reapply with OG-image build fix) 2026-04-19 12:25:59 +03:00
page.tsx feat(landing): open-source + Hostinger deploy section 2026-04-19 20:45:00 +03:00
robots.ts feat(seo): full SEO pass (reapply with OG-image build fix) 2026-04-19 12:25:59 +03:00
sitemap.ts feat(seo): full SEO pass (reapply with OG-image build fix) 2026-04-19 12:25:59 +03:00