Spaces:
Running
Running
Download src/features/landing/landingCopy.js from DanilDrotik/FlowWeb: direct link, hf CLI and curl.
- Browser
- Download file 14.2 kB
-
https://huggingface.co/spaces/DanilDrotik/FlowWeb/resolve/main/src/features/landing/landingCopy.js
- Command line
-
hf download hf://spaces/DanilDrotik/FlowWeb/src/features/landing/landingCopy.js
-
curl -L -o landingCopy.js https://huggingface.co/spaces/DanilDrotik/FlowWeb/resolve/main/src/features/landing/landingCopy.js
14.2 kB
| // Landing page copy. Everything here describes what the product does today; | |
| // planned work is listed separately under `roadmap`. | |
| import { FREE_LIMITS, PLUS_PRICE_USD } from '../../config/plans'; | |
| const en = { | |
| nav: { product: 'Product', how: 'How it works', templates: 'Templates', pricing: 'Pricing', login: 'Log in', start: 'Start free', workspace: 'Open workspace' }, | |
| hero: { | |
| badge: 'Gamify your life or your project', | |
| title1: 'Turn your plans', | |
| title2: 'into a quest line.', | |
| subtitle: 'TaskFlow is a quest board: your goals become quests on one infinite map. Every quest gives XP and the reward you choose — finish one and the board lights up the next.', | |
| ctaPrimary: 'Start your quest', | |
| ctaSecondary: 'See how it plays', | |
| note: `Free plan: ${FREE_LIMITS.boards} boards, no card required.`, | |
| }, | |
| demo: { | |
| goal: 'Launch the website', | |
| design: 'Design', | |
| copy: 'Write copy', | |
| check: 'Ready for review?', | |
| yes: 'Yes', | |
| no: 'No', | |
| publish: 'Publish', | |
| fix: 'Fix feedback', | |
| sticker: 'Ask Anna for the logo', | |
| autoLayout: 'Auto-layout', | |
| nextStep: 'Next quest', | |
| reward: 'Pizza night', | |
| level: 'Level', | |
| }, | |
| facts: ['Quests & XP', 'Rewards you choose', 'If/then forks', 'Groups like Blueprint functions', 'Web auto-layout', 'Co-op boards', 'English & Ukrainian'], | |
| product: { | |
| kicker: 'How the game works', | |
| title: 'Your plan is the game map', | |
| subtitle: 'No endless lists. The board shows where you are, what you get for the next step and what is still ahead.', | |
| features: [ | |
| { icon: 'Target', title: 'A quest line, not a list', text: 'Every step is a quest card: status, progress, tags, people. Connect cards and the whole route to your goal is visible at once.' }, | |
| { icon: 'Sparkles', title: 'XP and levels', text: 'Each quest is worth XP (10, 25, 50, 100 or your own number). Finishing quests fills the board level, with a small celebration every time.' }, | |
| { icon: 'Gift', title: 'Rewards you set', text: 'Attach a real reward to a quest — a pizza night, a day off, a new game. You write it, or the board leader does for the team. It unlocks when the quest is done.' }, | |
| { icon: 'Footprints', title: 'Always the next quest', text: 'Finish a quest and the board highlights what is next on the path. If/then forks send you down the branch you chose.' }, | |
| { icon: 'Layers', title: 'Groups like Blueprint functions', text: 'Collapse a whole area into one group card, open it with a double click, see entry and exit links. The structure panel on the left works like a file explorer.' }, | |
| { icon: 'Network', title: 'Web or flow auto-layout', text: 'One click (Shift+L) arranges the board as a compact web around the main goal or as a top-down flow. Pictures and notes stay next to their quests.' }, | |
| { icon: 'Archive', title: 'Hide done, keep the trophies', text: 'Switch on "Hide done" and finished quests fade away. The archive keeps them by day, with the XP and rewards you earned.' }, | |
| { icon: 'Users', title: 'Co-op with a leader', text: 'Invite people by email with view or edit access. The leader sets quests and rewards, everyone sees changes and cursors live.' }, | |
| ], | |
| }, | |
| how: { | |
| kicker: 'How it plays', | |
| title: 'From goal to reward in three moves', | |
| steps: [ | |
| { title: 'Pick a quest line', text: 'Start from one of six starters (project, decision, launch, learning, sprint, job search), a blank board, or your own saved template.' }, | |
| { title: 'Add quests, forks and rewards', text: 'Put quests on the map, connect them, add a fork where the plan can split, set XP and a reward. Group big areas so the screen stays clean.' }, | |
| { title: 'Play it', text: 'Tick quests off, collect XP and rewards, follow the highlighted next quest. Finished ones go to the archive.' }, | |
| ], | |
| }, | |
| templates: { | |
| kicker: 'Templates', | |
| title: 'Start with a ready quest line', | |
| subtitle: 'Built-in starters are laid out automatically. Save any board — or just a selection — as your own template and drop it into other boards.', | |
| }, | |
| pricing: { | |
| kicker: 'Pricing', | |
| title: 'Two plans. No fine print.', | |
| perMonth: '/ month', | |
| free: { | |
| name: 'Free', | |
| desc: 'For your own quest lines.', | |
| features: [ | |
| `Up to ${FREE_LIMITS.boards} boards`, | |
| `Up to ${FREE_LIMITS.nodesPerBoard} nodes per board`, | |
| `Up to ${FREE_LIMITS.guestsPerBoard} guests per board`, | |
| `${FREE_LIMITS.templates} saved templates`, | |
| 'XP, rewards, groups, auto-layout, export', | |
| ], | |
| cta: 'Start free', | |
| }, | |
| plus: { | |
| name: 'Plus', | |
| desc: 'For big campaigns and teams.', | |
| features: ['Unlimited boards', 'Unlimited nodes', 'Unlimited collaborators', 'Unlimited saved templates', 'Everything in Free'], | |
| cta: 'Get Plus', | |
| badge: 'No limits', | |
| }, | |
| price: PLUS_PRICE_USD, | |
| paymentsNote: 'Online payment for Plus is being connected right now.', | |
| }, | |
| roadmap: { | |
| kicker: 'In the works', | |
| title: 'What we are building next', | |
| subtitle: 'Not available yet — we would rather say so than pretend.', | |
| items: [ | |
| { icon: 'Repeat', title: 'A separate space for habits', text: 'Daily quests and streaks are moving out of the goal board into their own place with a calendar.' }, | |
| { icon: 'TerminalSquare', title: 'Terminal agents', text: 'Connect your own AI agents from the terminal to read and update your boards.' }, | |
| { icon: 'CreditCard', title: 'Online payment for Plus', text: 'Card payment for the Plus plan.' }, | |
| ], | |
| }, | |
| cta: { | |
| title: 'Start your quest line', | |
| subtitle: 'It takes a minute. Free plan, no card.', | |
| button: 'Start free', | |
| }, | |
| }; | |
| const uk = { | |
| nav: { product: 'Продукт', how: 'Як це працює', templates: 'Шаблони', pricing: 'Ціни', login: 'Увійти', start: 'Почати безкоштовно', workspace: 'Відкрити простір' }, | |
| hero: { | |
| badge: 'Гейміфікація життя чи проєкту', | |
| title1: 'Перетвори плани', | |
| title2: 'на квестову лінію.', | |
| subtitle: 'TaskFlow — квестова дошка: ваші цілі стають квестами на одній нескінченній карті. Кожен квест дає XP і нагороду, яку ви обираєте самі. Виконали один — дошка підсвітить наступний.', | |
| ctaPrimary: 'Почати квест', | |
| ctaSecondary: 'Як у це грати', | |
| note: `Тариф Free: ${FREE_LIMITS.boards} дошок, без картки.`, | |
| }, | |
| demo: { | |
| goal: 'Запустити сайт', | |
| design: 'Дизайн', | |
| copy: 'Написати тексти', | |
| check: 'Готово до перевірки?', | |
| yes: 'Так', | |
| no: 'Ні', | |
| publish: 'Опублікувати', | |
| fix: 'Виправити зауваження', | |
| sticker: 'Попросити в Анни логотип', | |
| autoLayout: 'Авто-розкладка', | |
| nextStep: 'Наступний квест', | |
| reward: 'Вечір піци', | |
| level: 'Рівень', | |
| }, | |
| facts: ['Квести та XP', 'Нагороди, які обираєте ви', 'Розвилки «якщо/то»', 'Групи як функції в Blueprints', 'Авто-розкладка «павутиною»', 'Спільні дошки', 'Українська та англійська'], | |
| product: { | |
| kicker: 'Як влаштована гра', | |
| title: 'Ваш план — це ігрова карта', | |
| subtitle: 'Жодних нескінченних списків. Дошка показує, де ви зараз, що отримаєте за наступний крок і що ще попереду.', | |
| features: [ | |
| { icon: 'Target', title: 'Квестова лінія, а не список', text: 'Кожен крок — картка квесту: статус, прогрес, теги, люди. З’єднуйте картки — і весь шлях до цілі видно одразу.' }, | |
| { icon: 'Sparkles', title: 'XP і рівні', text: 'Кожен квест коштує XP (10, 25, 50, 100 або своє число). Виконані квести наповнюють рівень дошки — і щоразу маленьке свято.' }, | |
| { icon: 'Gift', title: 'Нагороди, які ви задаєте', text: 'Прикріпіть до квесту реальну нагороду — вечір піци, вихідний, нову гру. Пишете її ви або лідер дошки для команди. Вона відкривається, коли квест виконано.' }, | |
| { icon: 'Footprints', title: 'Завжди видно наступний квест', text: 'Виконали квест — дошка підсвічує наступний на шляху. Розвилки «якщо/то» ведуть гілкою, яку ви обрали.' }, | |
| { icon: 'Layers', title: 'Групи як функції в Blueprints', text: 'Згорніть цілу область в одну картку групи, відкрийте її подвійним кліком, бачте входи й виходи. Панель структури зліва працює як провідник.' }, | |
| { icon: 'Network', title: 'Авто-розкладка «павутиною» або потоком', text: 'Один клік (Shift+L) розкладає дошку компактною павутиною навколо головної цілі або потоком згори донизу. Картинки й нотатки лишаються біля своїх квестів.' }, | |
| { icon: 'Archive', title: 'Ховайте виконане, зберігайте трофеї', text: 'Увімкніть «Сховати виконані» — і завершені квести плавно зникнуть. Архів зберігає їх по днях разом із заробленими XP та нагородами.' }, | |
| { icon: 'Users', title: 'Кооператив з лідером', text: 'Запрошуйте людей за email з правом перегляду чи редагування. Лідер задає квести й нагороди, усі бачать зміни та курсори наживо.' }, | |
| ], | |
| }, | |
| how: { | |
| kicker: 'Як грати', | |
| title: 'Від цілі до нагороди за три кроки', | |
| steps: [ | |
| { title: 'Оберіть квестову лінію', text: 'Почніть з одного з шести стартових шаблонів (проєкт, рішення, запуск, навчання, спринт, пошук роботи), з порожньої дошки або зі свого шаблону.' }, | |
| { title: 'Додайте квести, розвилки й нагороди', text: 'Розставте квести на карті, з’єднайте їх, додайте розвилку там, де план може розійтися, задайте XP і нагороду. Великі області згортайте в групи, щоб екран лишався чистим.' }, | |
| { title: 'Грайте', text: 'Відмічайте квести, збирайте XP і нагороди, йдіть за підсвіченим наступним квестом. Виконані потрапляють в архів.' }, | |
| ], | |
| }, | |
| templates: { | |
| kicker: 'Шаблони', | |
| title: 'Почніть з готової квестової лінії', | |
| subtitle: 'Вбудовані шаблони розкладаються автоматично. Збережіть будь-яку дошку чи виділений фрагмент як свій шаблон і вставляйте його в інші дошки.', | |
| }, | |
| pricing: { | |
| kicker: 'Ціни', | |
| title: 'Два тарифи. Без дрібного шрифту.', | |
| perMonth: '/ міс', | |
| free: { | |
| name: 'Free', | |
| desc: 'Для власних квестових ліній.', | |
| features: [ | |
| `До ${FREE_LIMITS.boards} дошок`, | |
| `До ${FREE_LIMITS.nodesPerBoard} вузлів на дошці`, | |
| `До ${FREE_LIMITS.guestsPerBoard} гостей на дошці`, | |
| `${FREE_LIMITS.templates} збережені шаблони`, | |
| 'XP, нагороди, групи, авто-розкладка, експорт', | |
| ], | |
| cta: 'Почати безкоштовно', | |
| }, | |
| plus: { | |
| name: 'Plus', | |
| desc: 'Для великих кампаній і команд.', | |
| features: ['Безліміт дошок', 'Безліміт вузлів', 'Безліміт учасників', 'Безліміт шаблонів', 'Усе з Free'], | |
| cta: 'Отримати Plus', | |
| badge: 'Без лімітів', | |
| }, | |
| price: PLUS_PRICE_USD, | |
| paymentsNote: 'Онлайн-оплату Plus зараз підключаємо.', | |
| }, | |
| roadmap: { | |
| kicker: 'У розробці', | |
| title: 'Що ми робимо далі', | |
| subtitle: 'Цього ще немає — краще сказати чесно.', | |
| items: [ | |
| { icon: 'Repeat', title: 'Окремий простір для звичок', text: 'Щоденні квести й серії переїжджають з дошки цілей у власний розділ із календарем.' }, | |
| { icon: 'TerminalSquare', title: 'Термінальні агенти', text: 'Підключайте власних ШІ-агентів з терміналу, щоб вони читали й оновлювали ваші дошки.' }, | |
| { icon: 'CreditCard', title: 'Онлайн-оплата Plus', text: 'Оплата тарифу Plus карткою.' }, | |
| ], | |
| }, | |
| cta: { | |
| title: 'Почніть свою квестову лінію', | |
| subtitle: 'Це хвилина. Тариф Free, без картки.', | |
| button: 'Почати безкоштовно', | |
| }, | |
| }; | |
| export const getLandingCopy = (lang) => (lang?.startsWith('uk') ? uk : en); | |