1.3.3 • Published 1 year ago

@dbcdk/dbc-footer v1.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

DBC Standardized footer

Props

  • topMargin: number - Specify the top spacing of the footer
  • className: string - Give css class to the root
  • footerLinks: either an array of objects or a single object - each object containing footerlinks. Each object contains the following fields:
    • title: string - The title of the link
    • href: string - The url of the link
    • target: string - the target attribute for the link

Usage

  • Install package via npm
  • Import styling with the line import "@dbcdk/dbc-footer/lib/main.css" in the project - By default, put this in the _app.js file
  • Import the footer with the line import DBCFooter from "@dbcdk/dbc-footer"

Previous version documentation

Props pre version 1.1.1

  • topMargin: number - Specify the top spacing of the footer
  • className: string - Give css class to the root
  • accessabilityLink: { href: string, (defaults to "/") target: string (defaults to "_blank") } - Link to accessability declaration
  • privacyLink: { href: string, (defaults to "/") target: string (defaults to "_blank") } - Link to privacy declaration

Props pre version 1.1.0

  • topMargin: number - Specify the top spacing of the footer
  • className: string - Give css class to the root
  • accessabilityLink: string - Link to accessability declaration
  • privacyLink: string - Link to privacy declaration
1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

2 years ago

1.2.1

2 years ago

1.2.0-alpha-01

2 years ago

1.2.0-alpha

2 years ago

1.2.0

2 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.0-beta-02

3 years ago

1.1.0-beta

3 years ago

1.0.1

3 years ago

0.7.11

3 years ago

0.7.10

3 years ago

0.7.9

3 years ago

1.0.0

3 years ago

0.7.13

3 years ago

0.7.12

3 years ago

0.7.6

3 years ago

0.7.5

3 years ago

0.7.8

3 years ago

0.7.7

3 years ago

0.7.14

3 years ago

0.7.2

3 years ago

0.7.4

3 years ago

0.7.3

3 years ago

0.7.1

3 years ago

0.6.4

3 years ago

0.7.0

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.6

3 years ago

0.5.5

3 years ago

0.5.4

3 years ago

0.5.3

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0-alpha

3 years ago

0.2.10-alpha

3 years ago

0.2.9-alpha

3 years ago

0.2.8-alpha

3 years ago

0.2.6-alpha

3 years ago

0.2.5-alpha

3 years ago

0.2.4-alpha

3 years ago

0.2.3-alpha

3 years ago

0.2.2-alpha

3 years ago

0.2.1-alpha

3 years ago

0.1.1-alpha

3 years ago

0.1.0-alpha

3 years ago