@@ -122,33 +122,35 @@ We chose Next.js because it is:
122122```
123123nodejs.org/
124124├── apps/
125- │ └── site/ # Main website application
126- │ ├── components/ # Website-specific React components
127- │ ├── layouts/ # Page layout templates
128- │ ├── pages/ # Content pages (Markdown/MDX)
129- │ │ ├── en/ # English content (source)
130- │ │ └── {locale}/ # Translated content
131- │ ├── public/ # Static assets
132- │ │ └── static/ # Images, documents, etc.
133- │ ├── hooks/ # React hooks
134- │ ├── providers/ # React context providers
135- │ ├── types/ # TypeScript definitions
136- │ ├── next-data/ # Build-time data fetching
137- │ ├── scripts/ # Utility scripts
138- │ ├── snippets/ # Code snippets for download page
139- │ └── tests/ # Test files
140- │ └── e2e/ # End-to-end tests
125+ │ ├── site/ # Main website application
126+ │ │ ├── components/ # Website-specific React components
127+ │ │ ├── layouts/ # Page layout templates
128+ │ │ ├── pages/ # Content pages (Markdown/MDX)
129+ │ │ │ ├── en/ # English content (source)
130+ │ │ │ └── {locale}/ # Translated content
131+ │ │ ├── public/ # Static assets
132+ │ │ │ └── static/ # Images, documents, etc.
133+ │ │ ├── hooks/ # React hooks
134+ │ │ ├── providers/ # React context providers
135+ │ │ ├── types/ # TypeScript definitions
136+ │ │ ├── next-data/ # Build-time data fetching
137+ │ │ ├── scripts/ # Utility scripts
138+ │ │ ├── snippets/ # Code snippets for download page
139+ │ │ └── tests/ # Test files
140+ │ │ └── e2e/ # End-to-end tests
141+ │ ├── vercel/ # Vercel deployment adapter
142+ │ │ # (analytics, instrumentation, vercel.json)
143+ │ └── cloudflare/ # Cloudflare deployment adapter
144+ │ # (worker entrypoint, image loader,
145+ │ # open-next.config.ts, wrangler.jsonc)
141146└── packages/
142147 ├── ui-components/ # Reusable UI components
143148 │ ├── styles/ # Global stylesheets
144149 │ └── .storybook/ # Storybook configuration
145150 ├── i18n/ # Internationalization
146151 │ ├── locales/ # Translation files
147152 │ └── config.json # Locale configuration
148- ├── rehype-shiki/ # Syntax highlighting plugin
149- ├── platform-vercel/ # Vercel platform adapter (analytics, instrumentation)
150- └── platform-cloudflare/ # Cloudflare platform adapter (worker entrypoint,
151- # image loader, open-next config, wrangler config)
153+ └── rehype-shiki/ # Syntax highlighting plugin
152154```
153155
154156## Architecture Decisions
0 commit comments