How italia/design-comuni-pagine-statiche works
This repository provides ready-to-use static page templates for Italian municipal websites and digital services. The user-facing flow is to select example site or service pages and adapt their HTML, CSS, and JavaScript; the service examples cover multi-step tasks such as payments, permits, appointments, and reports. Shared Handlebars components and sample content support the templates, while browser scripts add interactions such as ratings, form validation, and accessible read-aloud. The README documents the template scope and UI foundations; links between unsampled templates, data, and styles are therefore omitted.
Main entry points: scripts.js Client interactions · sito Municipal site · servizi Service journeys · cmp-rating.js Rating flow
Components 14
Page templates
- Municipal site
src/pages/sito - Service journeys
src/pages/servizi
Reusable interface
- Shared components
src/components - Page base
src/components/cmp-base/base.hbs - Form controls
src/components/cmp-input - Dialogs and notices
src/components/cmp-modal
Sample content
- Example content
src/handlebars-json
Browser behavior
- Client interactions
src/javascripts/scripts.js - Rating flow
src/components/cmp-rating/cmp-rating.js - Input cleanup
src/components/cmp-input/input.js - Card selection
src/components/cmp-info-button-card/cmp-info-button-card.js - Checkbox selection
src/components/cmp-info-checkbox/cmp-info-checkbox.js - Toggle display
src/components/cmp-toggle/toggle.js
Other components
- Template user
Connections 7
- Template user → Municipal site: selects examples
README.md - Template user → Service journeys: adapts examples
README.md - Client interactions → Rating flow: imports
src/javascripts/scripts.js - Client interactions → Toggle display: imports
src/javascripts/scripts.js - Client interactions → Card selection: imports
src/javascripts/scripts.js - Client interactions → Checkbox selection: imports
src/javascripts/scripts.js - Client interactions → Input cleanup: imports
src/javascripts/scripts.js