How mozzgov/new_project_pack works
This repository is a frontend project starter: its source includes HTML pages and shared fragments, SCSS styles, and separate TypeScript and native-JavaScript entry points. The clearest user-facing behavior is the TypeScript entry initializing header scroll styling, an animated menu toggle, and smooth anchor scrolling after DOM readiness. The graph shows those runtime calls and the native entry’s imported helper. README-described build, reload, and asset-processing tasks are intentionally excluded; HTML-to-script and stylesheet wiring is not shown in the excerpts, so those connections are omitted.
Main entry points: main.ts TypeScript entry · index.ts Module exports · headerBackground.ts Header background · menuToggle.ts Menu toggle
Components 16
Pages and styles
- HTML pages
src/index.html - Header fragment
src/include/header.html - Footer fragment
src/include/footer.html - Page examples
src/pages.html - Typology page
src/typology.html - SCSS entry
src/css/scss/style.scss - Core styles
src/css/scss/core - Layout styles
src/css/scss/layout
TypeScript interactions
- TypeScript entry
src/ts/main.ts - Module exports
src/ts/modules/index.ts - Header background
src/ts/modules/headerBackground.ts - Menu toggle
src/ts/modules/menuToggle.ts - Smooth scrolling
src/ts/modules/smoothScroll.ts
Native JavaScript
- JavaScript entry
src/js/main.js - Test logger helper
src/js/module/test.js
Other components
- Site visitor
Connections 7
- TypeScript entry → Header background: initializes
src/ts/main.ts - TypeScript entry → Menu toggle: initializes
src/ts/main.ts - TypeScript entry → Smooth scrolling: initializes
src/ts/main.ts - Module exports → Header background: re-exports
src/ts/modules/index.ts - Module exports → Menu toggle: re-exports
src/ts/modules/index.ts - Module exports → Smooth scrolling: re-exports
src/ts/modules/index.ts - JavaScript entry → Test logger helper: imports
src/js/main.js