@peculiar/fortify-webcomponents
Version:
Web-components for creating CSR or Certificate and viewing certificates list using Fortify
20 lines (19 loc) • 998 B
JavaScript
/*!
* © Peculiar Ventures https://peculiarventures.com/ - BSD 3-Clause License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the BSD 3-Clause license found in the
* LICENSE file in the root directory of this source tree.
*/
import { h, } from "@stencil/core";
import { Typography } from "@peculiar/certificates-viewer";
import { getString } from "../../utils/l10n";
import { FortifyLogoFull } from "./fortify_logo_full";
export const FortifyLayout = (props, children) => {
const { hideFooter } = props;
return (h("div", { class: "layout" }, h("main", { class: "layout_main" }, children), h("footer", { class: "layout_footer", hidden: hideFooter }, h(Typography, { variant: "c2", class: "layout_footer_text" }, getString('copyright')), h("a", { href: "https://fortifyapp.com/", target: "_blank", rel: "noopener noreferrer", class: "layout_footer_text" }, h(FortifyLogoFull, null)))));
};
//# sourceMappingURL=fortify-layout.js.map