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

## Definitions

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

## Source

```typescript
import { FAQ_DESCRIPTION, FAQ_TITLE } from "#configuration/strings/page.strings";
import { FAQ_META, FAQ_SECTIONS } from "#configuration/strings/faq.strings";
import { FAQ_PAGE } from "#core/ids/page.ids";
import type { PageDefinition } from "#types/page.types";
import { renderDocument } from "#presentation/renderers/document.renderer";

const renderFaq = function renderFaq(): Element {
    return renderDocument(FAQ_META, FAQ_SECTIONS);
};

export const PAGE: PageDefinition = {
    content: { kind: "document", meta: FAQ_META, sections: FAQ_SECTIONS },
    description: FAQ_DESCRIPTION,
    id: FAQ_PAGE,
    render: renderFaq,
    title: FAQ_TITLE,
};
```
