1.4.2 • Published 2 months ago

@wooweb/footer v1.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Wooweb Footer Pug Component

Mixin Component Footer

Source

mixin Footer({modifier = '', js=false})
	-const classComponent = setClass('footer', modifier, js)
	-const year = new Date().getFullYear();
	footer(class=classComponent)
		span(class=`${prefix}-footer__privacy`)
			| Privacy Policy © #{year} AXA All Rights Reserved
		block

Usage

Basic

Code Pug

+Footer({})

Code Generate

<footer class="sg-footer js-footer">
    <span class="sg-footer__privacy">Privacy Policy © 2020 AXA All Rights Reserved</span>
</footer>

You can mixed properties

1.4.2

2 months ago

1.3.3

6 months ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.1.0

5 years ago