This commit is contained in:
dev.daminik00 2025-09-28 17:35:52 +02:00
parent 6393508a8d
commit a51b51d4d3
3 changed files with 90 additions and 1 deletions

View File

@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "npm run dev:full",
"dev": "npm run dev:frontend",
"dev:frontend": "node ./scripts/run-with-variant.mjs dev frontend -- --turbopack",
"dev:full": "node ./scripts/run-with-variant.mjs dev full -- --turbopack",
"build": "npm run build:frontend",

View File

@ -0,0 +1,44 @@
{
"meta": {
"id": "funnel-1759061433816",
"title": "Новая воронка",
"description": "Описание новой воронки",
"firstScreenId": "screen-1"
},
"screens": [
{
"list": {
"options": []
},
"id": "screen-1",
"template": "info",
"title": {
"text": "Добро пожаловать!",
"font": "manrope",
"weight": "bold",
"size": "md",
"align": "center",
"color": "default"
},
"description": {
"text": "Это ваша новая воронка. Начните редактирование.",
"font": "manrope",
"weight": "regular",
"size": "md",
"align": "center",
"color": "muted"
},
"icon": {
"type": "emoji",
"value": "🎯",
"size": "lg"
},
"fields": [],
"variants": [],
"position": {
"x": 120,
"y": 120
}
}
]
}

View File

@ -6,6 +6,51 @@
import type { FunnelDefinition } from "./types";
export const BAKED_FUNNELS: Record<string, FunnelDefinition> = {
"funnel-1759061433816": {
"meta": {
"id": "funnel-1759061433816",
"title": "Новая воронка",
"description": "Описание новой воронки",
"firstScreenId": "screen-1"
},
"screens": [
{
"list": {
"options": []
},
"id": "screen-1",
"template": "info",
"title": {
"text": "Добро пожаловать!",
"font": "manrope",
"weight": "bold",
"size": "md",
"align": "center",
"color": "default"
},
"description": {
"text": "Это ваша новая воронка. Начните редактирование.",
"font": "manrope",
"weight": "regular",
"size": "md",
"align": "center",
"color": "muted"
},
"icon": {
"type": "emoji",
"value": "🎯",
"size": "lg"
},
"fields": [],
"variants": [],
"position": {
"x": 120,
"y": 120
}
}
]
},
"funnel-test-variants": {
"meta": {
"id": "funnel-test-variants",