mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 09:19:51 +00:00
Self-hostable CRM template for WhatsApp — shared inbox, contacts, sales pipelines, broadcasts, and no-code automations. Fork it, brand it, host it.
Re-applies the original SEO work from PR #47 that was reverted in PR #54 because its opengraph-image.tsx crashed `next build` during static prerender of /opengraph-image. Satori (next/og's renderer) errored with: Error: Expected <div> to have explicit "display: flex", "display: contents", or "display: none" if it has more than one child node. Failed to load dynamic font for ✓ . Status: 400 Root cause in the OG image JSX: - Several <div>s held text + a sibling element (e.g. "Run your WhatsApp business from <span>one inbox.</span>") without an explicit display value. Satori requires it whenever there is more than one child. - The ✓ Unicode glyph isn't covered by the default font Satori loads, so next/og tried to download a dynamic font and failed. Fix: - Every <div> with more than one child now has display: flex. - Multi-span headline sits in a flex-wrap row of two <span>s. - ✓ replaced with plain text dot separators in the feature row. Verified end-to-end: `npm run build` now completes with 27/27 pages prerendered, /opengraph-image among them. All the other SEO-pass content is identical to the originally merged-and-reverted work: metadataBase + title template, OpenGraph + Twitter Cards defaults, JSON-LD (WebSite + Organization + SoftwareApplication + FAQPage), sitemap.ts, robots.ts, noindex on auth + dashboard route-group layouts, shared faq-data + site-config modules. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| public | ||
| src | ||
| supabase/migrations | ||
| .gitignore | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| components.json | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.