A simple landing page placeholder with built-in email protection.
The title, contact email address, and color palette are settable with defaults. All three are strings but the PALETTE
must be a valid colorbrewer palette (i.e. 'YlGnBu' or 'RdBu').
To set them, set an environment variable before running the build.
[email protected] PALETTE=Blues TITLE="My Site" npm run build
Name | Description | Default |
---|---|---|
Email address used as the contact email address | [email protected] |
|
TITLE | Title displayed with the contact email | example.com |
PALETTE | Colorbrewer pallete to use as the color scheme | random |
Build the application for deployment.
npm run build
The deployable build artifacts will be written to a dist
directory in the repo
root.
Run the local webpack-dev-server with livereload and autocompile on http://localhost:8080.
npm run dev
This is a fork of the original landing page template repo made by @cvgellhorn. I liked it so much I updated its dependencies to current and made a few changes so the color palette and title are settable.