A simple way to create a holding page
bower install holding-fire --save
An element that uploads files and provides download url from Firebase Storage. For images, it can resize and provide a placeholder as well.
<link rel="import" href="/bower_components/holding-fire/holding-fire.html">
<firebase-app
name="inline"
api-key="AIzaSyAhoCXxkY-ffNwA_7L7HIwBVpASYj1btNE"
auth-domain="convoo-login-demo.firebaseapp.com"
database-url="https://convoo-login-demo.firebaseio.com">
</firebase-app>
<holding-fire
app-name="inline"
path="/subscribers"
alt="Convoo"
logo="images/lipsum.png"
email="[email protected]"
sub-header="Sign up to find out when we launch!"
sub-button="Sign up"
thanks="Thank you for subscribing!"
thanks-header=""
twitter = "example"
>
<p>A revolutionary new startup. Website coming soon!</p>
</holding-fire>
See the demos by clicking in the sidebar on webcomponents.org for more.
Style the element with CSS as you would a normal DOM element.
The following custom properties and mixins are available for styling:
Custom property | Description |
---|---|
--holding-fire-host |
Mixin for the host element |
--holding-fire-overlay |
Mixin for an overlay |
--holding-fire-container |
Mixin for the container |
--holding-fire-logo |
Mixin for the logo |
--holding-fire-inner-container |
Mixin for the inner container with content and form |
--holding-fire-content |
Mixin for the content section |
---holding-fire-subscribe-container |
Mixin for the subscribe container |
---holding-fire-subscribe-title |
Mixin for the subscribe title |
---holding-fire-subscribe-form |
Mixin for the subscribe form |
--holding-fire-input |
Mixin for the inputs |
---holding-fire-subscribe-button |
Mixin for the subscribe button |
--holding-fire-email |
Mixin for the email paragraph |
--holding-fire-email-link |
Mixin for the email text |
---holding-fire-thanks-container |
Mixin for the thanks container |
---holding-fire-thanks-title |
Mixin for the thanks title |
---holding-fire-thanks-section |
Mixin for the thanks section |
--holding-fire-twitter-link |
Mixin for the twitter link |
--holding-fire-twitter-button |
Mixin for the twitter button |
--holding-fire-animations |
Mixin for any animations you want to define. First one will not be registered. See demo. |
Element dependencies are managed via Bower. You can install that via:
npm install -g bower
Then, go ahead and download the element's dependencies:
bower install
If you wish to work on your element in isolation, we recommend that you use Polyserve to keep your element's bower dependencies in line. You can install it via:
npm install -g polyserve
And you can run it via:
polyserve
Once running, you can preview your element at
http://localhost:8080/components/image-fire/
, where image-fire
is the name of the directory containing it.