Marketing site for Insightis — AI analytics workspace by Devart.
Live: https://insightis-landing.vercel.app
- Vite + React 18 for the home page (
index.html←src/main.jsx) - Static HTML + Babel-CDN inline JSX for every other page under
public/(Pricing, Platform/, Solutions/, Resources/, Security/, blog, docs). Each page is self-contained — its own React/Tailwind via CDN, no build step. - Tailwind CSS — compiled via
@tailwinddirectives insrc/app.cssfor the home page; loaded fromcdn.tailwindcss.comin the standalone pages. public/showcase.jsdrives the 5-step animated showcase on the home page (Data Sources → Semantic Layer → AI Chat → Drill in → Audit Trail).
index.html — Vite entry; root <div id="root"> mounts main.jsx
src/
main.jsx — full home page (Header, Hero, Features, Pricing teaser, Footer)
app.css — Tailwind + page styles
public/
Pricing.html — /Pricing.html
blog/index.html — /blog/ (clean URL, future posts at /blog/<slug>)
docs/index.html — /docs/
Platform/*.html — /Platform/AI Chat.html, /Platform/Integrations.html, /Platform/Semantic Layer.html
Resources/*.html — Connectors, Contact Support, Prompt Library, Roadmap
Solutions/*.html — RevOps BizOps, Founders CEOs, Marketing Teams, Product Teams, Data Analytics Teams, Operations Finance
Security/*.html — Privacy, Terms, Security, Cookie Settings
Design system/ — design tokens, fonts, components reference
showcase.js — home page showcase animation
Anything in public/ is copied verbatim to dist/ by Vite. URL paths mirror the folder layout.
The canonical Header + Footer block lives in public/Resources/Connectors.html (the function MenuIcon ... function Footer region). All other standalone pages copy this block with linkUrls adjusted for their depth (../Platform/... from Resources/, etc.). The home page uses an equivalent React version inside src/main.jsx.
When updating navigation, edit the canonical first, then propagate. If Blog or Documentation ever moves out of /blog/ or /docs/, update every linkUrls map.
npm install
npm run dev # Vite dev server (home page hot-reloads; static pages need a hard refresh)
npm run build # → dist/
npm run preview # serve dist/ locallyThe Vite dev server only hot-reloads the home page. The standalone pages under public/ are served as-is — edit and refresh.
Vercel project insightis-landing, auto-deploys on push to master:
git push origin masterForce a production deploy without waiting for the GitHub trigger:
npx vercel --prod --yesvercel.json sets framework: vite, build command npm run build, output dist/.
- Don't add backwards-compatibility shims. If something is unused, delete it.
- No section redesigns inside a content tweak. Stay scoped.
- Headers, footers, and the showcase share components/templates — verify in a browser before claiming done. The showcase in particular has fragile absolute-positioned panels; don't bulk-delete DOM that
public/showcase.jsreferences. - Don't put React-built routes under
public/— that folder is for the static Babel-CDN pages and assets.