1.0.3 • Published 4 years ago
@phoenixreisen/footer v1.0.3
Phoenix Footer
Standard-Footer für diverse (standalone) Phoenix-Applikationen bereitstellen.
Die Komponente ist Teil des Phoenix Reisen Design-Systems.
Demo
https://phoenixreisen.github.io/footer/
Anwendung
Mithril wird benötigt.
npm install --save @phoenixreisen/footer
Anwendung
Aufruf
import Footer from '@phoenixreisen/footer';
<Footer headline="für etwas Vorfreude" env="[staging|production]" />
//oder
m(Footer, { headline:"für etwas Vorfreude", env:"[staging|production]" });
Wird für env
"staging" angegeben, wird border-top
gelb eingefärbt.
Test
[npm install]
npm run test
Deployment
[npm install] # Abhängigkeiten installieren
npm version [major|minor|patch] # increase version x.x.x => major.minor.patch
npm publish # upload to npm
git push
Github Page
Demo kann manuell mittels Rollup gebaut werden und liegt komplett in /docs
.
[npm install]
npm run compile:example
Nach git push
automatisch zu erreichen unter:
https://phoenixreisen.github.io/footer/