@@ -129,33 +129,35 @@ We chose Next.js because it is:
129129```
130130nodejs.org/
131131├── apps/
132- │ └── site/ # Main website application
133- │ ├── components/ # Website-specific React components
134- │ ├── layouts/ # Page layout templates
135- │ ├── pages/ # Content pages (Markdown/MDX)
136- │ │ ├── en/ # English content (source)
137- │ │ └── {locale}/ # Translated content
138- │ ├── public/ # Static assets
139- │ │ └── static/ # Images, documents, etc.
140- │ ├── hooks/ # React hooks
141- │ ├── providers/ # React context providers
142- │ ├── types/ # TypeScript definitions
143- │ ├── next-data/ # Build-time data fetching
144- │ ├── scripts/ # Utility scripts
145- │ ├── snippets/ # Code snippets for download page
146- │ └── tests/ # Test files
147- │ └── e2e/ # End-to-end tests
132+ │ ├── site/ # Main website application
133+ │ │ ├── components/ # Website-specific React components
134+ │ │ ├── layouts/ # Page layout templates
135+ │ │ ├── pages/ # Content pages (Markdown/MDX)
136+ │ │ │ ├── en/ # English content (source)
137+ │ │ │ └── {locale}/ # Translated content
138+ │ │ ├── public/ # Static assets
139+ │ │ │ └── static/ # Images, documents, etc.
140+ │ │ ├── hooks/ # React hooks
141+ │ │ ├── providers/ # React context providers
142+ │ │ ├── types/ # TypeScript definitions
143+ │ │ ├── next-data/ # Build-time data fetching
144+ │ │ ├── scripts/ # Utility scripts
145+ │ │ ├── snippets/ # Code snippets for download page
146+ │ │ └── tests/ # Test files
147+ │ │ └── e2e/ # End-to-end tests
148+ │ ├── vercel/ # Vercel deployment adapter
149+ │ │ # (analytics, instrumentation, vercel.json)
150+ │ └── cloudflare/ # Cloudflare deployment adapter
151+ │ # (worker entrypoint, image loader,
152+ │ # open-next.config.ts, wrangler.jsonc)
148153└── packages/
149154 ├── ui-components/ # Reusable UI components
150155 │ ├── styles/ # Global stylesheets
151156 │ └── .storybook/ # Storybook configuration
152157 ├── i18n/ # Internationalization
153158 │ ├── locales/ # Translation files
154159 │ └── config.json # Locale configuration
155- ├── rehype-shiki/ # Syntax highlighting plugin
156- ├── platform-vercel/ # Vercel platform adapter (analytics, instrumentation)
157- └── platform-cloudflare/ # Cloudflare platform adapter (worker entrypoint,
158- # image loader, open-next config, wrangler config)
160+ └── rehype-shiki/ # Syntax highlighting plugin
159161```
160162
161163## Architecture Decisions
0 commit comments