# ramesharma426/building-care-enterprises architecture

> Architecture diagram of the GitHub repository ramesharma426/building-care-enterprises, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ramesharma426/building-care-enterprises
- Repository: https://github.com/ramesharma426/building-care-enterprises

## Overview

Building Care Enterprises is a static bilingual (English and Nepali) marketing site for a local supplier. Visitors enter through a localized page, browse product categories and available item lists, or find business details and contact links. The graph includes the documented bilingual, product-catalog, contact, and SEO capabilities. Connections are limited to relationships visible in excerpts, the SOURCE INDEX, or the README; unsampled layout and shared-site wiring is not inferred.

Main entry points: [`src/lib/metadata.ts`](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/metadata.ts) (Page metadata), [`src/lib/dictionary.ts`](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/dictionary.ts) (Locale lookup), [`src/views/CategoryView.tsx`](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/CategoryView.tsx) (Category details), [`src/views/ContactView.tsx`](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/ContactView.tsx) (Contact experience)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Page experiences"]
  node_en_home["English home route<br/>[page.tsx]"]
  node_ne_home["Nepali home route<br/>[page.tsx]"]
  node_en_products["English products route<br/>[page.tsx]"]
  node_ne_products["Nepali products route<br/>[page.tsx]"]
  node_en_category["English category route<br/>[page.tsx]"]
  node_ne_category["Nepali category route<br/>[page.tsx]"]
  node_en_about["English about route<br/>[page.tsx]"]
  node_ne_about["Nepali about route<br/>[page.tsx]"]
  node_en_contact["English contact route<br/>[page.tsx]"]
  node_ne_contact["Nepali contact route<br/>[page.tsx]"]
  node_home_view["Home experience<br/>[HomeView.tsx]"]
  node_products_view["Product categories<br/>[ProductsView.tsx]"]
  node_category_view["Category details<br/>[CategoryView.tsx]"]
  node_about_view["About experience<br/>[AboutView.tsx]"]
  node_contact_view["Contact experience<br/>[ContactView.tsx]"]
end

subgraph group_content["Localized content"]
  node_business["Business facts<br/>[business.ts]"]
  node_products_data["Product inventory<br/>[products.ts]"]
  node_en_dict["English copy<br/>[en.ts]"]
  node_ne_dict["Nepali copy<br/>[ne.ts]"]
  node_dictionary["Locale lookup<br/>[dictionary.ts]"]
end

subgraph group_shared["Shared presentation"]
  node_product_list["Item list display"]
  node_category_card["Category card<br/>[CategoryCard.tsx]"]
  node_container["Layout container<br/>[Container.tsx]"]
  node_page_hero["Page hero<br/>[PageHero.tsx]"]
  node_jsonld["Structured data display<br/>[JsonLd.tsx]"]
end

subgraph group_site["Site identity and SEO"]
  node_metadata["Page metadata<br/>[metadata.ts]"]
  node_paths["Locale paths<br/>[paths.ts]"]
  node_site_constants["Site constants<br/>[site.ts]"]
  node_structured_data["Schema builders<br/>[structuredData.ts]"]
end

node_visitor(("Site visitor"))
node_google_maps(("Google Maps"))

node_visitor -->|"opens"| node_en_home
node_visitor -->|"opens"| node_ne_home
node_en_home -->|"renders"| node_home_view
node_ne_home -->|"renders"| node_home_view
node_en_products -->|"renders"| node_products_view
node_ne_products -->|"renders"| node_products_view
node_en_category -->|"renders"| node_category_view
node_ne_category -->|"renders"| node_category_view
node_en_about -->|"renders"| node_about_view
node_ne_about -->|"renders"| node_about_view
node_en_contact -->|"renders"| node_contact_view
node_ne_contact -->|"renders"| node_contact_view
node_en_home -->|"selects copy"| node_dictionary
node_ne_home -->|"selects copy"| node_dictionary
node_home_view -->|"loads copy"| node_dictionary
node_products_view -->|"loads copy"| node_dictionary
node_category_view -->|"loads copy"| node_dictionary
node_about_view -->|"loads copy"| node_dictionary
node_contact_view -->|"loads copy"| node_dictionary
node_dictionary -->|"selects locale"| node_en_dict
node_dictionary -->|"selects locale"| node_ne_dict
node_home_view -->|"reads categories"| node_business
node_products_view -->|"reads categories"| node_business
node_category_view -->|"reads category data"| node_business
node_category_view -->|"reads item groups"| node_products_data
node_category_view -->|"renders items"| node_product_list
node_products_view -->|"renders cards"| node_category_card
node_home_view -->|"renders cards"| node_category_card
node_category_view -->|"renders schema"| node_jsonld
node_about_view -->|"uses layout"| node_container
node_contact_view -->|"uses layout"| node_container
node_about_view -->|"renders hero"| node_page_hero
node_contact_view -->|"renders hero"| node_page_hero
node_contact_view -->|"reads contact facts"| node_business
node_contact_view -->|"embeds map"| node_google_maps
node_en_home -->|"builds metadata"| node_metadata
node_ne_home -->|"builds metadata"| node_metadata
node_en_products -->|"builds metadata"| node_metadata
node_ne_products -->|"builds metadata"| node_metadata
node_en_category -->|"builds metadata"| node_metadata
node_ne_category -->|"builds metadata"| node_metadata
node_en_about -->|"builds metadata"| node_metadata
node_ne_about -->|"builds metadata"| node_metadata
node_en_contact -->|"builds metadata"| node_metadata
node_ne_contact -->|"builds metadata"| node_metadata
node_metadata -->|"builds locale links"| node_paths
node_metadata -->|"uses site identity"| node_site_constants
node_category_view -->|"builds breadcrumbs"| node_structured_data

click node_en_home "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(en)/page.tsx"
click node_ne_home "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(ne)/ne/page.tsx"
click node_en_products "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(en)/products/page.tsx"
click node_ne_products "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(ne)/ne/products/page.tsx"
click node_en_category "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(en)/products/%5Bcategory%5D/page.tsx"
click node_ne_category "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(ne)/ne/products/%5Bcategory%5D/page.tsx"
click node_en_about "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(en)/about/page.tsx"
click node_ne_about "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(ne)/ne/about/page.tsx"
click node_en_contact "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(en)/contact/page.tsx"
click node_ne_contact "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(ne)/ne/contact/page.tsx"
click node_home_view "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/HomeView.tsx"
click node_products_view "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/ProductsView.tsx"
click node_category_view "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/CategoryView.tsx"
click node_about_view "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/AboutView.tsx"
click node_contact_view "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/ContactView.tsx"
click node_business "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/data/business.ts"
click node_products_data "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/data/products.ts"
click node_en_dict "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/dictionaries/en.ts"
click node_ne_dict "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/dictionaries/ne.ts"
click node_dictionary "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/dictionary.ts"
click node_product_list "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/components/ProductItemList.tsx"
click node_category_card "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/components/CategoryCard.tsx"
click node_container "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/components/Container.tsx"
click node_page_hero "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/components/PageHero.tsx"
click node_jsonld "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/components/JsonLd.tsx"
click node_metadata "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/metadata.ts"
click node_paths "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/paths.ts"
click node_site_constants "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/site.ts"
click node_structured_data "https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/structuredData.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_en_home,node_ne_home,node_en_products,node_ne_products,node_en_category,node_ne_category,node_en_about,node_ne_about,node_en_contact,node_ne_contact,node_home_view,node_products_view,node_category_view,node_about_view,node_contact_view toneBlue
class node_business,node_products_data,node_en_dict,node_ne_dict,node_dictionary toneAmber
class node_product_list,node_category_card,node_container,node_page_hero,node_jsonld toneMint
class node_metadata,node_paths,node_site_constants,node_structured_data toneRose
class node_visitor,node_google_maps toneIndigo
```

## Components

### Page experiences

- [English home route](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(en)/page.tsx): `src/app/(en)/page.tsx`
- [Nepali home route](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(ne)/ne/page.tsx): `src/app/(ne)/ne/page.tsx`
- [English products route](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(en)/products/page.tsx): `src/app/(en)/products/page.tsx`
- [Nepali products route](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(ne)/ne/products/page.tsx): `src/app/(ne)/ne/products/page.tsx`
- [English category route](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(en)/products/%5Bcategory%5D/page.tsx): `src/app/(en)/products/[category]/page.tsx`
- [Nepali category route](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(ne)/ne/products/%5Bcategory%5D/page.tsx): `src/app/(ne)/ne/products/[category]/page.tsx`
- [English about route](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(en)/about/page.tsx): `src/app/(en)/about/page.tsx`
- [Nepali about route](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(ne)/ne/about/page.tsx): `src/app/(ne)/ne/about/page.tsx`
- [English contact route](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(en)/contact/page.tsx): `src/app/(en)/contact/page.tsx`
- [Nepali contact route](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/app/(ne)/ne/contact/page.tsx): `src/app/(ne)/ne/contact/page.tsx`
- [Home experience](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/HomeView.tsx): `src/views/HomeView.tsx`
- [Product categories](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/ProductsView.tsx): `src/views/ProductsView.tsx`
- [Category details](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/CategoryView.tsx): `src/views/CategoryView.tsx`
- [About experience](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/AboutView.tsx): `src/views/AboutView.tsx`
- [Contact experience](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/views/ContactView.tsx): `src/views/ContactView.tsx`

### Localized content

- [Business facts](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/data/business.ts): `src/data/business.ts`
- [Product inventory](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/data/products.ts): `src/data/products.ts`
- [English copy](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/dictionaries/en.ts): `src/dictionaries/en.ts`
- [Nepali copy](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/dictionaries/ne.ts): `src/dictionaries/ne.ts`
- [Locale lookup](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/dictionary.ts): `src/lib/dictionary.ts`

### Shared presentation

- [Item list display](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/components/ProductItemList.tsx): `src/components/ProductItemList.tsx`
- [Category card](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/components/CategoryCard.tsx): `src/components/CategoryCard.tsx`
- [Layout container](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/components/Container.tsx): `src/components/Container.tsx`
- [Page hero](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/components/PageHero.tsx): `src/components/PageHero.tsx`
- [Structured data display](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/components/JsonLd.tsx): `src/components/JsonLd.tsx`

### Site identity and SEO

- [Page metadata](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/metadata.ts): `src/lib/metadata.ts`
- [Locale paths](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/paths.ts): `src/lib/paths.ts`
- [Site constants](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/site.ts): `src/lib/site.ts`
- [Schema builders](https://github.com/ramesharma426/building-care-enterprises/blob/main/src/lib/structuredData.ts): `src/lib/structuredData.ts`

### Other components

- **Site visitor**
- **Google Maps**

## Connections

- Site visitor → English home route: opens (evidence: `README.md`)
- Site visitor → Nepali home route: opens (evidence: `README.md`)
- English home route → Home experience: renders (evidence: `src/app/(en)/page.tsx`)
- Nepali home route → Home experience: renders (evidence: `src/app/(ne)/ne/page.tsx`)
- English products route → Product categories: renders (evidence: `src/app/(en)/products/page.tsx`)
- Nepali products route → Product categories: renders (evidence: `src/app/(ne)/ne/products/page.tsx`)
- English category route → Category details: renders (evidence: `src/app/(en)/products/[category]/page.tsx`)
- Nepali category route → Category details: renders (evidence: `src/app/(ne)/ne/products/[category]/page.tsx`)
- English about route → About experience: renders (evidence: `src/app/(en)/about/page.tsx`)
- Nepali about route → About experience: renders (evidence: `src/app/(ne)/ne/about/page.tsx`)
- English contact route → Contact experience: renders (evidence: `src/app/(en)/contact/page.tsx`)
- Nepali contact route → Contact experience: renders (evidence: `src/app/(ne)/ne/contact/page.tsx`)
- English home route → Locale lookup: selects copy (evidence: `src/app/(en)/page.tsx`)
- Nepali home route → Locale lookup: selects copy (evidence: `src/app/(ne)/ne/page.tsx`)
- Home experience → Locale lookup: loads copy (evidence: `src/views/HomeView.tsx`)
- Product categories → Locale lookup: loads copy (evidence: `src/views/ProductsView.tsx`)
- Category details → Locale lookup: loads copy (evidence: `src/views/CategoryView.tsx`)
- About experience → Locale lookup: loads copy (evidence: `src/views/AboutView.tsx`)
- Contact experience → Locale lookup: loads copy (evidence: `src/views/ContactView.tsx`)
- Locale lookup → English copy: selects locale (evidence: `src/lib/dictionary.ts`)
- Locale lookup → Nepali copy: selects locale (evidence: `src/lib/dictionary.ts`)
- Home experience → Business facts: reads categories (evidence: `src/views/HomeView.tsx`)
- Product categories → Business facts: reads categories (evidence: `src/views/ProductsView.tsx`)
- Category details → Business facts: reads category data (evidence: `src/views/CategoryView.tsx`)
- Category details → Product inventory: reads item groups (evidence: `src/views/CategoryView.tsx`)
- Category details → Item list display: renders items (evidence: `src/views/CategoryView.tsx`)
- Product categories → Category card: renders cards (evidence: `src/views/ProductsView.tsx`)
- Home experience → Category card: renders cards (evidence: `src/views/HomeView.tsx`)
- Category details → Structured data display: renders schema (evidence: `src/views/CategoryView.tsx`)
- About experience → Layout container: uses layout (evidence: `src/views/AboutView.tsx`)
- Contact experience → Layout container: uses layout (evidence: `src/views/ContactView.tsx`)
- About experience → Page hero: renders hero (evidence: `src/views/AboutView.tsx`)
- Contact experience → Page hero: renders hero (evidence: `src/views/ContactView.tsx`)
- Contact experience → Business facts: reads contact facts (evidence: `src/views/ContactView.tsx`)
- Contact experience → Google Maps: embeds map (evidence: `src/views/ContactView.tsx`)
- English home route → Page metadata: builds metadata (evidence: `src/app/(en)/page.tsx`)
- Nepali home route → Page metadata: builds metadata (evidence: `src/app/(ne)/ne/page.tsx`)
- English products route → Page metadata: builds metadata (evidence: `src/app/(en)/products/page.tsx`)
- Nepali products route → Page metadata: builds metadata (evidence: `src/app/(ne)/ne/products/page.tsx`)
- English category route → Page metadata: builds metadata (evidence: `src/app/(en)/products/[category]/page.tsx`)
- Nepali category route → Page metadata: builds metadata (evidence: `src/app/(ne)/ne/products/[category]/page.tsx`)
- English about route → Page metadata: builds metadata (evidence: `src/app/(en)/about/page.tsx`)
- Nepali about route → Page metadata: builds metadata (evidence: `src/app/(ne)/ne/about/page.tsx`)
- English contact route → Page metadata: builds metadata (evidence: `src/app/(en)/contact/page.tsx`)
- Nepali contact route → Page metadata: builds metadata (evidence: `src/app/(ne)/ne/contact/page.tsx`)
- Page metadata → Locale paths: builds locale links (evidence: `src/lib/metadata.ts`)
- Page metadata → Site constants: uses site identity (evidence: `src/lib/metadata.ts`)
- Category details → Schema builders: builds breadcrumbs (evidence: `src/views/CategoryView.tsx`)
