Shield Inc is a mobile-responsive Progressive Web Application (PWA) developed for the COMP50011-K-II - Mobile Application Development II module. It presents a multi-page insurance platform with responsive layouts, accessible navigation, and offline support. The experience spans product highlights, company information, branch discovery, careers, and a 'My Shield' area that captures user input and syncs data via Firebase.
Shield Inc provides the following features:
-
Mobile-first PWA Delivery
- PWA configuration with
manifest.jsonand service worker caching - Optimised media assets to keep load times fast and smooth
- Orientation-aware layout supporting portrait and landscape
- PWA configuration with
-
Multi-screen Navigation
- Seven primary screens (Home, About, Products, Contact, Branches, My Shield, Careers)
- Additional offline fallback and mini-game experience (Sheep)
- Clear navigation across desktop and mobile breakpoints
-
User-friendly Interface Design
- Material Design styling via Materialize
- Legible typography and spacing for mobile readability
- Organised content with meaningful copy and no placeholder text
-
Offline Support
- Static and dynamic caching strategy in
sw.js - Fallback UI for offline HTML requests
- Cached external assets for a resilient offline experience
- Static and dynamic caching strategy in
-
Interactive Data Handling
- Contact form submission via Formspree
- Firebase Auth + Firestore for My Shield suggestions
- Local storage-based scoring for the Sheep mini-game
- HTML5: Structure (static HTML pages)
- CSS3: Styling and responsive layout
- JavaScript: Interactivity, PWA logic, and data handling
- Materialize CSS 1.0.0: UI framework (from
css/materialize.min.css) - Material Icons (Google): Icon font (loaded via CDN)
- Google Fonts: Typography families loaded via CDN
- jQuery 3.7.0: DOM utilities (from CDN in HTML)
- SwiperJS 10.3: Carousel/slider (loaded via CDN)
- Firebase 10.3.1: Auth + Firestore (from
pages/my-shield.html) - Formspree API: Contact form handling (from
pages/contact.html) - Font Awesome 6: Icon set (loaded via kit)
- Course: COMP50011-K-II - Mobile Application Development II
- Application Type: Mobile-responsive Progressive Web Application (PWA)
- Offline Support: Service worker caching and fallback UI
- Data Handling: Firebase integration + Formspree + local storage
To run Shield Inc locally, follow these steps:
-
Clone the repository:
git clone https://github.com/supunxiii/shield-inc.git
-
Navigate to the project directory:
cd shield-inc -
Start a local web server (required for service worker support):
python3 -m http.server 8080
-
Open the site in your browser:
http://localhost:8080/index.html
shield-inc/
├── css/ # Page-specific styles and Materialize
├── images/ # UI imagery, icons, and logos
├── js/ # App scripts and feature logic
├── pages/ # Additional screens
├── index.html # Landing page
├── manifest.json # PWA manifest
├── sw.js # Service worker
└── LICENSE # Licence
This project was developed by:
- Supun Wijesooriya - Developer
The website is currently live at: https://shield-inc-13.firebaseapp.com/index.html
Contributions are welcome. If you would like to contribute:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/your-feature-name
-
Commit your changes:
git commit -m "Add your commit message" -
Push your branch:
git push origin feature/your-feature-name
-
Open a pull request with a clear description of your changes.
This project is open-source and is licensed under the MIT License.
For any enquiries or feedback, please contact the developer:
- Supun Wijesooriya: GitHub Profile
- Project Repository: shield-inc
Designed and developed in September 2023







