since3-portal/modules/templates/lib/registry.ts
2026-10-10 02:38:50 +02:00

53 lines
1.7 KiB
TypeScript

import { beauty } from "../catalog/beauty/definition"
import { coach } from "../catalog/coach/definition"
import { event } from "../catalog/event/definition"
import { fitness } from "../catalog/fitness/definition"
import { handwerk } from "../catalog/handwerk/definition"
import { immobilien } from "../catalog/immobilien/definition"
import { kampagne } from "../catalog/kampagne/definition"
import { kanzlei } from "../catalog/kanzlei/definition"
import { karriere } from "../catalog/karriere/definition"
import { praxis } from "../catalog/praxis/definition"
import { restaurant } from "../catalog/restaurant/definition"
import { saas } from "../catalog/saas/definition"
import { nutzfahrzeuge } from "../catalog/nutzfahrzeuge/definition"
import { hotel } from "../catalog/hotel/definition"
import { cafe } from "../catalog/cafe/definition"
import { fotograf } from "../catalog/fotograf/definition"
import { pflege } from "../catalog/pflege/definition"
import { shop } from "../catalog/shop/definition"
import { agentur } from "../catalog/agentur/definition"
import { verein } from "../catalog/verein/definition"
import { linkinbio } from "../catalog/linkinbio/definition"
import { speisekarte } from "../catalog/speisekarte/definition"
import type { TemplateDefinition } from "./types"
// Reihenfolge = Reihenfolge im Admin
export const templates: TemplateDefinition[] = [
restaurant,
handwerk,
beauty,
kanzlei,
praxis,
fitness,
saas,
immobilien,
karriere,
kampagne,
event,
coach,
nutzfahrzeuge,
hotel,
cafe,
fotograf,
pflege,
shop,
agentur,
verein,
linkinbio,
speisekarte,
]
export function getTemplate(key: string) {
return templates.find((template) => template.key === key)
}