Files
Randify.pro/src/content/generators/cards.json
T
emil f1ba82735b refactor: i18n routing, shared GeneratorLayout, analytics component, content collections
- Add Astro native i18n routing (prefixDefaultLocale: false)
- Introduce GeneratorLayout to deduplicate all generator pages
- Enrich generator data with pageTitle, ruPageTitle, howTo/whenTo arrays
- Make EN and RU generator pages identical using @/ path aliases
- Extract analytics (Yandex Metrika + Top.Mail.Ru) into Analytics.astro
- Move tracker IDs to src/data/config.ts, inject via define:vars
- Migrate generator metadata to Content Collections (src/content/generators/*.json)
- Add Zod schema with .strict() validation in src/lib/generator-schema.ts
- Update CLAUDE.md with new conventions
2026-05-10 20:42:05 +03:00

39 lines
2.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"slug": "cards",
"title": "Card",
"description": "Draw a random playing card from a standard deck.",
"icon": "square-stack",
"status": "live",
"seoTitle": "Random Card Generator — Draw from a Deck | Randify",
"seoDescription": "Draw random playing cards from a standard 52-card deck. Pick any number of cards, with or without replacement. Free online card picker.",
"ruTitle": "Карта",
"ruDescription": "Вытащите случайную карту из стандартной колоды.",
"ruSeoTitle": "Генератор случайных карт | Randify",
"ruSeoDescription": "Тяните случайные карты из колоды 52 карт. С повторениями или без. Бесплатный онлайн-генератор карт.",
"pageTitle": "Card Generator",
"ruPageTitle": "Генератор карт",
"howTo": [
"Set how many cards to draw (1–52).",
"Toggle Allow duplicates if you want cards to repeat.",
"Click Draw — cards are shown as mini card tiles.",
"Click Copy to copy the result (e.g. A♠, K♥) to your clipboard."
],
"whenTo": [
"Drawing a random hand for card games.",
"Practising card probability and statistics.",
"Simulating a random card pull for magic tricks or puzzles.",
"Running fair draws without a physical deck."
],
"ruHowTo": [
"Укажите количество карт для розыгрыша.",
"Включите «Разрешить повторения», если нужны дубли.",
"Нажмите «Тянуть» — карты появятся на экране.",
"Нажмите «Копировать», чтобы скопировать результат."
],
"ruWhenTo": [
"Случайная раздача карт для карточных игр.",
"Выбор случайных карт для гаданий.",
"Генерация случайных комбинаций карт для тестирования."
]
}