# presentation/views/terms.view.ts

> 15 lines of code and 2 definitions.

Tree: Site tree
Language: typescript
Layer: product
Canonical: https://banes-lab.com/anatomy/tree#file-presentation-views-terms-view-ts
Source text: https://banes-lab.com/assets/sources/source.5c96fa33c30a7ea716ccaecd81f54e1f39afc4a5f1fc239d641935a6736fdcbf.generated.txt

## Definitions

- `renderTerms` (lexical_declaration, line 7)
- `PAGE` (lexical_declaration, line 11, exported)

## Source

```typescript
import { TERMS_DESCRIPTION, TERMS_TITLE } from "#configuration/strings/page.strings";
import { TERMS_META, TERMS_SECTIONS } from "#configuration/strings/terms.strings";
import type { PageDefinition } from "#types/page.types";
import { TERMS_PAGE } from "#core/ids/page.ids";
import { renderDocument } from "#presentation/renderers/document.renderer";

const renderTerms = function renderTerms(): Element {
    return renderDocument(TERMS_META, TERMS_SECTIONS);
};

export const PAGE: PageDefinition = {
    content: { kind: "document", meta: TERMS_META, sections: TERMS_SECTIONS },
    description: TERMS_DESCRIPTION,
    id: TERMS_PAGE,
    render: renderTerms,
    title: TERMS_TITLE,
};
```
