Commit Graph

90 Commits

Author SHA1 Message Date
Haitao Pan
caa658cabb feat: refine registration UX and migrate middleware CORS 2026-01-25 12:02:06 +08:00
Haitao Pan
fee51ac323 chore: update lockfile and formatting 2026-01-25 11:09:42 +08:00
Haitao Pan
dfb90f48ed fix(auth): add missing verification code input fields 2026-01-25 11:07:46 +08:00
Haitao Pan
a0050806ff chore: point services to run.app and add api CORS 2026-01-25 00:16:10 +08:00
Haitao Pan
0c335d8da2 chore: point auth/dashboard to svc.plus domains 2026-01-24 23:57:54 +08:00
07a360e54e Update README.md 2026-01-23 18:22:23 +08:00
81f38b28cc Merge pull request #30 from cloud-neutral-toolkit/doc/update-readme
docs: update README with new project mission and bilingual support
2026-01-23 18:19:59 +08:00
Haitao Pan
8112d8bff2 docs: update README with new project mission and bilingual support 2026-01-23 18:16:49 +08:00
56c772a4cc Merge pull request #29 from cloud-neutral-toolkit/feat/blog-sync-and-rename
Feat/blog sync and rename
2026-01-23 18:02:05 +08:00
Haitao Pan
740a595d84 fix: resolve build errors and dependency conflicts 2026-01-23 17:43:43 +08:00
Haitao Pan
2fa13ed8b0 feat: sync blog content from external repo and rename /blog to /blogs 2026-01-23 17:03:28 +08:00
Haitao Pan
42a2aac730 feat: add page reading agent service card 2026-01-21 18:05:16 +08:00
Haitao Pan
c6c6dc7e6c Update agent guidelines and env types 2026-01-21 18:05:16 +08:00
7ee12ac1dd Merge pull request #26 from cloud-neutral-toolkit/vercel/vercel-web-analytics-to-nextjs-j4kx7z
Add Vercel Web Analytics to Next.js
2026-01-16 19:34:05 +08:00
35dddf4ee4 Merge pull request #25 from cloud-neutral-toolkit/codex/fix-robots.txt-to-allow-googlebot-a903gn
Allow Googlebot static assets and permit Node.js 24 in engines
2026-01-16 16:59:23 +08:00
Vercel
5de9abc11e Add Vercel Web Analytics to Next.js
## Vercel Web Analytics Integration Report

### Summary
Successfully installed and configured Vercel Web Analytics for the Next.js App Router project.

### Changes Made

#### 1. Installation
- Installed `@vercel/analytics@^1.6.1` package using npm with `--legacy-peer-deps` flag to handle existing peer dependency conflicts in the project
- Updated `package.json` to include the new dependency
- Updated `yarn.lock` to reflect the new package dependency

#### 2. Code Changes
- **Modified:** `src/app/layout.tsx` (Root Layout File)
  - Added import: `import { Analytics } from '@vercel/analytics/next'`
  - Added `<Analytics />` component inside the `<body>` tag, positioned after `<AppProviders>{children}</AppProviders>`
  - This placement ensures Analytics tracking initializes after the app providers are set up

#### 3. Files Modified
- `src/app/layout.tsx` - Added Analytics import and component
- `package.json` - Added @vercel/analytics dependency
- `yarn.lock` - Updated with new dependency information
- `next-env.d.ts` - Auto-generated Next.js types (no manual changes)

#### 4. Implementation Details
- **Router Type:** App Router (uses `src/app` directory structure)
- **Import Location:** `@vercel/analytics/next` - the Next.js-specific export
- **Component Placement:** Inside the `<body>` tag after AppProviders as recommended
- **Existing Configuration:** Preserved all existing code including Google Analytics and other metadata

### Build Verification
 Build completed successfully
 All 63 static pages generated without errors
 No TypeScript compilation errors introduced by changes

### Notes
- The project uses yarn as its package manager, but npm was used for installation due to corepack permission limitations in the environment. The package.json and yarn.lock have been properly updated.
- Vercel Web Analytics will now automatically track web vitals and user analytics without requiring any additional configuration.
- The Analytics component is non-intrusive and won't affect the existing Google Analytics tracking already in place.
- The build completed successfully, indicating the Analytics component integrates properly with the Next.js app.

### Compatibility
- Next.js version: ^16.0.9
- React version: ^18.2.0
- Vercel Analytics: ^1.6.1

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-01-16 08:48:44 +00:00
0d5e92136f Allow Node.js 24 in engines 2026-01-16 16:47:25 +08:00
623f430297 Merge pull request #24 from cloud-neutral-toolkit/codex/fix-robots.txt-to-allow-googlebot
Allow Googlebot to crawl Next.js static assets
2026-01-16 16:42:34 +08:00
0cffa2cfb1 Allow Googlebot access to static assets 2026-01-16 16:39:02 +08:00
Haitao Pan
1b89c72c2e Add GA4 tag, robots.txt, and sitemap 2026-01-14 17:41:08 +08:00
Haitao Pan
6573a61746 Add services grid page and link from navbar 2026-01-14 12:10:38 +08:00
Haitao Pan
2e69ef13a4 Remove default config badge from navbar 2026-01-14 11:51:56 +08:00
Haitao Pan
07e05b74fc Fix footer content 2026-01-14 11:40:35 +08:00
Haitao Pan
0ec2ddb83c Ignore dev logs 2026-01-13 23:40:34 +08:00
Haitao Pan
3b7c7a08ff Add Dev MCP setup 2026-01-13 23:40:34 +08:00
3f16702d08 Merge pull request #23 from cloud-neutral-toolkit/codex/fix-dynamic-loading-of-blog-md-files-i6k675
Trim blog list payload and load categories dynamically
2026-01-01 18:32:30 +08:00
2ed679d011 Merge branch 'main' into codex/fix-dynamic-loading-of-blog-md-files-i6k675 2026-01-01 18:31:56 +08:00
8ca8723ed1 Preserve blog content during builds 2026-01-01 18:25:12 +08:00
a7b79fdda2 Make blog categories dynamic 2026-01-01 18:20:53 +08:00
af3fb807e8 Merge pull request #22 from cloud-neutral-toolkit/codex/fix-dynamic-loading-of-blog-md-files
Trim blog list payload
2026-01-01 18:05:17 +08:00
2761cadc74 Trim blog list payload 2026-01-01 09:02:48 +08:00
Haitao Pan
e2c0cb8fd5 ci: default GHCR namespace to github.repository_owner 2025-12-24 12:43:53 +08:00
Haitao Pan
5997114ef9 fix(ci): stabilize GHCR multi-arch push by per-arch builds + manifest merge
- build per-arch images with unique temporary tags to avoid parallel tag contention
- generate multi-arch manifests via buildx imagetools for final tags
- copy multi-arch image to Docker Hub with skopeo instead of re-tagging a single arch
- keep existing security scan/signing and runtime mount validation flow
2025-12-24 10:34:29 +08:00
6aa0ae9f3b Merge pull request #21 from cloud-neutral-toolkit/codex/fix-syntax-error-in-workflow-file
Fix security job condition in build workflow
2025-12-23 18:16:08 +08:00
175f9e735a Fix security job condition in build workflow 2025-12-23 18:11:50 +08:00
86d1a6735a Merge pull request #20 from cloud-neutral-toolkit/codex/fix-syft-scan-source-resolution-error
Fix security stage image availability
2025-12-23 18:06:04 +08:00
1b5842bae6 Fix security stage image availability 2025-12-23 18:05:15 +08:00
Haitao Pan
727d04e51e Refactor build-images workflow pipeline 2025-12-23 17:03:03 +08:00
Haitao Pan
bbe939173a ci: refactor build-images workflow with gated security and parallel push 2025-12-23 16:58:06 +08:00
8f0fdd76ad Update build-images.yml 2025-12-23 16:28:51 +08:00
b8b181444a Merge pull request #19 from Cloud-Neutral-Toolkit/codex/fix-module-not-found-error
Fix prebuild pipeline for contentlayer
2025-12-23 15:38:21 +08:00
3d9ee5a52d Fix prebuild scripts and contentlayer build 2025-12-23 15:34:42 +08:00
Haitao Pan
040c622486 merged: Dockerfile 2025-12-23 15:26:34 +08:00
9f0157e16d Merge pull request #18 from Cloud-Neutral-Toolkit/codex/fix-build-errors-in-workflows-and-dockerfile
Ensure contentlayer generated during image build
2025-12-23 13:26:44 +08:00
b432026c11 Ensure contentlayer generated during image build 2025-12-23 13:26:11 +08:00
122b82a5ab Decouple blog content from image build 2025-12-23 13:07:13 +08:00
Haitao Pan
e25744e248 ci: prefetch knowledge content for dashboard image 2025-12-22 22:49:14 +08:00
Haitao Pan
194c9bb255 chore(ci): simplify image check workflow and clean up pipelines 2025-12-22 22:20:56 +08:00
Haitao Pan
fb14f2358d Update Dockerfile to pull knowledge content 2025-12-22 22:05:15 +08:00
Haitao Pan
5dcdf9a747 Update blog CTA and blog content handling 2025-12-22 19:55:50 +08:00