How sradha-tcs/tcs-corp works
This repository is the browser-side frontend for a TCS corporate site rendered from AEM-authored pages. The principal workflow is page initialization, followed by section and block loading, then interactive content rendering for visitors; shared decorators and utilities support that rendering. The tree also includes templates, navigation, forms, media, search/filtering, and editorial experiences. Evidence is limited to the supplied excerpts and source index, so unsampled block relationships are omitted rather than inferred.
Main entry points: scripts.js Page Runtime · blocks Content Blocks · query-index.js Page Query Index · placeholders.js Localized UI Text
Components 24
Page Runtime
- Page Runtime
scripts/scripts.js - AEM Loader
scripts/aem.js - Page Templates
templates
Site Experiences
- Site Navigation
blocks/header/header.js - Site Footer
blocks/footer/footer.js - Content Blocks
blocks - Filtering and Search
blocks/filter-list/filter-list.js - Forms
blocks/form-variations/form-variations.js - Conversation Canvas
blocks/conversation-canvas/canvas-controller.js - Media Experiences
blocks/gen-carousel/gen-carousel.js - Page Fragments
blocks/fragment/fragment.js
Shared Rendering
- Content Decorators
decorators - Responsive Images
decorators/responsive-image-decorator.js - Button Rendering
decorators/button-decorator.js - Editor Items
decorators/editor-item-decorator.js - Authored Cells
utils/cells.js - Block Properties
utils/properties.js - Page IDs
utils/ids.js
Site Data
- Site Configuration
utils/site.js - Page Query Index
utils/query-index.js - Localized UI Text
utils/placeholders.js
Other components
- Site Visitor
- Published Site Sheets
- Query Index Service
Connections 26
- Site Visitor → Page Runtime: opens page
scripts/scripts.js - Page Runtime → AEM Loader: loads sections
scripts/scripts.js - AEM Loader → Content Blocks: loads blocks
scripts/aem.js - Page Runtime → Page Templates: loads template
scripts/scripts.js - Page Runtime → Site Navigation: loads header
scripts/scripts.js - Page Runtime → Site Footer: loads footer
scripts/scripts.js - Page Runtime → Responsive Images: builds images
scripts/scripts.js - Site Footer → Page Fragments: loads fragment
blocks/footer/footer.js - Filtering and Search → Authored Cells: reads cells
blocks/filter-list/filter-list.js - Filtering and Search → Page Query Index: uses index
blocks/filter-list/filter-list.js - Forms → Block Properties: reads properties
blocks/form-variations/form-variations.js - Conversation Canvas → Site Configuration: checks environment
blocks/conversation-canvas/canvas-controller.js - Media Experiences → Responsive Images: uses media
blocks/gen-carousel/gen-carousel.js - Content Blocks → Content Decorators: uses decorators
blocks/fragment/fragment.js - Content Blocks → Button Rendering: uses buttons
blocks/filter-list/filter-list.js - Content Blocks → Editor Items: supports editing
blocks/filter-list/filter-list.js - Content Blocks → Authored Cells: reads authored rows
blocks/filter-list/filter-list.js - Content Blocks → Page IDs: creates unique ids
blocks/filter-list/filter-list.js - Page Query Index → Site Configuration: gets index root
utils/query-index.js - Page Query Index → Published Site Sheets: applies overrides
utils/query-index.js - Page Query Index → Query Index Service: fetches index
- Localized UI Text → Site Configuration: gets locale path
utils/placeholders.js - Localized UI Text → Published Site Sheets: loads translations
utils/placeholders.js - Editor Items → Localized UI Text: gets editor text
decorators/editor-item-decorator.js - Button Rendering → Content Decorators: uses link decorator
decorators/button-decorator.js - Page IDs → AEM Loader: normalizes ids
utils/ids.js