feat: complete dynamic JSON-driven photo tools frontend connected to FastAPI backend

This commit is contained in:
2026-11-03 12:24:43 +05:30
commit fa2eca3643
91 changed files with 11372 additions and 0 deletions
+96
View File
@@ -0,0 +1,96 @@
{
"id": "tool-template",
"sections": [
{
"id": "tool-hero",
"type": "hero",
"variant": "toolHero",
"props": {
"title": "{{tool.name}}",
"subtitle": "{{tool.summary}}",
"breadcrumbs": true
}
},
{
"id": "tool-tryit",
"type": "tryItWidget",
"props": {
"toolRef": "{{tool.id}}"
}
},
{
"id": "tool-beforeafter",
"type": "beforeAfter",
"props": {
"title": {
"en": "Real Before & After Comparisons",
"hi": "वास्तविक पहले और बाद की तुलना"
},
"items": "{{tool.content.examples}}"
}
},
{
"id": "tool-handoff",
"type": "appHandoff",
"props": {
"toolRef": "{{tool.id}}",
"appRef": "{{tool.homeApp}}"
}
},
{
"id": "tool-steps",
"type": "steps",
"props": {
"title": {
"en": "How It Works",
"hi": "यह कैसे काम करता है"
},
"items": "{{tool.content.steps}}"
}
},
{
"id": "tool-availability",
"type": "availability",
"props": {
"toolRef": "{{tool.id}}"
}
},
{
"id": "tool-faq",
"type": "faq",
"props": {
"title": {
"en": "Frequently Asked Questions",
"hi": "अक्सर पूछे जाने वाले प्रश्न"
},
"items": "{{tool.content.faqs}}"
}
},
{
"id": "tool-related",
"type": "relatedTools",
"props": {
"toolRef": "{{tool.id}}",
"limit": 4
}
},
{
"id": "tool-cta",
"type": "ctaBanner",
"props": {
"title": {
"en": "Ready for 4K Lossless Processing?",
"hi": "क्या आप 4K लॉसलेस प्रोसेसिंग के लिए तैयार हैं?"
},
"subtitle": {
"en": "Open {{tool.name}} in {{tool.homeApp.name}} on your phone.",
"hi": "अपने फोन पर {{tool.homeApp.name}} में {{tool.name}} खोलें।"
},
"primaryCta": {
"label": { "en": "Open in Mobile App", "hi": "मोबाइल ऐप में खोलें" },
"href": "/go/{{tool.slug}}/{{tool.homeApp.slug}}"
}
}
}
]
}