How jane-orji2/posh-angular works
Posh is an Angular rebuild of a furniture-and-interiors landing page. A visitor enters through the app shell, whose router selects Home or About; Home composes the hero, showcase, and contact form. The hero CTA scrolls toward contact, while the form validates input and displays a local success state. The root navigation and footer persist across routes. Server bootstrap and prerender configuration are also represented. Component composition and behavior are supported by the README and sampled source; unsampled templates and server runtime details limit further interaction claims.
Main entry points: home.ts Home page · app.ts App shell · app.routes.ts Route table · main.ts Browser bootstrap
Components 14
App shell
- Browser bootstrap
src/main.ts - App shell
src/app/app.ts - Navigation
src/app/nav-bar/nav-bar.ts - Footer
src/app/components/footer/footer.ts
Routed pages
- Route table
src/app/app.routes.ts - About page
src/app/about/about.ts
Home experience
- Home page
src/app/components/home/home.ts - Hero section
src/app/components/hero/hero.ts - Showcase grid
src/app/components/body/showcase.ts - Contact form
src/app/contact/contact.ts
Server rendering
- Server bootstrap
src/main.server.ts - Server config
src/app/app.config.server.ts - Prerender routes
src/app/app.routes.server.ts
Other components
- Visitor
Connections 18
- Visitor → Browser bootstrap: opens app
- Browser bootstrap → App shell: bootstraps
src/main.ts - Browser bootstrap → Route table: loads routes
src/main.ts - App shell → Navigation: renders
src/app/app.ts - App shell → Footer: renders
src/app/app.ts - App shell → Route table: hosts outlet
README.md - Route table → Home page: routes to
src/app/app.routes.ts - Route table → About page: routes to
src/app/app.routes.ts - Home page → Hero section: composes
src/app/components/home/home.ts - Home page → Showcase grid: composes
src/app/components/home/home.ts - Home page → Contact form: composes
src/app/components/home/home.ts - Hero section → Home page: emits CTA
README.md - Home page → Contact form: scrolls toward
src/app/components/home/home.ts - Browser bootstrap → Server bootstrap: server counterpart
- Server bootstrap → App shell: bootstraps
src/main.server.ts - Server bootstrap → Server config: uses config
src/main.server.ts - Server config → Route table: merges app config
src/app/app.config.server.ts - Server config → Prerender routes: configures rendering
src/app/app.config.server.ts