A standardized DBC footer
npm install @dbcdk/dbc-footer- 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
- 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"
- 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
- 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