From 7e137d88bcb37174920fbbaa94240cbbb05cb5d8 Mon Sep 17 00:00:00 2001 From: vshnosngh Date: Tue, 3 Nov 2026 12:31:06 +0530 Subject: [PATCH] feat: rebrand to CRE Innovations, enhance ultra-smooth UI and mobile responsiveness --- README.md | 2 +- content/collections/apps/art-studio-app.json | 6 +- content/collections/apps/bg-cleaner-app.json | 6 +- .../collections/apps/photo-enhancer-pro.json | 6 +- content/collections/apps/portrait-app.json | 6 +- .../collections/tools/background-remover.json | 2 +- .../collections/tools/blemish-remover.json | 2 +- content/collections/tools/cartoon-avatar.json | 2 +- content/collections/tools/colorization.json | 2 +- .../collections/tools/old-photo-restorer.json | 2 +- content/collections/tools/photo-enhancer.json | 2 +- content/collections/tools/polaroid-maker.json | 2 +- content/collections/tools/teeth-whitener.json | 2 +- content/pages/apps.json | 2 +- content/pages/home.json | 4 +- content/pages/pricing.json | 4 +- content/pages/privacy.json | 6 +- content/pages/terms.json | 8 +- content/pages/tools.json | 2 +- content/pages/trust.json | 4 +- content/site.config.json | 6 +- src/app/apps/page.tsx | 2 +- src/app/pricing/page.tsx | 2 +- src/app/privacy/page.tsx | 2 +- src/app/terms/page.tsx | 2 +- src/app/tools/[slug]/page.tsx | 2 +- src/app/trust/page.tsx | 2 +- src/components/sections/AppCardsSection.tsx | 37 ++--- src/components/sections/AppHandoffSection.tsx | 51 +++--- src/components/sections/AppPickerSection.tsx | 96 ++++++----- src/components/sections/HeroSection.tsx | 54 ++++--- src/components/sections/ToolGridSection.tsx | 68 +++++--- src/components/sections/TryItWidget.tsx | 153 ++++++++++-------- src/components/ui/BeforeAfterSlider.tsx | 50 +++--- src/components/ui/Footer.tsx | 77 ++++----- src/components/ui/Navbar.tsx | 99 +++++++----- tests/bindings.test.ts | 2 +- 37 files changed, 434 insertions(+), 343 deletions(-) diff --git a/README.md b/README.md index a126ef8..3569032 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Ekagni PhotoAI — Dynamic, JSON-Driven Photo Tools Website +# CRE Innovations — Dynamic, JSON-Driven Photo Tools Website > Built strictly to specification from `PROJECT_REQUIREMENT_DOCUMENTATION.md` (PRD v1.1). > Dynamic React (Next.js App Router + TypeScript + Tailwind CSS) marketing and try-it engine driven by JSON content and an external, replaceable API Catalogue connected to `FastAPI_BACKEND`. diff --git a/content/collections/apps/art-studio-app.json b/content/collections/apps/art-studio-app.json index c39d7b3..95cbfed 100644 --- a/content/collections/apps/art-studio-app.json +++ b/content/collections/apps/art-studio-app.json @@ -16,8 +16,8 @@ }, "stores": { "android": { - "packageId": "com.ekagni.artstudio", - "url": "https://play.google.com/store/apps/details?id=com.ekagni.artstudio" + "packageId": "com.creinnovations.artstudio", + "url": "https://play.google.com/store/apps/details?id=com.creinnovations.artstudio" }, "ios": { "appId": "1672384913", @@ -25,7 +25,7 @@ } }, "deepLink": { - "base": "ekagniart://open", + "base": "creinnovationsart://open", "toolParam": "tool", "sourceParam": "src", "bonusParam": "promo" diff --git a/content/collections/apps/bg-cleaner-app.json b/content/collections/apps/bg-cleaner-app.json index 53184ac..314d414 100644 --- a/content/collections/apps/bg-cleaner-app.json +++ b/content/collections/apps/bg-cleaner-app.json @@ -16,8 +16,8 @@ }, "stores": { "android": { - "packageId": "com.ekagni.bgcleaner", - "url": "https://play.google.com/store/apps/details?id=com.ekagni.bgcleaner" + "packageId": "com.creinnovations.bgcleaner", + "url": "https://play.google.com/store/apps/details?id=com.creinnovations.bgcleaner" }, "ios": { "appId": "1672384912", @@ -25,7 +25,7 @@ } }, "deepLink": { - "base": "ekagnibg://open", + "base": "creinnovationsbg://open", "toolParam": "tool", "sourceParam": "src", "bonusParam": "promo" diff --git a/content/collections/apps/photo-enhancer-pro.json b/content/collections/apps/photo-enhancer-pro.json index 7894382..0074d08 100644 --- a/content/collections/apps/photo-enhancer-pro.json +++ b/content/collections/apps/photo-enhancer-pro.json @@ -16,8 +16,8 @@ }, "stores": { "android": { - "packageId": "com.ekagni.photoenhancer", - "url": "https://play.google.com/store/apps/details?id=com.ekagni.photoenhancer" + "packageId": "com.creinnovations.photoenhancer", + "url": "https://play.google.com/store/apps/details?id=com.creinnovations.photoenhancer" }, "ios": { "appId": "1672384911", @@ -25,7 +25,7 @@ } }, "deepLink": { - "base": "ekagnienhance://open", + "base": "creinnovationsenhance://open", "toolParam": "tool", "sourceParam": "src", "bonusParam": "promo" diff --git a/content/collections/apps/portrait-app.json b/content/collections/apps/portrait-app.json index e49961f..3617eb9 100644 --- a/content/collections/apps/portrait-app.json +++ b/content/collections/apps/portrait-app.json @@ -16,8 +16,8 @@ }, "stores": { "android": { - "packageId": "com.ekagni.portraitpro", - "url": "https://play.google.com/store/apps/details?id=com.ekagni.portraitpro" + "packageId": "com.creinnovations.portraitpro", + "url": "https://play.google.com/store/apps/details?id=com.creinnovations.portraitpro" }, "ios": { "appId": "1672384910", @@ -25,7 +25,7 @@ } }, "deepLink": { - "base": "ekagniportrait://open", + "base": "creinnovationsportrait://open", "toolParam": "tool", "sourceParam": "src", "bonusParam": "promo" diff --git a/content/collections/tools/background-remover.json b/content/collections/tools/background-remover.json index 3776b2d..b9926ae 100644 --- a/content/collections/tools/background-remover.json +++ b/content/collections/tools/background-remover.json @@ -65,7 +65,7 @@ }, "related": ["cutout.lama.erase", "face.blemish.remove", "restore.enhancer"], "seo": { - "title": "Free AI Background Remover Online (P3M) | Ekagni PhotoAI", + "title": "Free AI Background Remover Online (P3M) | CRE Innovations", "description": "Remove image backgrounds online in 3 seconds with P3M AI matting. High precision hair edge cutouts with free transparent PNG download." } } diff --git a/content/collections/tools/blemish-remover.json b/content/collections/tools/blemish-remover.json index 3800f0f..4db5c02 100644 --- a/content/collections/tools/blemish-remover.json +++ b/content/collections/tools/blemish-remover.json @@ -77,7 +77,7 @@ }, "related": ["face.eyeredness.remove", "face.teeth.whitener", "face.eyebag.remove"], "seo": { - "title": "Remove Blemishes & Acne Free Online | Ekagni PhotoAI", + "title": "Remove Blemishes & Acne Free Online | CRE Innovations", "description": "Remove acne, pimples, and blemishes from portrait photos in seconds. Free online AI blemish remover with natural skin texture preservation." } } diff --git a/content/collections/tools/cartoon-avatar.json b/content/collections/tools/cartoon-avatar.json index 49bd77a..d5d44cb 100644 --- a/content/collections/tools/cartoon-avatar.json +++ b/content/collections/tools/cartoon-avatar.json @@ -61,7 +61,7 @@ }, "related": ["art.polaroid.film", "face.blemish.remove", "restore.enhancer"], "seo": { - "title": "Turn Photos into Cartoons Free Online | Ekagni PhotoAI", + "title": "Turn Photos into Cartoons Free Online | CRE Innovations", "description": "Convert photo to anime cartoon online free with CartoonGAN. Generate aesthetic illustrated profile pictures and manga avatars." } } diff --git a/content/collections/tools/colorization.json b/content/collections/tools/colorization.json index ac8a8b1..d9fbe9c 100644 --- a/content/collections/tools/colorization.json +++ b/content/collections/tools/colorization.json @@ -61,7 +61,7 @@ }, "related": ["restore.oldphoto", "restore.enhancer"], "seo": { - "title": "Colorize Black and White Photos Free Online | Ekagni PhotoAI", + "title": "Colorize Black and White Photos Free Online | CRE Innovations", "description": "Turn old black and white pictures into realistic full-color memories online with AI deep learning colorization." } } diff --git a/content/collections/tools/old-photo-restorer.json b/content/collections/tools/old-photo-restorer.json index a8a9726..2a2a887 100644 --- a/content/collections/tools/old-photo-restorer.json +++ b/content/collections/tools/old-photo-restorer.json @@ -61,7 +61,7 @@ }, "related": ["restore.colorization", "restore.enhancer", "face.blemish.remove"], "seo": { - "title": "Restore Old Scratched Photos Free Online | Ekagni PhotoAI", + "title": "Restore Old Scratched Photos Free Online | CRE Innovations", "description": "Fix damaged, scratched, and faded vintage family photos free online. AI neural scratch removal and historic print restoration." } } diff --git a/content/collections/tools/photo-enhancer.json b/content/collections/tools/photo-enhancer.json index 4016d34..6b2ffaa 100644 --- a/content/collections/tools/photo-enhancer.json +++ b/content/collections/tools/photo-enhancer.json @@ -73,7 +73,7 @@ }, "related": ["restore.oldphoto", "restore.colorization", "face.blemish.remove"], "seo": { - "title": "Enhance Blurry Photos Free Online | Ekagni PhotoAI", + "title": "Enhance Blurry Photos Free Online | CRE Innovations", "description": "Deblur and upscale blurry photos online with AI. Recover facial details, fix camera shake, and get high-definition clarity free." } } diff --git a/content/collections/tools/polaroid-maker.json b/content/collections/tools/polaroid-maker.json index c7fa3b9..df75c19 100644 --- a/content/collections/tools/polaroid-maker.json +++ b/content/collections/tools/polaroid-maker.json @@ -61,7 +61,7 @@ }, "related": ["art.cartoon.gan", "restore.colorization"], "seo": { - "title": "Vintage Polaroid Photo Filter Free Online | Ekagni PhotoAI", + "title": "Vintage Polaroid Photo Filter Free Online | CRE Innovations", "description": "Transform regular photos into vintage Polaroid instant camera prints free online with film grain and retro borders." } } diff --git a/content/collections/tools/teeth-whitener.json b/content/collections/tools/teeth-whitener.json index c919d94..c039429 100644 --- a/content/collections/tools/teeth-whitener.json +++ b/content/collections/tools/teeth-whitener.json @@ -69,7 +69,7 @@ }, "related": ["face.blemish.remove", "face.eyeredness.remove"], "seo": { - "title": "Whiten Teeth in Photos Free Online | Ekagni PhotoAI", + "title": "Whiten Teeth in Photos Free Online | CRE Innovations", "description": "Whiten teeth in photos free online with AI. Brighten your smile naturally while preserving lip and gum color." } } diff --git a/content/pages/apps.json b/content/pages/apps.json index 8b9faad..c45e3b9 100644 --- a/content/pages/apps.json +++ b/content/pages/apps.json @@ -3,7 +3,7 @@ "route": "/apps", "status": "published", "seo": { - "title": "Mobile Apps Suite | Android & iOS | Ekagni PhotoAI", + "title": "Mobile Apps Suite | Android & iOS | CRE Innovations", "description": "Download our dedicated AI photo editing mobile apps for Android and iOS. Portrait Studio AI, Enhance Ultra AI, Magic Cutout Studio, and Toonify.", "indexable": true }, diff --git a/content/pages/home.json b/content/pages/home.json index a0bb7f9..65c2375 100644 --- a/content/pages/home.json +++ b/content/pages/home.json @@ -25,8 +25,8 @@ "toolRef": "face.blemish.remove" }, "badge": { - "en": "⚡ Powered by Ekagni Deep Learning Engine", - "hi": "⚡ एकग्नि डीप लर्निंग इंजन द्वारा संचालित" + "en": "⚡ Powered by CRE Innovations Deep Learning Engine", + "hi": "⚡ सीआरई इनोवेशन्स डीप लर्निंग इंजन द्वारा संचालित" } } }, diff --git a/content/pages/pricing.json b/content/pages/pricing.json index 1f52e8d..8984a8d 100644 --- a/content/pages/pricing.json +++ b/content/pages/pricing.json @@ -3,8 +3,8 @@ "route": "/pricing", "status": "published", "seo": { - "title": "Pricing & In-App Purchases | Ekagni PhotoAI", - "description": "Understand how pricing and free tries work across Ekagni PhotoAI web tools and dedicated iOS and Android mobile apps.", + "title": "Pricing & In-App Purchases | CRE Innovations", + "description": "Understand how pricing and free tries work across CRE Innovations web tools and dedicated iOS and Android mobile apps.", "indexable": true }, "sections": [ diff --git a/content/pages/privacy.json b/content/pages/privacy.json index 4bd9fdb..afd8971 100644 --- a/content/pages/privacy.json +++ b/content/pages/privacy.json @@ -3,8 +3,8 @@ "route": "/privacy", "status": "published", "seo": { - "title": "Privacy Policy | Ekagni PhotoAI", - "description": "Ekagni PhotoAI Privacy Policy. Information on data processing, zero-storage policy, and compliance with GDPR and DPDP Act.", + "title": "Privacy Policy | CRE Innovations", + "description": "CRE Innovations Privacy Policy. Information on data processing, zero-storage policy, and compliance with GDPR and DPDP Act.", "indexable": true }, "sections": [ @@ -21,7 +21,7 @@ "id": "privacy-content", "type": "richText", "props": { - "markdown": "### 1. Information We Collect\nWe collect anonymous usage telemetry (such as browser type, tool selected, and error codes) only after you provide consent. We do **not** collect your name, email, or identity for web tool usage.\n\n### 2. Processing of Photo Files\nUploaded image files are processed strictly in volatile memory. No copies of uploaded images or processed output files are retained on our servers after delivery.\n\n### 3. In-App Purchases\nWhen you download and purchase features within our mobile apps (Portrait Studio AI, Enhance Ultra AI, Magic Cutout Studio, Toonify), transactions are handled securely by Google Play Store or Apple App Store. We do not receive or store your payment card numbers.\n\n### 4. Contact Us\nFor privacy inquiries, please contact privacy@ekagniai.com." + "markdown": "### 1. Information We Collect\nWe collect anonymous usage telemetry (such as browser type, tool selected, and error codes) only after you provide consent. We do **not** collect your name, email, or identity for web tool usage.\n\n### 2. Processing of Photo Files\nUploaded image files are processed strictly in volatile memory. No copies of uploaded images or processed output files are retained on our servers after delivery.\n\n### 3. In-App Purchases\nWhen you download and purchase features within our mobile apps (Portrait Studio AI, Enhance Ultra AI, Magic Cutout Studio, Toonify), transactions are handled securely by Google Play Store or Apple App Store. We do not receive or store your payment card numbers.\n\n### 4. Contact Us\nFor privacy inquiries, please contact privacy@creinnovationsai.com." } } ] diff --git a/content/pages/terms.json b/content/pages/terms.json index 5ac8d32..ed49080 100644 --- a/content/pages/terms.json +++ b/content/pages/terms.json @@ -3,8 +3,8 @@ "route": "/terms", "status": "published", "seo": { - "title": "Terms of Service | Ekagni PhotoAI", - "description": "Ekagni PhotoAI Terms of Service. Acceptable use policy and mobile app handoff terms.", + "title": "Terms of Service | CRE Innovations", + "description": "CRE Innovations Terms of Service. Acceptable use policy and mobile app handoff terms.", "indexable": true }, "sections": [ @@ -14,14 +14,14 @@ "variant": "centered", "props": { "title": { "en": "Terms of Service", "hi": "सेवा की शर्तें" }, - "subtitle": { "en": "Guidelines and conditions for using Ekagni PhotoAI web and mobile services.", "hi": "शर्तें और दिशानिर्देश।" } + "subtitle": { "en": "Guidelines and conditions for using CRE Innovations web and mobile services.", "hi": "शर्तें और दिशानिर्देश।" } } }, { "id": "terms-content", "type": "richText", "props": { - "markdown": "### 1. Acceptance of Terms\nBy accessing or using the Ekagni PhotoAI website and services, you agree to comply with and be bound by these Terms of Service.\n\n### 2. Permitted Use\nYou agree to upload only photos for which you own the copyright or have express authorization from the subject. Uploading harmful, illegal, non-consensual, or infringing imagery is strictly prohibited.\n\n### 3. Service Availability\nFree web try tools are subject to fair use limits and daily infrastructure budgets. We reserve the right to temporarily pause or modify access to ensure service quality for all users.\n\n### 4. Separate App Purchases\nEach mobile app maintains separate licensing, subscriptions, and purchases. A purchase in one mobile app does not grant credits or licenses in another mobile app." + "markdown": "### 1. Acceptance of Terms\nBy accessing or using the CRE Innovations website and services, you agree to comply with and be bound by these Terms of Service.\n\n### 2. Permitted Use\nYou agree to upload only photos for which you own the copyright or have express authorization from the subject. Uploading harmful, illegal, non-consensual, or infringing imagery is strictly prohibited.\n\n### 3. Service Availability\nFree web try tools are subject to fair use limits and daily infrastructure budgets. We reserve the right to temporarily pause or modify access to ensure service quality for all users.\n\n### 4. Separate App Purchases\nEach mobile app maintains separate licensing, subscriptions, and purchases. A purchase in one mobile app does not grant credits or licenses in another mobile app." } } ] diff --git a/content/pages/tools.json b/content/pages/tools.json index 8431fba..45686b5 100644 --- a/content/pages/tools.json +++ b/content/pages/tools.json @@ -3,7 +3,7 @@ "route": "/tools", "status": "published", "seo": { - "title": "All AI Photo Tools | Free Online Suite | Ekagni PhotoAI", + "title": "All AI Photo Tools | Free Online Suite | CRE Innovations", "description": "Browse our complete directory of free online AI photo tools: blemish removal, background cutout, deblurring, vintage photo restoration, teeth whitening, and cartoon avatars.", "indexable": true }, diff --git a/content/pages/trust.json b/content/pages/trust.json index a1d7ad4..80b7aea 100644 --- a/content/pages/trust.json +++ b/content/pages/trust.json @@ -3,8 +3,8 @@ "route": "/trust", "status": "published", "seo": { - "title": "Trust, Security & Photo Privacy | Ekagni PhotoAI", - "description": "Learn how Ekagni PhotoAI protects your biometric privacy, encrypts upload streams, and ensures zero retention of your processed photos.", + "title": "Trust, Security & Photo Privacy | CRE Innovations", + "description": "Learn how CRE Innovations protects your biometric privacy, encrypts upload streams, and ensures zero retention of your processed photos.", "indexable": true }, "sections": [ diff --git a/content/site.config.json b/content/site.config.json index 1a3b4dc..84cbed6 100644 --- a/content/site.config.json +++ b/content/site.config.json @@ -1,7 +1,7 @@ { "schemaVersion": "1.0", "brand": { - "name": "Ekagni PhotoAI", + "name": "CRE Innovations", "logo": "/brand/logo.svg", "tagline": { "en": "Next-Gen AI Photo Editing Tools", @@ -56,7 +56,7 @@ } }, "footer": { - "copyright": "© 2026 Ekagni PhotoAI. All rights reserved.", + "copyright": "© 2026 CRE Innovations. All rights reserved.", "links": [ { "label": { "en": "All Tools", "hi": "सभी टूल्स" }, "href": "/tools" }, { "label": { "en": "Mobile Apps", "hi": "मोबाइल ऐप्स" }, "href": "/apps" }, @@ -73,7 +73,7 @@ "webWallet": false }, "seo": { - "titleTemplate": "%s | Ekagni PhotoAI", + "titleTemplate": "%s | CRE Innovations", "defaultOgImage": "/brand/og-default.png", "siteUrl": "http://localhost:3000" }, diff --git a/src/app/apps/page.tsx b/src/app/apps/page.tsx index bfcf640..cac2e0e 100644 --- a/src/app/apps/page.tsx +++ b/src/app/apps/page.tsx @@ -4,7 +4,7 @@ import { SectionRenderer } from '@/components/sections/SectionRenderer'; import { notFound } from 'next/navigation'; export const metadata: Metadata = { - title: 'Dedicated Mobile Apps Suite | Android & iOS | Ekagni PhotoAI', + title: 'Dedicated Mobile Apps Suite | Android & iOS | CRE Innovations', description: 'Download our suite of AI photo editing apps for Android and iOS. Built with hardware-accelerated neural networks and 4K lossless export.', }; diff --git a/src/app/pricing/page.tsx b/src/app/pricing/page.tsx index 292e400..e723a64 100644 --- a/src/app/pricing/page.tsx +++ b/src/app/pricing/page.tsx @@ -4,7 +4,7 @@ import { SectionRenderer } from '@/components/sections/SectionRenderer'; import { notFound } from 'next/navigation'; export const metadata: Metadata = { - title: 'Pricing & In-App Purchases | Ekagni PhotoAI', + title: 'Pricing & In-App Purchases | CRE Innovations', description: 'Understand how free web tries and app-specific pricing work. No cross-app subscriptions or web wallets.', }; diff --git a/src/app/privacy/page.tsx b/src/app/privacy/page.tsx index afdba2c..1c08ff9 100644 --- a/src/app/privacy/page.tsx +++ b/src/app/privacy/page.tsx @@ -4,7 +4,7 @@ import { SectionRenderer } from '@/components/sections/SectionRenderer'; import { notFound } from 'next/navigation'; export const metadata: Metadata = { - title: 'Privacy Policy | Ekagni PhotoAI', + title: 'Privacy Policy | CRE Innovations', description: 'Full privacy policy: transient image handling, zero retention, and GDPR compliance.', }; diff --git a/src/app/terms/page.tsx b/src/app/terms/page.tsx index 487d97f..feda076 100644 --- a/src/app/terms/page.tsx +++ b/src/app/terms/page.tsx @@ -4,7 +4,7 @@ import { SectionRenderer } from '@/components/sections/SectionRenderer'; import { notFound } from 'next/navigation'; export const metadata: Metadata = { - title: 'Terms of Service | Ekagni PhotoAI', + title: 'Terms of Service | CRE Innovations', description: 'Terms of Service for online web tools and mobile app handoff.', }; diff --git a/src/app/tools/[slug]/page.tsx b/src/app/tools/[slug]/page.tsx index 5eafdaa..bd0bcf2 100644 --- a/src/app/tools/[slug]/page.tsx +++ b/src/app/tools/[slug]/page.tsx @@ -22,7 +22,7 @@ export async function generateMetadata({ params }: ToolPageProps): Promise +
{(title || subtitle) && ( -
+
{title && ( -

+

{resolveLocalised(title, locale)}

)} {subtitle && ( -

+

{resolveLocalised(subtitle, locale)}

)}
)} -
+
{apps.map((app) => (
{/* Header: Icon & Rating */} -
-
- +
+
+
{showRating && ( -
+
{app.rating.value} + ({(app.rating.count / 1000).toFixed(1)}k)
)}
-

+

{resolveLocalised(app.name, locale)}

-

+

{resolveLocalised(app.tagline, locale)}

@@ -71,7 +72,7 @@ export function AppCardsSection({ {/* Features Checklist */} {app.features && app.features.length > 0 && ( -
+
{app.features.slice(0, 3).map((feat, idx) => (
@@ -82,17 +83,17 @@ export function AppCardsSection({ )}
-
- {/* Mandatory Disclaimer (PRD §1.2, §9 APP-10) */} +
+ {/* Mandatory Disclaimer */}

{resolveLocalised(app.creditsNote, locale, 'Credits and purchases are specific to this app.')}

- Get App & Bonus + Get App & 50 Bonus Credits
diff --git a/src/components/sections/AppHandoffSection.tsx b/src/components/sections/AppHandoffSection.tsx index c66a261..688af3b 100644 --- a/src/components/sections/AppHandoffSection.tsx +++ b/src/components/sections/AppHandoffSection.tsx @@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'; import QRCode from 'qrcode'; -import { Smartphone, QrCode, Copy, Check, Gift } from 'lucide-react'; +import { Smartphone, QrCode, Copy, Check, Gift, ExternalLink } from 'lucide-react'; import { AppItem, ToolItem, resolveLocalised } from '@/types'; interface AppHandoffSectionProps { @@ -33,7 +33,7 @@ export function AppHandoffSection({ useEffect(() => { if (showQr) { QRCode.toDataURL(targetUrl, { - width: 180, + width: 200, margin: 1, color: { dark: '#0f172a', @@ -52,46 +52,46 @@ export function AppHandoffSection({ }; return ( -
+
-
+
{/* Left Column: Copy & Store CTA */}
-
+
- Native iOS & Android App + Native iOS & Android Application
-

+

{tool ? `Continue in ${resolveLocalised(app.name, locale)} with 4K Lossless Export` : `Download ${resolveLocalised(app.name, locale)}`}

-

- Experience zero-latency hardware accelerated neural processing, batch photoshoot enhancement, and professional fine-tuning sliders. +

+ Experience zero-latency hardware-accelerated neural processing, batch photoshoot enhancement, and professional fine-tuning sliders on your phone.

{/* Welcome Bonus Promo Banner */} {showBonus && ( -
-
-
+
+
+
-

+

{app.welcomeBonus?.title || '50 Free HD Export Credits'}

-

- Claim promo code on first launch +

+ Claim promo code upon first mobile install

@@ -125,17 +127,18 @@ export function AppHandoffSection({

- {/* Right Column: QR Code Handoff (PRD §9 APP-05) */} + {/* Right Column: QR Code Handoff */} {showQr && qrDataUrl && ( -
-
+
+
{/* eslint-disable-next-line @next/next/no-img-element */} - Scan QR code to install app + Scan QR code to install app
-
- +
+ Scan with phone camera
+

Instant redirect to store listing

)}
diff --git a/src/components/sections/AppPickerSection.tsx b/src/components/sections/AppPickerSection.tsx index 8ec9b0e..58e8736 100644 --- a/src/components/sections/AppPickerSection.tsx +++ b/src/components/sections/AppPickerSection.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import Link from 'next/link'; -import { HelpCircle, CheckCircle2, ArrowRight, Sparkles, Smartphone } from 'lucide-react'; +import { HelpCircle, ArrowRight, Sparkles, Smile, RefreshCcw, Scissors, Palette } from 'lucide-react'; import { AppItem, resolveLocalised } from '@/types'; interface AppPickerSectionProps { @@ -19,31 +19,34 @@ export function AppPickerSection({ locale = 'en', }: AppPickerSectionProps) { const [photoGoal, setPhotoGoal] = useState('portrait'); - const [step, setStep] = useState(1); const goalOptions = [ { id: 'portrait', title: 'Portraits, Selfies & Skin Beauty', desc: 'Acne, blemish removal, teeth whitening, eye redness', + icon: Smile, appSlug: 'portrait-app', }, { id: 'restoration', title: 'Blurry, Damaged or Old Photos', - desc: 'Restoring old photos, fixing scratches, sharpening faces', + desc: 'Fixing scratches, sharpening faces, colorizing black & white', + icon: RefreshCcw, appSlug: 'photo-enhancer-pro', }, { id: 'cutout', - title: 'Background Cutout & Object Removal', - desc: 'Transparent PNGs, product photography, erasing strangers', + title: 'Background Cutout & Eraser', + desc: 'Transparent PNGs, e-commerce products, erasing strangers', + icon: Scissors, appSlug: 'bg-cleaner-app', }, { id: 'art', title: 'Anime, Cartoon & Vintage Film Art', - desc: 'Cartoon avatars, Polaroid aesthetic, anime stylization', + desc: 'Cartoon avatars, Polaroid frames, manga illustrations', + icon: Palette, appSlug: 'art-studio-app', }, ]; @@ -52,68 +55,79 @@ export function AppPickerSection({ const recommendedApp = apps.find((a) => a.slug === matchedGoal.appSlug) || apps[0]; return ( -
+
-
+
- Interactive App Matcher + Interactive Tool & App Matcher
-

+

{resolveLocalised(title, locale, 'Not Sure Which App You Need?')}

-

- {resolveLocalised(subtitle, locale, 'Select your photo editing goal to find your tailored mobile tool.')} +

+ {resolveLocalised(subtitle, locale, 'Select what you want to edit and find your tailored CRE Innovations app.')}

-
+
-
- {goalOptions.map((opt) => ( - - ))} +
+ {goalOptions.map((opt) => { + const Icon = opt.icon; + const isSelected = photoGoal === opt.id; + return ( + + ); + })}
- {/* Recommended Result */} + {/* Recommended Result Box */} {recommendedApp && ( -
+
- - Recommended Match: + + ★ Recommended Match -

+

{resolveLocalised(recommendedApp.name, locale)}

-

+

{resolveLocalised(recommendedApp.tagline, locale)}

- View App & Get 50 Bonus Credits + Get App & 50 Bonus Credits
diff --git a/src/components/sections/HeroSection.tsx b/src/components/sections/HeroSection.tsx index c1543d6..0d725e0 100644 --- a/src/components/sections/HeroSection.tsx +++ b/src/components/sections/HeroSection.tsx @@ -1,6 +1,6 @@ import React from 'react'; import Link from 'next/link'; -import { Sparkles, ArrowRight, Smartphone } from 'lucide-react'; +import { Sparkles, ArrowRight, Smartphone, ShieldCheck, Zap } from 'lucide-react'; import { resolveLocalised, ToolItem, AppItem, VariantSpec } from '@/types'; import { TryItWidget } from './TryItWidget'; @@ -34,27 +34,43 @@ export function HeroSection({ if (variant === 'tryit' && tool) { return ( -
- {/* Ambient Gradient Background Glow */} -
+
+ {/* Ambient Radial Gradient Lights */} +
-
+
{resolvedBadge && ( -
- +
+ {resolvedBadge}
)} -

+

{resolvedTitle}

-

+

{resolvedSubtitle}

+ + {/* Quick Guarantees Pill */} +
+ + + Zero Storage Retention + + + + Hardware Accelerated + + + + Pore-Preserving Texture + +
- {/* Embedded Interactive Try-It Widget */} + {/* Embedded Interactive Free Try-It Widget */}
-
+
+
{resolvedBadge && ( -
+
{resolvedBadge}
)} -

+

{resolvedTitle}

-

+

{resolvedSubtitle}

-
+
Explore All Free Tools Mobile Apps Suite diff --git a/src/components/sections/ToolGridSection.tsx b/src/components/sections/ToolGridSection.tsx index 2b4c783..46896f7 100644 --- a/src/components/sections/ToolGridSection.tsx +++ b/src/components/sections/ToolGridSection.tsx @@ -2,7 +2,7 @@ import React, { useState, useMemo } from 'react'; import Link from 'next/link'; -import { Search, Sparkles, ArrowRight, Wand2, Scissors, Smile, Palette } from 'lucide-react'; +import { Search, Sparkles, ArrowRight, Wand2, Scissors, Smile, Palette, RefreshCcw } from 'lucide-react'; import { ToolItem, CategoryItem, AppItem, resolveLocalised } from '@/types'; interface ToolGridSectionProps { @@ -53,19 +53,34 @@ export function ToolGridSection({ return list; }, [tools, selectedCategory, searchQuery, limit, locale]); + const getCategoryIcon = (catId: string) => { + switch (catId) { + case 'portrait-retouch': + return ; + case 'restoration': + return ; + case 'background-cutout': + return ; + case 'creative-art': + return ; + default: + return ; + } + }; + return ( -
+
{/* Section Heading */} {(title || subtitle) && (
{title && ( -

+

{resolveLocalised(title, locale)}

)} {subtitle && ( -

+

{resolveLocalised(subtitle, locale)}

)} @@ -74,14 +89,14 @@ export function ToolGridSection({ {/* Search & Filters */} {(showSearch || showCategoryFilter) && ( -
+
{showCategoryFilter && categories.length > 0 && (
))}
)} {showSearch && ( -
- +
+ setSearchQuery(e.target.value)} - className="w-full pl-9 pr-4 py-2 rounded-xl text-sm border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900 text-slate-900 dark:text-white placeholder-slate-400 focus:outline-none focus:ring-2 focus:ring-blue-500" + className="w-full pl-10 pr-4 py-2.5 rounded-2xl text-xs sm:text-sm border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900 text-slate-900 dark:text-white placeholder-slate-400 focus:outline-none focus:ring-2 focus:ring-blue-500 shadow-sm" />
)} @@ -119,26 +135,26 @@ export function ToolGridSection({ )} {/* Tools Cards Grid */} -
+
{filteredTools.map((tool) => { const homeApp = appMap.get(tool.homeApp); return (
{/* Category Tag & Icon */}
- + {tool.category} -
- +
+ {getCategoryIcon(tool.category)}
-

+

{resolveLocalised(tool.name, locale)}

@@ -148,11 +164,10 @@ export function ToolGridSection({
- {/* Home App Attribution (PRD §1.2, §9 APP-01) */} {homeApp && (
- Home App: - + Home App: + {resolveLocalised(homeApp.name, locale)}
@@ -160,10 +175,10 @@ export function ToolGridSection({ Try Free Online - +
@@ -172,8 +187,9 @@ export function ToolGridSection({
{filteredTools.length === 0 && ( -
- No photo tools found matching your filter. +
+

No photo tools found matching "{searchQuery}"

+

Try searching for "blemish", "background", "photo", or clear filters.

)}
diff --git a/src/components/sections/TryItWidget.tsx b/src/components/sections/TryItWidget.tsx index 6117c2d..e7d5aaa 100644 --- a/src/components/sections/TryItWidget.tsx +++ b/src/components/sections/TryItWidget.tsx @@ -2,7 +2,7 @@ import React, { useState, useRef, useEffect } from 'react'; import Link from 'next/link'; -import { UploadCloud, CheckCircle2, AlertCircle, RefreshCw, Download, Smartphone, Sparkles, Loader2, Image as ImageIcon } from 'lucide-react'; +import { UploadCloud, CheckCircle2, AlertCircle, RefreshCw, Download, Smartphone, Sparkles, Loader2, Image as ImageIcon, Zap, ChevronRight } from 'lucide-react'; import { ToolItem, AppItem, VariantSpec, resolveLocalised } from '@/types'; import { BeforeAfterSlider } from '../ui/BeforeAfterSlider'; @@ -30,16 +30,16 @@ export function TryItWidget({ const [status, setStatus] = useState<'idle' | 'selected' | 'processing' | 'success' | 'limit' | 'error' | 'unavailable'>('idle'); const [errorMessage, setErrorMessage] = useState(''); const [remainingTries, setRemainingTries] = useState(tool.tryIt?.limits?.perDay || 5); + const [isDragOver, setIsDragOver] = useState(false); const fileInputRef = useRef(null); - // Sample quick presets if user doesn't have an image on hand const samplePresets = [ { - label: 'Sample Portrait', + label: 'Portrait Sample', url: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=600&auto=format&fit=crop&q=80', }, { - label: 'Sample Selfie', + label: 'Natural Face', url: 'https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=600&auto=format&fit=crop&q=80', }, ]; @@ -74,6 +74,7 @@ export function TryItWidget({ const handleDrop = (e: React.DragEvent) => { e.preventDefault(); + setIsDragOver(false); if (e.dataTransfer.files && e.dataTransfer.files[0]) { handleFileChange(e.dataTransfer.files[0]); } @@ -145,25 +146,28 @@ export function TryItWidget({ }; return ( -
+
+ {/* Decorative Glow Corner */} +
+ {/* Top Header & Tries Counter */} -
+
-
- +
+
-

- {resolveLocalised(tool.name, locale)} — Free Web Try +

+ {resolveLocalised(tool.name, locale)} — Free Online Try

- Zero watermarks • Instant RAM processing • No sign-up + Zero Watermarks • In-Memory Processing • No Sign-Up

-
- +
+ {remainingTries} free tries today
@@ -175,9 +179,17 @@ export function TryItWidget({ {/* Drag & Drop Upload Zone */}
e.preventDefault()} + onDragOver={(e) => { + e.preventDefault(); + setIsDragOver(true); + }} + onDragLeave={() => setIsDragOver(false)} onClick={() => fileInputRef.current?.click()} - className="border-2 border-dashed border-slate-300 dark:border-slate-700 hover:border-blue-500 dark:hover:border-blue-400 rounded-2xl p-8 sm:p-12 text-center cursor-pointer transition-all hover:bg-slate-50 dark:hover:bg-slate-800/40 group" + className={`border-2 border-dashed rounded-3xl p-8 sm:p-14 text-center cursor-pointer transition-all duration-300 group ${ + isDragOver + ? 'border-blue-500 bg-blue-50/50 dark:bg-blue-950/40 scale-[1.01]' + : 'border-slate-300 dark:border-slate-700 hover:border-blue-500 dark:hover:border-blue-400 hover:bg-slate-50/60 dark:hover:bg-slate-800/40' + }`} > e.target.files?.[0] && handleFileChange(e.target.files[0])} /> -
- +
+
-

- Drop your photo here, or browse +

+ Drag & drop your photo here, or browse

-

+

Supports JPG, PNG, WEBP up to {tool.tryIt?.limits?.maxMB || 12}MB

{/* Quick Sample Presets */} -
-

- Or try a sample photo: +

+

+ Or test with a sample photo:

-
+
{samplePresets.map((preset, idx) => ( ))} @@ -221,33 +233,33 @@ export function TryItWidget({ {status === 'selected' && previewUrl && (
- {/* Image Preview */} -
+ {/* Image Preview Card */} +
{/* eslint-disable-next-line @next/next/no-img-element */} Selected photo
- {/* Variant / Mode Controls */} + {/* Mode Selection & Run Action */}
{variants.length > 0 && (
-