import { LICENSE_DESCRIPTION, LICENSE_TITLE } from "#configuration/strings/page.strings"; import { LICENSE_META, LICENSE_SECTIONS } from "#configuration/strings/license.strings"; import { LICENSE_PAGE } from "#core/ids/page.ids"; import type { PageDefinition } from "#types/page.types"; import { renderDocument } from "#presentation/renderers/document.renderer"; const renderLicense = function renderLicense(): Element { return renderDocument(LICENSE_META, LICENSE_SECTIONS); }; export const PAGE: PageDefinition = { content: { kind: "document", meta: LICENSE_META, sections: LICENSE_SECTIONS }, description: LICENSE_DESCRIPTION, id: LICENSE_PAGE, render: renderLicense, title: LICENSE_TITLE, };