diff --git a/content/collections/tools/eye-bag-remover.json b/content/collections/tools/eye-bag-remover.json new file mode 100644 index 0000000..5daa28b --- /dev/null +++ b/content/collections/tools/eye-bag-remover.json @@ -0,0 +1,68 @@ +{ + "id": "face.eyebag.remove", + "slug": "eye-bag-remover", + "status": "published", + "category": "portrait-retouch", + "name": { + "en": "Eye Bag & Dark Circle Remover", + "hi": "आई बैग और डार्क सर्कल हटाने वाला" + }, + "summary": { + "en": "Smooth under-eye dark circles, shadows, and puffiness for an awake, refreshed look without blur.", + "hi": "थकी आंखों के नीचे के काले घेरे और सूजन को हटाएं और ताजा रूप पाएं।" + }, + "homeApp": "portrait-app", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-eye-bag-remover", + "defaultVariant": "image" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload face photo", "hi": "चेहरे की फोटो अपलोड करें" }, + "desc": { "en": "Pick a clear portrait showing under-eye areas.", "hi": "आंखों के नीचे का क्षेत्र दिखाने वाली तस्वीर चुनें।" } + }, + { + "title": { "en": "Neural puffiness fix", "hi": "सूजन सुधार" }, + "desc": { "en": "Balances melanin shadows while preserving natural skin pores.", "hi": "प्राकृतिक त्वचा के छिद्रों को सुरक्षित रखते हुए छाया संतुलित करता है।" } + }, + { + "title": { "en": "Download photo", "hi": "फोटो डाउनलोड करें" }, + "desc": { "en": "Save instant result or export 4K in Portrait Studio AI.", "hi": "तुरंत परिणाम सहेजें या 4K में निर्यात करें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80", + "caption": "Natural dark circle softening with intact micro-skin texture" + } + ], + "faqs": [ + { + "q": "Will this make my eyes look airbrushed or fake?", + "a": "No, our model selectively brightens melanin hyperpigmentation and softens puffiness shadows without wiping away natural facial contours or skin micro-textures." + } + ] + }, + "related": ["face.blemish.remove", "face.eyeredness.remove", "face.teeth.whitener"], + "seo": { + "title": "Remove Eye Bags & Dark Circles Free Online | CRE Innovations", + "description": "Gentle under-eye dark circle and puffiness reduction free online. Refresh tired eyes with natural skin texture preservation." + } +} diff --git a/content/collections/tools/eye-redness-remover.json b/content/collections/tools/eye-redness-remover.json new file mode 100644 index 0000000..ef49775 --- /dev/null +++ b/content/collections/tools/eye-redness-remover.json @@ -0,0 +1,68 @@ +{ + "id": "face.eyeredness.remove", + "slug": "eye-redness-remover", + "status": "published", + "category": "portrait-retouch", + "name": { + "en": "AI Eye Redness & Flash Corrector", + "hi": "आंखों का लालपन और फ्लैश हटाने वाला" + }, + "summary": { + "en": "Instantly fix red-eye from camera flash and restore natural dark iris clarity and bright sclera.", + "hi": "कैमरा फ्लैश से आंखों के लालपन को हटाएं और प्राकृतिक आंखों की चमक वापस लाएं।" + }, + "homeApp": "portrait-app", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "ml-eye-redness-remover", + "defaultVariant": "image" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload portrait", "hi": "पोर्ट्रेट अपलोड करें" }, + "desc": { "en": "Select any portrait or selfie with red-eye flash reflection.", "hi": "लाल आंखों वाली कोई भी तस्वीर अपलोड करें।" } + }, + { + "title": { "en": "AI eye correction", "hi": "एआई आंख सुधार" }, + "desc": { "en": "Neural iris segmentation restores authentic eye pigmentation.", "hi": "एआई प्राकृतिक आंखों का रंग पुनर्स्थापित करता है।" } + }, + { + "title": { "en": "Download HD result", "hi": "एचडी परिणाम डाउनलोड करें" }, + "desc": { "en": "Save clean photo or open in Portrait Studio AI.", "hi": "तस्वीर सहेजें या पोर्ट्रेट स्टूडियो में खोलें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80", + "caption": "Red-eye flash reflection removal with vibrant iris definition" + } + ], + "faqs": [ + { + "q": "How does AI detect red-eye reflections?", + "a": "Our pupil-detection network locates the corneal reflection zone and neutralizes flash glare while preserving natural iris rings and pupil depth." + } + ] + }, + "related": ["face.blemish.remove", "face.eyebag.remove", "face.teeth.whitener"], + "seo": { + "title": "Free Online AI Eye Redness & Flash Corrector | CRE Innovations", + "description": "Fix red-eye reflection and flash glare in portrait photos free online. Neural pupil correction with natural eye pigmentation." + } +} diff --git a/content/collections/tools/object-eraser.json b/content/collections/tools/object-eraser.json new file mode 100644 index 0000000..adb4166 --- /dev/null +++ b/content/collections/tools/object-eraser.json @@ -0,0 +1,68 @@ +{ + "id": "cutout.lama.erase", + "slug": "object-eraser", + "status": "published", + "category": "background-cutout", + "name": { + "en": "LaMa AI Object Eraser", + "hi": "लामा एआई ऑब्जेक्ट इरेज़र" + }, + "summary": { + "en": "Erase unwanted photobombers, objects, text, and tourists with context-aware smart inpainting.", + "hi": "स्मार्ट इनपेंटिंग के साथ अवांछित वस्तुओं, लोगों और टेक्स्ट को मिटाएं।" + }, + "homeApp": "bg-cleaner-app", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-lama-cleaner", + "defaultVariant": "image" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload image", "hi": "छवि अपलोड करें" }, + "desc": { "en": "Select any photo with unwanted objects or photobombers.", "hi": "अवांछित वस्तुओं वाली तस्वीर चुनें।" } + }, + { + "title": { "en": "Brush to erase", "hi": "मिटाने के लिए ब्रश करें" }, + "desc": { "en": "AI inpainting predicts and reconstructs hidden background textures.", "hi": "एआई पृष्ठभूमि को निर्बाध रूप से पुनर्निर्मित करता है।" } + }, + { + "title": { "en": "Download clean photo", "hi": "साफ फोटो डाउनलोड करें" }, + "desc": { "en": "Download clean photo or open in Magic Cutout Studio.", "hi": "साफ तस्वीर डाउनलोड करें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=800&auto=format&fit=crop&q=80", + "caption": "Context-aware object erasing with natural texture reconstruction" + } + ], + "faqs": [ + { + "q": "How does LaMa inpainting work?", + "a": "LaMa uses Large Mask Inpainting Fourier convolutions to understand scene context and seamlessly synthesize missing patterns, horizons, and textures." + } + ] + }, + "related": ["cutout.p3m.bg", "restore.enhancer"], + "seo": { + "title": "Free AI Object Eraser Online (LaMa Inpainting) | CRE Innovations", + "description": "Erase photobombers, tourists, power lines, and unwanted objects from photos free online with LaMa neural inpainting." + } +} diff --git a/content/collections/tools/portrait-glow.json b/content/collections/tools/portrait-glow.json new file mode 100644 index 0000000..4b24114 --- /dev/null +++ b/content/collections/tools/portrait-glow.json @@ -0,0 +1,68 @@ +{ + "id": "face.glow.portrait", + "slug": "portrait-glow", + "status": "published", + "category": "portrait-retouch", + "name": { + "en": "AI Studio Glow & Skin Illuminator", + "hi": "एआई स्टूडियो ग्लो और त्वचा प्रदीपक" + }, + "summary": { + "en": "Generates natural golden hour studio radiance, warm highlights, and epidermal luminescence.", + "hi": "प्राकृतिक गोल्डन ऑवर स्टूडियो चमक और उज्ज्वल त्वचा का उत्पादन करें।" + }, + "homeApp": "portrait-app", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-glow-portrait-ai", + "defaultVariant": "image" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload portrait", "hi": "पोर्ट्रेट अपलोड करें" }, + "desc": { "en": "Select any selfie or studio photo.", "hi": "कोई भी सेल्फी या पोर्ट्रेट चुनें।" } + }, + { + "title": { "en": "Neural studio lighting", "hi": "न्यूरल स्टूडियो लाइटिंग" }, + "desc": { "en": "Calculates depth and applies soft golden hour luminescence.", "hi": "सॉफ्ट गोल्डन ऑवर रोशनी लागू करता है।" } + }, + { + "title": { "en": "Download radiant portrait", "hi": "चमकदार पोर्ट्रेट डाउनलोड करें" }, + "desc": { "en": "Save your glowing portrait or export in 4K.", "hi": "अपनी चमकती तस्वीर डाउनलोड करें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80", + "caption": "Warm studio skin glow with three-dimensional facial contouring" + } + ], + "faqs": [ + { + "q": "Does this alter my facial structure?", + "a": "No, AI Studio Glow computes 3D surface normals to simulate physical studio rim and key lights without distorting facial anatomy." + } + ] + }, + "related": ["face.blemish.remove", "face.teeth.whitener", "face.eyebag.remove"], + "seo": { + "title": "AI Studio Glow & Skin Illuminator Free Online | CRE Innovations", + "description": "Simulate warm golden hour studio lighting and radiant skin glow free online. Neural 3D portrait illumination." + } +} diff --git a/management/pages/home/sections/our-tools/eye-bag-remover/after.jpg b/management/pages/home/sections/our-tools/eye-bag-remover/after.jpg new file mode 100644 index 0000000..cdad045 Binary files /dev/null and b/management/pages/home/sections/our-tools/eye-bag-remover/after.jpg differ diff --git a/management/pages/home/sections/our-tools/eye-bag-remover/before.jpg b/management/pages/home/sections/our-tools/eye-bag-remover/before.jpg new file mode 100644 index 0000000..ddc8d65 Binary files /dev/null and b/management/pages/home/sections/our-tools/eye-bag-remover/before.jpg differ diff --git a/management/pages/home/sections/our-tools/eye-redness-remover/after.jpg b/management/pages/home/sections/our-tools/eye-redness-remover/after.jpg new file mode 100644 index 0000000..3a8ba42 Binary files /dev/null and b/management/pages/home/sections/our-tools/eye-redness-remover/after.jpg differ diff --git a/management/pages/home/sections/our-tools/eye-redness-remover/before.jpg b/management/pages/home/sections/our-tools/eye-redness-remover/before.jpg new file mode 100644 index 0000000..135a1b1 Binary files /dev/null and b/management/pages/home/sections/our-tools/eye-redness-remover/before.jpg differ diff --git a/management/pages/home/sections/our-tools/object-eraser/poster.jpg b/management/pages/home/sections/our-tools/object-eraser/poster.jpg new file mode 100644 index 0000000..5d5f9cb Binary files /dev/null and b/management/pages/home/sections/our-tools/object-eraser/poster.jpg differ diff --git a/management/pages/home/sections/our-tools/portrait-glow/after.jpg b/management/pages/home/sections/our-tools/portrait-glow/after.jpg new file mode 100644 index 0000000..5ad6193 Binary files /dev/null and b/management/pages/home/sections/our-tools/portrait-glow/after.jpg differ diff --git a/management/pages/home/sections/our-tools/portrait-glow/before.jpg b/management/pages/home/sections/our-tools/portrait-glow/before.jpg new file mode 100644 index 0000000..f367049 Binary files /dev/null and b/management/pages/home/sections/our-tools/portrait-glow/before.jpg differ diff --git a/management/pages/tools/eye-bag-remover/tool.config.json b/management/pages/tools/eye-bag-remover/tool.config.json new file mode 100644 index 0000000..5daa28b --- /dev/null +++ b/management/pages/tools/eye-bag-remover/tool.config.json @@ -0,0 +1,68 @@ +{ + "id": "face.eyebag.remove", + "slug": "eye-bag-remover", + "status": "published", + "category": "portrait-retouch", + "name": { + "en": "Eye Bag & Dark Circle Remover", + "hi": "आई बैग और डार्क सर्कल हटाने वाला" + }, + "summary": { + "en": "Smooth under-eye dark circles, shadows, and puffiness for an awake, refreshed look without blur.", + "hi": "थकी आंखों के नीचे के काले घेरे और सूजन को हटाएं और ताजा रूप पाएं।" + }, + "homeApp": "portrait-app", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-eye-bag-remover", + "defaultVariant": "image" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload face photo", "hi": "चेहरे की फोटो अपलोड करें" }, + "desc": { "en": "Pick a clear portrait showing under-eye areas.", "hi": "आंखों के नीचे का क्षेत्र दिखाने वाली तस्वीर चुनें।" } + }, + { + "title": { "en": "Neural puffiness fix", "hi": "सूजन सुधार" }, + "desc": { "en": "Balances melanin shadows while preserving natural skin pores.", "hi": "प्राकृतिक त्वचा के छिद्रों को सुरक्षित रखते हुए छाया संतुलित करता है।" } + }, + { + "title": { "en": "Download photo", "hi": "फोटो डाउनलोड करें" }, + "desc": { "en": "Save instant result or export 4K in Portrait Studio AI.", "hi": "तुरंत परिणाम सहेजें या 4K में निर्यात करें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80", + "caption": "Natural dark circle softening with intact micro-skin texture" + } + ], + "faqs": [ + { + "q": "Will this make my eyes look airbrushed or fake?", + "a": "No, our model selectively brightens melanin hyperpigmentation and softens puffiness shadows without wiping away natural facial contours or skin micro-textures." + } + ] + }, + "related": ["face.blemish.remove", "face.eyeredness.remove", "face.teeth.whitener"], + "seo": { + "title": "Remove Eye Bags & Dark Circles Free Online | CRE Innovations", + "description": "Gentle under-eye dark circle and puffiness reduction free online. Refresh tired eyes with natural skin texture preservation." + } +} diff --git a/management/pages/tools/eye-redness-remover/tool.config.json b/management/pages/tools/eye-redness-remover/tool.config.json new file mode 100644 index 0000000..ef49775 --- /dev/null +++ b/management/pages/tools/eye-redness-remover/tool.config.json @@ -0,0 +1,68 @@ +{ + "id": "face.eyeredness.remove", + "slug": "eye-redness-remover", + "status": "published", + "category": "portrait-retouch", + "name": { + "en": "AI Eye Redness & Flash Corrector", + "hi": "आंखों का लालपन और फ्लैश हटाने वाला" + }, + "summary": { + "en": "Instantly fix red-eye from camera flash and restore natural dark iris clarity and bright sclera.", + "hi": "कैमरा फ्लैश से आंखों के लालपन को हटाएं और प्राकृतिक आंखों की चमक वापस लाएं।" + }, + "homeApp": "portrait-app", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "ml-eye-redness-remover", + "defaultVariant": "image" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload portrait", "hi": "पोर्ट्रेट अपलोड करें" }, + "desc": { "en": "Select any portrait or selfie with red-eye flash reflection.", "hi": "लाल आंखों वाली कोई भी तस्वीर अपलोड करें।" } + }, + { + "title": { "en": "AI eye correction", "hi": "एआई आंख सुधार" }, + "desc": { "en": "Neural iris segmentation restores authentic eye pigmentation.", "hi": "एआई प्राकृतिक आंखों का रंग पुनर्स्थापित करता है।" } + }, + { + "title": { "en": "Download HD result", "hi": "एचडी परिणाम डाउनलोड करें" }, + "desc": { "en": "Save clean photo or open in Portrait Studio AI.", "hi": "तस्वीर सहेजें या पोर्ट्रेट स्टूडियो में खोलें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80", + "caption": "Red-eye flash reflection removal with vibrant iris definition" + } + ], + "faqs": [ + { + "q": "How does AI detect red-eye reflections?", + "a": "Our pupil-detection network locates the corneal reflection zone and neutralizes flash glare while preserving natural iris rings and pupil depth." + } + ] + }, + "related": ["face.blemish.remove", "face.eyebag.remove", "face.teeth.whitener"], + "seo": { + "title": "Free Online AI Eye Redness & Flash Corrector | CRE Innovations", + "description": "Fix red-eye reflection and flash glare in portrait photos free online. Neural pupil correction with natural eye pigmentation." + } +} diff --git a/management/pages/tools/object-eraser/tool.config.json b/management/pages/tools/object-eraser/tool.config.json new file mode 100644 index 0000000..adb4166 --- /dev/null +++ b/management/pages/tools/object-eraser/tool.config.json @@ -0,0 +1,68 @@ +{ + "id": "cutout.lama.erase", + "slug": "object-eraser", + "status": "published", + "category": "background-cutout", + "name": { + "en": "LaMa AI Object Eraser", + "hi": "लामा एआई ऑब्जेक्ट इरेज़र" + }, + "summary": { + "en": "Erase unwanted photobombers, objects, text, and tourists with context-aware smart inpainting.", + "hi": "स्मार्ट इनपेंटिंग के साथ अवांछित वस्तुओं, लोगों और टेक्स्ट को मिटाएं।" + }, + "homeApp": "bg-cleaner-app", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-lama-cleaner", + "defaultVariant": "image" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload image", "hi": "छवि अपलोड करें" }, + "desc": { "en": "Select any photo with unwanted objects or photobombers.", "hi": "अवांछित वस्तुओं वाली तस्वीर चुनें।" } + }, + { + "title": { "en": "Brush to erase", "hi": "मिटाने के लिए ब्रश करें" }, + "desc": { "en": "AI inpainting predicts and reconstructs hidden background textures.", "hi": "एआई पृष्ठभूमि को निर्बाध रूप से पुनर्निर्मित करता है।" } + }, + { + "title": { "en": "Download clean photo", "hi": "साफ फोटो डाउनलोड करें" }, + "desc": { "en": "Download clean photo or open in Magic Cutout Studio.", "hi": "साफ तस्वीर डाउनलोड करें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=800&auto=format&fit=crop&q=80", + "caption": "Context-aware object erasing with natural texture reconstruction" + } + ], + "faqs": [ + { + "q": "How does LaMa inpainting work?", + "a": "LaMa uses Large Mask Inpainting Fourier convolutions to understand scene context and seamlessly synthesize missing patterns, horizons, and textures." + } + ] + }, + "related": ["cutout.p3m.bg", "restore.enhancer"], + "seo": { + "title": "Free AI Object Eraser Online (LaMa Inpainting) | CRE Innovations", + "description": "Erase photobombers, tourists, power lines, and unwanted objects from photos free online with LaMa neural inpainting." + } +} diff --git a/management/pages/tools/portrait-glow/tool.config.json b/management/pages/tools/portrait-glow/tool.config.json new file mode 100644 index 0000000..4b24114 --- /dev/null +++ b/management/pages/tools/portrait-glow/tool.config.json @@ -0,0 +1,68 @@ +{ + "id": "face.glow.portrait", + "slug": "portrait-glow", + "status": "published", + "category": "portrait-retouch", + "name": { + "en": "AI Studio Glow & Skin Illuminator", + "hi": "एआई स्टूडियो ग्लो और त्वचा प्रदीपक" + }, + "summary": { + "en": "Generates natural golden hour studio radiance, warm highlights, and epidermal luminescence.", + "hi": "प्राकृतिक गोल्डन ऑवर स्टूडियो चमक और उज्ज्वल त्वचा का उत्पादन करें।" + }, + "homeApp": "portrait-app", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-glow-portrait-ai", + "defaultVariant": "image" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload portrait", "hi": "पोर्ट्रेट अपलोड करें" }, + "desc": { "en": "Select any selfie or studio photo.", "hi": "कोई भी सेल्फी या पोर्ट्रेट चुनें।" } + }, + { + "title": { "en": "Neural studio lighting", "hi": "न्यूरल स्टूडियो लाइटिंग" }, + "desc": { "en": "Calculates depth and applies soft golden hour luminescence.", "hi": "सॉफ्ट गोल्डन ऑवर रोशनी लागू करता है।" } + }, + { + "title": { "en": "Download radiant portrait", "hi": "चमकदार पोर्ट्रेट डाउनलोड करें" }, + "desc": { "en": "Save your glowing portrait or export in 4K.", "hi": "अपनी चमकती तस्वीर डाउनलोड करें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80", + "caption": "Warm studio skin glow with three-dimensional facial contouring" + } + ], + "faqs": [ + { + "q": "Does this alter my facial structure?", + "a": "No, AI Studio Glow computes 3D surface normals to simulate physical studio rim and key lights without distorting facial anatomy." + } + ] + }, + "related": ["face.blemish.remove", "face.teeth.whitener", "face.eyebag.remove"], + "seo": { + "title": "AI Studio Glow & Skin Illuminator Free Online | CRE Innovations", + "description": "Simulate warm golden hour studio lighting and radiant skin glow free online. Neural 3D portrait illumination." + } +} diff --git a/src/components/sections/ToolGridSection.tsx b/src/components/sections/ToolGridSection.tsx index 3f2716f..b082b41 100644 --- a/src/components/sections/ToolGridSection.tsx +++ b/src/components/sections/ToolGridSection.tsx @@ -1,6 +1,6 @@ 'use client'; -import React, { useState, useMemo, useRef, useEffect } from 'react'; +import React, { useState, useMemo, useRef } from 'react'; import Link from 'next/link'; import { Search, @@ -13,6 +13,7 @@ import { ChevronLeft, ChevronRight, X, + Layers, } from 'lucide-react'; import { ToolItem, CategoryItem, AppItem, resolveLocalised } from '@/types'; @@ -33,62 +34,75 @@ type ToolMediaConfig = | { type: 'comparison'; before: string; after: string } | { type: 'single'; image: string; badge: string }; -// Media resolver for tool cards +// Comprehensive media resolver for all tools function getToolMedia(tool: ToolItem): ToolMediaConfig { const example = tool.content?.examples?.[0]; - // Specific bespoke high-res local media - if (tool.slug === 'background-remover') { - return { - type: 'single', - image: '/management/pages/home/sections/our-tools/background-remover/poster.jpg', - badge: 'Alpha Matting', - }; - } - - if (tool.slug === 'polaroid-maker') { - return { - type: 'single', - image: '/management/pages/home/sections/our-tools/polaroid-maker/image.jpg', - badge: 'Vintage Polaroid', - }; - } - - const localDefaults: Record = { + const localDefaults: Record = { 'blemish-remover': { + type: 'comparison', before: '/management/pages/home/sections/our-tools/blemish-remover/before.jpg', after: '/management/pages/home/sections/our-tools/blemish-remover/after.jpg', }, 'teeth-whitener': { + type: 'comparison', before: '/management/pages/home/sections/our-tools/teeth-whitener/before.jpg', after: '/management/pages/home/sections/our-tools/teeth-whitener/after.jpg', }, + 'eye-redness-remover': { + type: 'comparison', + before: '/management/pages/home/sections/our-tools/eye-redness-remover/before.jpg', + after: '/management/pages/home/sections/our-tools/eye-redness-remover/after.jpg', + }, + 'eye-bag-remover': { + type: 'comparison', + before: '/management/pages/home/sections/our-tools/eye-bag-remover/before.jpg', + after: '/management/pages/home/sections/our-tools/eye-bag-remover/after.jpg', + }, + 'portrait-glow': { + type: 'comparison', + before: '/management/pages/home/sections/our-tools/portrait-glow/before.jpg', + after: '/management/pages/home/sections/our-tools/portrait-glow/after.jpg', + }, 'photo-enhancer': { + type: 'comparison', before: '/management/pages/home/sections/our-tools/photo-enhancer/before.jpg', after: '/management/pages/home/sections/our-tools/photo-enhancer/after.jpg', }, 'old-photo-restorer': { + type: 'comparison', before: '/management/pages/home/sections/our-tools/old-photo-restorer/before.jpg', after: '/management/pages/home/sections/our-tools/old-photo-restorer/after.jpg', }, 'colorization': { + type: 'comparison', before: '/management/pages/home/sections/our-tools/colorization/before.jpg', after: '/management/pages/home/sections/our-tools/colorization/after.jpg', }, 'cartoon-avatar': { + type: 'comparison', before: '/management/pages/home/sections/our-tools/cartoon-avatar/before.jpg', after: '/management/pages/home/sections/our-tools/cartoon-avatar/after.jpg', }, + 'object-eraser': { + type: 'comparison', + before: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&auto=format&fit=crop&q=80', + after: 'https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=800&auto=format&fit=crop&q=80', + }, + 'background-remover': { + type: 'single', + image: '/management/pages/home/sections/our-tools/background-remover/poster.jpg', + badge: 'Alpha Matting', + }, + 'polaroid-maker': { + type: 'single', + image: '/management/pages/home/sections/our-tools/polaroid-maker/image.jpg', + badge: 'Vintage Polaroid', + }, }; const matched = localDefaults[tool.slug]; - if (matched) { - return { - type: 'comparison', - before: matched.before, - after: matched.after, - }; - } + if (matched) return matched; if (example && example.before && example.after) { return { @@ -285,7 +299,7 @@ export function ToolGridSection({ const [searchQuery, setSearchQuery] = useState(''); const railRef = useRef(null); - // Group tools by category + // Group all tools by category const categorizedTools = useMemo(() => { const orderedCategoryIds = [ 'portrait-retouch', @@ -321,6 +335,14 @@ export function ToolGridSection({ }); }, [tools, searchQuery, locale]); + // Categories to display based on selectedCategory + const displayedCategories = useMemo(() => { + if (selectedCategory === 'all') { + return categorizedTools; + } + return categorizedTools.filter((group) => group.id === selectedCategory); + }, [categorizedTools, selectedCategory]); + // Smooth scroll rail for categories const scrollRail = (direction: 'left' | 'right') => { if (railRef.current) { @@ -331,57 +353,30 @@ export function ToolGridSection({ } }; - // Scroll to category section - const handleCategoryClick = (catId: string) => { + // Fluid category tab selection with smooth pill centering + const handleCategoryClick = ( + catId: string, + e?: React.MouseEvent + ) => { setSelectedCategory(catId); if (searchQuery) setSearchQuery(''); - if (catId === 'all') { - const el = document.getElementById('tools-catalog'); - if (el) { - el.scrollIntoView({ behavior: 'smooth', block: 'start' }); - } - } else { - const el = document.getElementById(`category-${catId}`); - if (el) { - el.scrollIntoView({ behavior: 'smooth', block: 'start' }); - } + // Smoothly center the clicked pill in the scrolling rail + if (e?.currentTarget) { + e.currentTarget.scrollIntoView({ + behavior: 'smooth', + inline: 'center', + block: 'nearest', + }); } }; - // Active category observer as user scrolls - useEffect(() => { - if (searchQuery) return; - - const observer = new IntersectionObserver( - (entries) => { - entries.forEach((entry) => { - if (entry.isIntersecting) { - const id = entry.target.id.replace('category-', ''); - setSelectedCategory(id); - } - }); - }, - { - rootMargin: '-30% 0px -60% 0px', - threshold: 0, - } - ); - - categorizedTools.forEach((group) => { - const el = document.getElementById(`category-${group.id}`); - if (el) observer.observe(el); - }); - - return () => observer.disconnect(); - }, [categorizedTools, searchQuery]); - return ( -
+
{/* Section Heading */} {(title || subtitle) && ( -
+
{title && (

{resolveLocalised(title, locale)} @@ -395,18 +390,18 @@ export function ToolGridSection({

)} - {/* Sticky Horizontal Scrolling Category Bar & Search */} + {/* Sticky Fluid Horizontal Scrolling Category Bar & Search */} {(showCategoryFilter || showSearch) && ( -
+
- {/* Category Rail with Smooth Scrolling */} + {/* Category Rail with Fluid Scrolling */} {showCategoryFilter && (
{/* Left Scroll Arrow */} @@ -419,13 +414,14 @@ export function ToolGridSection({ > {/* All Categories Pill */} @@ -500,7 +496,7 @@ export function ToolGridSection({ {searchQuery && ( @@ -523,7 +519,7 @@ export function ToolGridSection({ @@ -542,11 +538,11 @@ export function ToolGridSection({

Try searching for "blemish", "restoration", - "background", or "avatar". + "cutout", or "avatar".

@@ -554,9 +550,24 @@ export function ToolGridSection({ )}
) : ( - /* Categorized Tools Sections */ -
- {categorizedTools.map((group) => { + /* Categorized Tools Sections (Fluid, All 12 Tools Included) */ +
+ {/* Quick reset button if filtered to single category */} + {selectedCategory !== 'all' && ( +
+ + + Filtered Category + +
+ )} + + {displayedCategories.map((group) => { const theme = CATEGORY_THEMES[group.id]; const catName = group.category ? resolveLocalised(group.category.name, locale) @@ -569,7 +580,7 @@ export function ToolGridSection({
{/* Category Header */}
diff --git a/src/lib/config/loader.ts b/src/lib/config/loader.ts index 61bc54b..43afba1 100644 --- a/src/lib/config/loader.ts +++ b/src/lib/config/loader.ts @@ -51,32 +51,8 @@ export function getPageConfig(slug: string): PageConfig | null { export function getAllTools(): ToolItem[] { toolsCache.clear(); - // 1. Prioritize management/pages/tools/[slug]/tool.config.json - const mgmtToolsDir = path.join(MANAGEMENT_DIR, 'pages', 'tools'); - if (fs.existsSync(mgmtToolsDir)) { - const slugs = fs.readdirSync(mgmtToolsDir); - const tools: ToolItem[] = []; - for (const slug of slugs) { - const configPath = path.join(mgmtToolsDir, slug, 'tool.config.json'); - if (fs.existsSync(configPath)) { - const tool = readJsonFile(configPath); - if (tool && tool.status === 'published') { - // Normalize media paths so before/after point to live management media - if (tool.media?.before && tool.content?.examples?.[0]) { - tool.content.examples[0].before = tool.media.before; - } - if (tool.media?.after && tool.content?.examples?.[0]) { - tool.content.examples[0].after = tool.media.after; - } - tools.push(tool); - toolsCache.set(tool.slug, tool); - } - } - } - if (tools.length > 0) return tools; - } - // 2. Fallback to content/collections/tools + // 1. Load baseline from content/collections/tools const toolsDir = path.join(CONTENT_DIR, 'collections', 'tools'); if (fs.existsSync(toolsDir)) { const files = fs.readdirSync(toolsDir).filter((f) => f.endsWith('.json')); @@ -87,6 +63,29 @@ export function getAllTools(): ToolItem[] { } } } + + // 2. Layer management/pages/tools/[slug]/tool.config.json on top + const mgmtToolsDir = path.join(MANAGEMENT_DIR, 'pages', 'tools'); + if (fs.existsSync(mgmtToolsDir)) { + const slugs = fs.readdirSync(mgmtToolsDir); + for (const slug of slugs) { + const configPath = path.join(mgmtToolsDir, slug, 'tool.config.json'); + if (fs.existsSync(configPath)) { + const mgmtTool = readJsonFile(configPath); + if (mgmtTool && mgmtTool.status === 'published') { + // Normalize media paths so before/after point to live management media + if (mgmtTool.media?.before && mgmtTool.content?.examples?.[0]) { + mgmtTool.content.examples[0].before = mgmtTool.media.before; + } + if (mgmtTool.media?.after && mgmtTool.content?.examples?.[0]) { + mgmtTool.content.examples[0].after = mgmtTool.media.after; + } + toolsCache.set(mgmtTool.slug, mgmtTool); + } + } + } + } + return Array.from(toolsCache.values()); }