mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 20:51:17 +00:00
33 lines
1.1 KiB
TypeScript
33 lines
1.1 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 type { TemplateDefinition } from "./types"
|
|
|
|
// Reihenfolge = Reihenfolge im Admin: erst Branchen, dann Seiten-Typen für bestimmte Situationen
|
|
export const templates: TemplateDefinition[] = [
|
|
restaurant,
|
|
handwerk,
|
|
beauty,
|
|
kanzlei,
|
|
praxis,
|
|
fitness,
|
|
saas,
|
|
immobilien,
|
|
karriere,
|
|
kampagne,
|
|
event,
|
|
coach,
|
|
]
|
|
|
|
export function getTemplate(key: string) {
|
|
return templates.find((template) => template.key === key)
|
|
}
|