import { h } from "preact"; type Props = { links?: FooterLink[] } type FooterLink = { name: string; linkId: string; linkTarget: string; } const _DEFAULT_LINKS: FooterLink[] = [ { name: "About Oracle", linkId: "aboutOracle", linkTarget: "http://www.oracle.com/us/corporate/index.html#menu-about" }, { name: "Contact Us", linkId: "contactUs", linkTarget: "http://www.oracle.com/us/corporate/contact/index.html" }, { name: "Legal Notices", linkId: "legalNotices", linkTarget: "http://www.oracle.com/us/legal/index.html" }, { name: "Terms Of Use", linkId: "termsOfUse", linkTarget: "http://www.oracle.com/us/legal/terms/index.html" }, { name: "Your Privacy Rights", linkId: "yourPrivacyRights", linkTarget: "http://www.oracle.com/us/legal/privacy/index.html" } ] export function Footer({ links = _DEFAULT_LINKS } : Props ) { return ( ); }