A corporate website footer built with Bootstrap 5 for listed companies, holding groups and industrial firms. This investor relations footer combines company, investors, careers and sustainability link columns with a small share price ticker, annual report downloads and a navy legal bar, so shareholders and job seekers find what they need at the bottom of every page.
How it works
The wrapper .cif-root holds a thin sample page strip and footer.cif-footer. The top row pairs the brand block (logo, description and an address for investor relations) with the light .cif-panel. Four nav link columns follow, and .cif-bottom carries copyright, legal links and social icons on a navy band.
The ticker reads sample values from data-price, data-prev (previous close) and data-delay on [data-cif-quote]. The script calculates the change, fills [data-cif-change], colours .cif-badge and the .cif-spark sparkline green or red (is-down) and sets the "as of" time in [data-cif-time] to now minus the delay. The [data-cif-mode] buttons switch between a dollar and a percentage change, and [data-cif-refresh] refreshes the timestamp. A "Sample data" tag marks the quote as not live. The year in [data-cif-year] is set by the script.
Customization
--cif-navyin.cif-root: changes the brand mark, headings, pressed toggle and the legal bar colour.--cif-up/--cif-downand their-bgpartners in.cif-root: change the colours of the change badge and the sparkline.data-price,data-prevanddata-delayon[data-cif-quote]: set the sample quote; feed them from your market data provider.- The
clickhandler on[data-cif-refresh]inscript.js: replace the comment with afetch()call that updatespriceand runsrenderChange(). - Edit the
pointsof thepolylineinside.cif-sparkto draw a different intraday trend. - Add more
.cif-doclinks in.cif-docs(for example a sustainability report); the grid shows two per row from 768 px. --cif-radiusin.cif-root: changes the 6px corner radius of the panel, buttons and document cards.
Use cases
- Listed companies: a delayed share price and annual report link sit on every page of the corporate site
- Investor relations microsites: results, governance and dividend history links stay one click away
- Industrial and engineering groups: careers and sustainability columns share the footer with investor links
- Holding companies: the IR contact address and phone are always visible for analysts and shareholders
Accessibility
Link columns are nav elements with aria-labelledby and contact details use address. The change toggle is a labelled button group with aria-pressed, the badge has visually hidden "Up/Down … since previous close" text, and the sparkline is a labelled role="img". Results are announced in a polite role="status" region. Social links use neutral icons with hidden network names. Focus outlines are visible and mobile links are at least 40 px tall.
Usage notes
Requires Bootstrap 5 (added automatically), Bootstrap Icons and the Inter font. Show real quotes only with the delay and source your data provider requires.