How khruartem/otkter works
Открытая Территория is a creative-community website for presenting its initiatives, projects, services, team, and merchandise. Visitors enter through routed pages; the main page composes editorial sections, while domain hooks select catalog data from a Redux store for display. Project, service, team, and merchandise catalogs are represented by separate slices and content modules. The tree and README establish additional detail and contact capabilities, but source excerpts are limited, so only evidenced component relationships are drawn; unsampled subsystems are represented at their known paths.
Main entry points: store.ts Redux store · app.tsx Route application · services.tsx Services section · servicesSlice.ts Services catalog slice
Components 30
Routing and pages
- Route application
src/components/app/app.tsx - Main page
src/pages/main/main.tsx - Projects page
src/pages/all-projects - Project detail
src/pages/project - Service detail
src/pages/service/service.tsx - Employee detail
src/pages/employee - Merch pages
src/pages/merch
Presentation
- Main page composition
src/components/ui/pages/main/main.tsx - Services section
src/sections/services/services.tsx - Services display
src/components/ui/sections/services/services.tsx - Icon library
src/components/icons/icons.tsx - Responsive query hook
src/hooks/useGetMediaQuery.ts - Content slider
src/components/content-slider/content-slider.tsx
Catalog domains
- Project and service catalogs
src/components/ui/pages - Team catalog
src/features/team/teamSlice.ts - Merch catalog
src/features/merch/merchSlice.ts - Projects catalog slice
src/features/projects/projectsSlice.ts - Services catalog slice
src/features/services/servicesSlice.ts - Service selectors
src/hooks/services - Project selectors
src/hooks/projects/useGetProjects.ts - Team selectors
src/hooks/team/useGetTeams.ts - Merch selectors
src/hooks/merch/useGetMerchItems.ts
State and data
- Redux store
src/services/store.ts - Service content
src/utils/constants/services.ts - Project content
src/utils/constants/projects.ts - Team content
src/utils/constants/team.ts - Merch content
src/utils/constants/merch.ts - Shared catalog types
src/utils/types/item-ot.ts - ID lookup helper
src/utils/findById.ts
Other components
- Site visitor
Connections 34
- Site visitor → Route application: opens
README.md - Route application → Main page: routes to
src/components/app/app.tsx - Route application → Projects page: routes to
src/components/app/app.tsx - Route application → Project detail: routes to
src/components/app/app.tsx - Route application → Service detail: routes to
src/components/app/app.tsx - Route application → Employee detail: routes to
src/components/app/app.tsx - Route application → Merch pages: routes to
src/components/app/app.tsx - Main page → Main page composition: renders
src/pages/main/main.tsx - Main page composition → Services section: renders
src/components/ui/pages/main/main.tsx - Services section → Service selectors: selects through
src/sections/services/services.tsx - Services section → Services display: renders
src/sections/services/services.tsx - Services section → Responsive query hook: reads breakpoints
src/sections/services/services.tsx - Services section → Content slider: configures tabs
src/sections/services/services.tsx - Services display → Responsive query hook: uses
src/components/ui/sections/services/services.tsx - Services display → Content slider: renders
src/components/ui/sections/services/services.tsx - Service selectors → Redux store: selects from
src/hooks/services/useGetServices.ts - Service selectors → Services catalog slice: selects
src/hooks/services/useGetServices.ts - Service detail → Service selectors: looks up service
src/pages/service/service.tsx - Project selectors → Redux store: selects from
src/hooks/projects/useGetProjects.ts - Project selectors → Projects catalog slice: selects
src/hooks/projects/useGetProjects.ts - Team selectors → Redux store: selects from
src/hooks/team/useGetTeams.ts - Team selectors → Team catalog: selects
src/hooks/team/useGetTeams.ts - Merch selectors → Redux store: selects from
src/hooks/merch/useGetMerchItems.ts - Merch selectors → Merch catalog: selects
src/hooks/merch/useGetMerchItems.ts - Redux store → Projects catalog slice: registers reducer
src/services/store.ts - Redux store → Services catalog slice: registers reducer
src/services/store.ts - Redux store → Team catalog: registers reducer
src/services/store.ts - Redux store → Merch catalog: registers reducer
src/services/store.ts - Services catalog slice → Service content: initializes from
src/features/services/servicesSlice.ts - Projects catalog slice → Project content: initializes from
src/features/projects/projectsSlice.ts - Services catalog slice → ID lookup helper: looks up IDs
src/features/services/servicesSlice.ts - Projects catalog slice → ID lookup helper: looks up IDs
src/features/projects/projectsSlice.ts - Service content → Shared catalog types: typed as
src/utils/constants/services.ts - Services catalog slice → Shared catalog types: uses service type
src/features/services/servicesSlice.ts