How mustaphasoufisme30-lab/ads works
TechIA Lab is a bilingual editorial site for AI, programming and digital-tool guides, with interactive browser-based utilities and informational pages. Visitors enter through the React app, browse category/article/tool content, and view a guide or use a tool for a downloadable result. The graph separates routing/rendering, editorial data, interactive features and shared presentation concerns. Relationships are limited to imports and calls visible in the supplied excerpts or SOURCE INDEX; prerendering is included because it is a named core module, though it is a build-time process.
Main entry points: App.tsx App routes and views · prerender.ts Static prerendering · next-intl.tsx Locale provider · SeoHead.tsx SEO metadata
Components 13
Application
- React entry
src/main.tsx - App routes and views
src/App.tsx - Static prerendering
scripts/prerender.ts
Editorial Content
- Article content
src/data/articles.ts - Category catalog
src/data/categories.ts - Tool catalog
src/data/tools.ts
Interactive Features
- Interactive tools
src/components/InteractiveTools.tsx - Informational pages
src/components/StaticPages.tsx
Shared Presentation
- SEO metadata
src/components/SeoHead.tsx - Locale provider
src/i18n/next-intl.tsx - Site configuration
src/config/siteConfig.ts - French and Arabic messages
src/i18n
Other components
- Site visitor
Connections 23
- Site visitor → React entry: opens site
- React entry → Locale provider: wraps app
src/main.tsx - React entry → App routes and views: renders
src/main.tsx - App routes and views → Article content: reads content
src/App.tsx - App routes and views → Category catalog: reads catalog
src/App.tsx - App routes and views → Tool catalog: reads catalog
src/App.tsx - App routes and views → Interactive tools: renders tools
src/App.tsx - App routes and views → Informational pages: renders pages
src/App.tsx - App routes and views → SEO metadata: renders metadata
src/App.tsx - App routes and views → Locale provider: uses translations
src/App.tsx - Article content → Category catalog: uses images
src/data/articles.ts - SEO metadata → Site configuration: reads settings
src/components/SeoHead.tsx - SEO metadata → Category catalog: uses images
src/components/SeoHead.tsx - SEO metadata → Locale provider: reads locale
src/components/SeoHead.tsx - Informational pages → Site configuration: reads settings
src/components/StaticPages.tsx - Informational pages → Locale provider: uses translations
src/components/StaticPages.tsx - Locale provider → French and Arabic messages: loads messages
src/i18n/next-intl.tsx - Static prerendering → App routes and views: renders routes
scripts/prerender.ts - Static prerendering → Article content: reads content
scripts/prerender.ts - Static prerendering → Category catalog: reads catalog
scripts/prerender.ts - Static prerendering → Tool catalog: reads catalog
scripts/prerender.ts - Static prerendering → Site configuration: reads settings
scripts/prerender.ts - Static prerendering → Locale provider: uses messages
scripts/prerender.ts