Static Assets
The static directory contains all the static assets for the web interface.
scripts.js
This file provides client-side interactivity and logic for the web application. Key features include:
- Internationalization (i18n): A
translationsobject holds text for both English (en) and French (fr). - LanguageManager: A utility to manage the application's language, allowing users to switch between supported languages. It stores the selected language in
localStorageand applies the appropriate translations to the UI elements.
styles.css
This file contains the Cascading Style Sheets (CSS) used to style the HTML pages, ensuring a consistent and visually appealing user experience across the application.
smart-home.jpg
An image file used within the web interface, likely for branding or decorative purposes.