This is the page that is served before the Vue JS app is deployed.
This landing page is built with a template from Color Lib, credits to them.
This project uses the "http-minifier" as an optional dependency.
It is used for minification of the files, however even without it, the webpage can still be served.
- devcon.html
- This is the consultant page index.html file for development.
- This is the file in which the "index.html" file is generated from.
- devbiz.html
- This is the business page index.html file for development.
- This is the file in which the "business.html" file is generated from.
- index.html
- This is the entry HTML file for the website, but this is not user created.
- This is a minified file that is generated with the "html-minifier" tool
- Is auto generated when deploying to firebase with npm script
- This is generated from the "devcon.html" file
- business.html
- This is the HTML file of the business facing website, this is not user created.
- This is a minified file that is generated with the "html-minifier" tool
- Is auto generated when deploying to firebase with npm script
- This is generated from the "devbiz.html" file
- Others
- All the assets are in their respective folder
- This is a landing page, there are just 2 main files with supporting assets.
Build process of the landing page is super simple with built in NPM scripts to run.
Building is just where the main index.html file is minified/uglified to reduce size.
To "build" landing page
# Run the npm build script, to build "dev*.html" file into the output files "index.html" and "business.html"
# You can then use any server to serve from this directory.
npm run build
To deploy the landing page to firebase staging project
# Run the npm build script, to build page and call firebase to deploy to hosting of the the development/staging project
# This script relies on the npm run build script
npm run staging
# Landing page can be accessed from site below
# https://ekd-landing-page-develop.web.app
To deploy the landing page to firebase
# Run the npm build script, to build page and call firebase to deploy to hosting of the production project
# This script relies on the npm run build script
npm run deploy
firebase.json "hosting.ignore" should only contain items to ignore in the "public" directory, which is currently set to src/