Site Footer#

Buy now, pay smart

Properties

Color Scheme

Border

SiteFooter implements a 3-column-on-desktop CSS Grid.

Props

nametypedefaultdescription

Use SiteFooterLogo to insert a logo that works with the footer.

Unlike the logo component for SiteHeader. This one is not a link by default.

List#

Properties

Color Scheme

  • site-footer-list-x a horizontal list with dividers between the list items.
  • site-footer-list-y a subtle vertical list
  • site-footer-list a responsive list style

You can assign site-footer-link class to increase affordance for clickable items.

Content Presets#

import { siteFooterContentPresets } from "@tinka/react";
 
/*
[
  { text: "privacy", href: "/privacy" },
  { text: "cookies", href: "/cookies" },
  { text: "algemene voorwaarden", href: "/algemene-voorwaarden" },
]
*/
 
siteFooterContentPresets.links
  .map(({ text, href }) => {
    return { text, href: `https://tinka.nl${href}` };
    /* output:
     */
  })
  .map(({ text, href }) => {
    return (
      <a className="site-footer-link" href={href}>
        {text}
      </a>
    );
  });
<Triangle flatSide="bottom" slope={0.15} />
<SiteFooter noSlogan />