# presentation/views/privacy.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-privacy-view-ts
Source text: https://banes-lab.com/assets/sources/source.b9837e1d5d8ab688e91c49fd75fbb43110f19c987b3151a5283feb74a330a208.generated.txt

## Definitions

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

## Source

```typescript
import { PRIVACY_DESCRIPTION, PRIVACY_TITLE } from "#configuration/strings/page.strings";
import { PRIVACY_META, PRIVACY_SECTIONS } from "#configuration/strings/privacy.strings";
import { PRIVACY_PAGE } from "#core/ids/page.ids";
import type { PageDefinition } from "#types/page.types";
import { renderDocument } from "#presentation/renderers/document.renderer";

const renderPrivacy = function renderPrivacy(): Element {
    return renderDocument(PRIVACY_META, PRIVACY_SECTIONS);
};

export const PAGE: PageDefinition = {
    content: { kind: "document", meta: PRIVACY_META, sections: PRIVACY_SECTIONS },
    description: PRIVACY_DESCRIPTION,
    id: PRIVACY_PAGE,
    render: renderPrivacy,
    title: PRIVACY_TITLE,
};
```
