Commit graph

5 commits

Author SHA1 Message Date
Rohith Gilla
667e9480bb
fix(docs): resolve hydration crash and broken navigation (#151)
* fix(docs): resolve hydration crash and broken navigation

- Moved server-only `source.getPage()` calls from client-side `head()` into server-side `loader()`.
- Passed extracted metadata (title, description, breadcrumbs) to `head()` via `loaderData`.
- Relocated structured data injection to React component tree to fix hydration mismatches.
- Removed blocking third-party scripts from root route.

* chore(docs): remove playwright dep and dead getOrganizationStructuredData code

- Remove playwright from devDependencies (only used for one-off verification)
- Remove unused getOrganizationStructuredData import from __root.tsx
- Remove dead getOrganizationStructuredData function from seo.ts (zero callers)

---------

Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
2026-04-09 20:09:31 +05:30
Rohith Gilla
8ee81e199a
feat: overhauled marketing website and documentation with high-end animations (#150)
* feat: revamped marketing website and documentation with high-end animations and glassmorphism

- Redesigned marketing site (apps/web) with a terminal-inspired, professional aesthetic.
- Implemented Hero v2 with cinematic, spring-based animations matching the release video.
- Added interactive Pokemon Buddy draggable widget inspired by the desktop app.
- Integrated react-scan for performance auditing.
- Applied consistent glassmorphism, border-flow animations, and Geist Mono typography.
- Revamped Databases, Blog, Comparison, and Download pages for visual consistency.
- Updated documentation (apps/docs) landing page with matching motion choreography and living background.
- Fixed fs module resolution issues in the web app and optimized build stability for React 19.

* chore(docs): remove internal marketing playbook and tracker files

Remove Reddit playbook and analytics tracker docs from the public documentation set, and update marketing navigation to keep the docs section consistent.

Made-with: Cursor

* fix: address review feedback for marketing overhaul

- Extract download page metadata into layout.tsx (SEO regression fix)
- Move react-scan to devDependencies, dynamic import to avoid prod bundle
- Soften unverified '10,000+ developers' claim in CTA
- Restore StructuredData for FAQ rich snippets
- Restore close-on-scroll for mobile menu in header
- Remove `as any` spreads from motion.div — use className directly
- Gate Pokemon buddy behind NEXT_PUBLIC_ENABLE_POKEMON_BUDDY flag
- Fix mood interval priority inversion (excited was unreachable)

* chore: add lock file

* feat: add framer-motion animations to docs pages

---------

Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
2026-04-07 17:49:02 +05:30
vercel[bot]
cffce4beee
Install Vercel Web Analytics (#130)
## Vercel Web Analytics Installation

Successfully installed and configured Vercel Web Analytics for the data-peek documentation site.

### Implementation Details

**Framework Identified:** TanStack Start (React-based framework with Nitro)

**Changes Made:**

1. **Package Installation**
   - Added `@vercel/analytics` (v2.0.1) to `apps/docs/package.json`
   - Package installed using pnpm as per project's package manager
   - Updated `pnpm-lock.yaml` to reflect new dependency

2. **Analytics Configuration** 
   - Modified `apps/docs/src/routes/__root.tsx`:
     - Added import: `import { Analytics } from "@vercel/analytics/react"`
     - Added `<Analytics />` component to the RootDocument body, placed before the `<Scripts />` component
   
**Implementation Approach:**

Following the official Vercel Analytics documentation (fetched from https://vercel.com/docs/analytics/quickstart), I:
- Used the React-specific package `@vercel/analytics/react`
- Added the `<Analytics />` component to the root layout where it can track all page views
- Positioned it before the `<Scripts />` component in the body to ensure proper initialization
- The component automatically detects the environment (production/development) via NODE_ENV
- In production (when deployed to Vercel), the analytics will be active; in development, it will use debug mode

**Build Verification:**

 Build completed successfully (`pnpm run build`)
 No TypeScript errors related to the Analytics integration
 Package installed without conflicts
 Existing functionality preserved

**Next Steps for Deployment:**

To enable analytics data collection, the project owner needs to:
1. Visit the Vercel dashboard for this project
2. Navigate to the Analytics section
3. Click "Enable" to activate Web Analytics
4. Deploy the updated code to Vercel

Once deployed and enabled in the dashboard, analytics will automatically track page views and web vitals.

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-04-02 17:57:36 +05:30
Rohith Gilla
04268973a3 feat: add docs 2025-11-30 22:28:59 +05:30
Claude
cfa4421e7e
feat(docs): add Fumadocs documentation site
- Create apps/docs package with Fumadocs framework
- Configure dark terminal-inspired theme matching data-peek aesthetic
- Add comprehensive documentation structure:
  - Getting Started: installation, first connection, first query
  - Features: query editor, schema explorer, results viewer, inline editing,
    table designer, ERD diagrams, query plans, saved queries, export
  - Configuration: settings, themes, licensing
  - Database Support: PostgreSQL, MySQL
  - Reference: keyboard shortcuts
- Update .gitignore to allow apps/docs (vs root docs/)
2025-11-30 09:55:07 +00:00