How imran-s-project/newlook works
This is a bilingual portfolio and content platform. Visitors enter through locale-aware public routes to browse portfolio projects and case studies, read a block-based blog, search, and send contact messages; administrators sign in to manage that content and site settings. The graph preserves the documented CMS, media, SEO, theme, and cinematic nature-engine capabilities. Some subsystem links rely on README descriptions because their implementation files were not sampled; those limits are reflected in the evidence citations.
Main entry points: (panel) Admin dashboard · [locale] Locale routes · auth.tsx Admin authentication · engine.ts Engine coordinator
Components 30
Public experience
- Locale routes
src/app/(site)/[locale] - Portfolio home
src/app/(site)/[locale]/page.tsx - Project browsing
src/components/projects/ProjectExplorer.tsx - Case studies
src/components/projects/CaseStudy.tsx - Site search
src/components/search/CommandPalette.tsx - Contact form
src/components/contact/ContactForm.tsx
Content platform
- Blog reading
src/app/(site)/[locale]/blog - Block rendering
src/components/blog/BlockRenderer.tsx - Block editor
src/features/editor/BlockEditor.tsx
Administration
- Admin dashboard
src/app/(admin)/admin/(panel) - Admin authentication
src/features/admin/auth.tsx - Content management
src/features/admin/data.ts - Media library
src/features/admin/media.ts - Taxonomy manager
src/features/admin/TaxonomyManager.tsx - Site settings
src/features/admin/settings.ts
Platform services
- Firestore
- Firebase client
src/lib/firebase/client.ts - Public data access
src/lib/firestore/public.ts - SEO metadata
src/lib/seo/metadata.ts - Translations
src/i18n/locales.ts - Search index API
src/app/api/search-index/route.ts - Firebase Auth
- Firebase Storage
Nature engine
- Nature background
src/components/nature/NatureBackground.tsx - Engine coordinator
src/lib/nature/engine.ts - Scene manager
src/lib/nature/scene-manager.ts - Quality profiling
src/lib/nature/quality.ts - Scene definitions
src/data/scenes.ts
Other components
- Visitor
- Administrator
Connections 34
- Visitor → Locale routes: visits
README.md - Locale routes → Portfolio home: renders
src/app/(site)/[locale]/page.tsx - Portfolio home → Public data access: loads settings
src/app/(site)/[locale]/page.tsx - Portfolio home → Project browsing: shows projects
README.md - Visitor → Project browsing: browses
README.md - Project browsing → Case studies: opens study
README.md - Visitor → Blog reading: reads posts
README.md - Blog reading → Block rendering: renders blocks
README.md - Visitor → Site search: searches
README.md - Site search → Search index API: fetches index
src/components/search/CommandPalette.tsx - Search index API → Public data access: gets public content
src/app/api/search-index/route.ts - Visitor → Contact form: sends message
README.md - Administrator → Admin dashboard: manages site
README.md - Admin dashboard → Admin authentication: checks access
README.md - Admin authentication → Firebase client: gets clients
src/features/admin/auth.tsx - Admin authentication → Firebase Auth: authenticates
src/features/admin/auth.tsx - Admin authentication → Firestore: checks profile
src/features/admin/auth.tsx - Admin dashboard → Content management: manages posts
README.md - Content management → Block editor: edits blocks
src/app/(admin)/admin/(panel)/posts/[id]/page.tsx - Admin dashboard → Taxonomy manager: manages taxonomy
README.md - Taxonomy manager → Firestore: reads and writes
src/features/admin/TaxonomyManager.tsx - Admin dashboard → Media library: manages media
README.md - Media library → Firebase Storage: stores uploads
README.md - Admin dashboard → Site settings: configures site
README.md - Firebase client → Firestore: initializes client
src/lib/firebase/client.ts - Public data access → Firestore: reads content
README.md - Locale routes → SEO metadata: creates metadata
src/app/(site)/[locale]/page.tsx - Locale routes → Translations: validates locale
src/app/(site)/[locale]/page.tsx - Visitor → Nature background: views ambience
README.md - Nature background → Engine coordinator: loads engine
- Engine coordinator → Scene manager: coordinates scenes
src/lib/nature/engine.ts - Engine coordinator → Quality profiling: profiles device
src/lib/nature/engine.ts - Engine coordinator → Scene definitions: uses definitions
src/lib/nature/engine.ts - Scene manager → Quality profiling: adapts playback
src/lib/nature/scene-manager.ts