Emanuel Almeida 5c34372d42 Phase 4: Páginas Dashboard
- Layout completo com Brand Descomplicar:
  * Header: logo dourado, sticky, shadow-sm
  * Footer: copyright Descomplicar®
  * Fonts: Inter (body), Montserrat (display)
  * Metadata PT-PT

- DashboardView component (client):
  * Fetch sites via /api/sites
  * Site selector dropdown
  * Fetch metrics via /api/metrics/[siteId]?period=30d
  * 4 KPI cards: visitors, sessions, engagement, pageViews
  * Chart área: tráfego diário (30d)
  * Chart pie: fontes de tráfego (top 10)
  * Tabela: Top 20 queries GSC (clicks, impressions, CTR, position)
  * Loading states em todos componentes
  * Error handling com mensagens PT-PT
  * Responsive: mobile/tablet/desktop

- Home page: render DashboardView

Features:
- Auto-select primeiro site na lista
- Comparação período anterior (% change)
- Formatação PT-PT (números, datas, percentagens)
- Brand colors (#cc8d00, #27a50e)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-13 18:01:37 +00:00
2026-02-13 17:56:56 +00:00
2026-02-13 18:01:37 +00:00
2026-02-13 18:00:02 +00:00
2026-02-13 18:00:02 +00:00
2026-02-13 18:00:02 +00:00

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:

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.

Description
Dashboard Custom Next.js para BI Descomplicar - métricas GA4 + GSC com total liberdade criativa
Readme 369 KiB
Languages
TypeScript 94.8%
Dockerfile 2.3%
CSS 2%
JavaScript 0.9%