feat: implement management folder architecture, hover-only tool sliders, grain transform animation, and prominent upload studio
@@ -11,3 +11,4 @@ yarn-error.log*
|
|||||||
|
|
||||||
# Superpowers scratch and ledgers
|
# Superpowers scratch and ledgers
|
||||||
.superpowers/
|
.superpowers/
|
||||||
|
*.tsbuildinfo
|
||||||
|
|||||||
@@ -0,0 +1,90 @@
|
|||||||
|
# Management Folder Architecture & Refined Visual UX Implementation Plan
|
||||||
|
|
||||||
|
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
|
||||||
|
|
||||||
|
This plan resolves four core user requirements:
|
||||||
|
1. **Centralized Management Folder (`management/`)**: Modular, page-by-page folder architecture housing all JSON configs and media (before/after images, banners, videos), allowing direct file-drop replacement for live website updates.
|
||||||
|
2. **Tool Page Re-engineering (`/tools/[slug]`)**: Spacious prominent upload studio, borderless result-focused display stage, typography placed outside cards, and a generative latent grain transformation animation.
|
||||||
|
3. **Homepage Tool Stack Cards Hover-Only Slide**: Eliminate simultaneous chaotic auto-sliding across all 8 cards; only animate the card that is actively hovered, and allow click/drag to manually inspect.
|
||||||
|
4. **Fluid, Seamless Horizontal Scroll**: Fix sticky overflow constraints (`overflow-x: clip`), smooth scroll conflicts, and ensure frictionless progression from vertical -> horizontal -> vertical.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## File Structure & Responsibilities
|
||||||
|
|
||||||
|
```
|
||||||
|
management/
|
||||||
|
├── pages/
|
||||||
|
│ ├── home/
|
||||||
|
│ │ ├── page.config.json # Home page section configuration & copy
|
||||||
|
│ │ └── media/ # Media assets used on home page
|
||||||
|
│ └── tools/
|
||||||
|
│ ├── cartoon-avatar/
|
||||||
|
│ │ ├── tool.config.json # Tool metadata, copy, displayType ("beforeAfter" | "banner")
|
||||||
|
│ │ └── media/ # before.jpg, after.jpg, sample-*.jpg
|
||||||
|
│ ├── blemish-remover/
|
||||||
|
│ ├── background-remover/
|
||||||
|
│ ├── colorization/
|
||||||
|
│ ├── old-photo-restorer/
|
||||||
|
│ ├── photo-enhancer/
|
||||||
|
│ ├── polaroid-maker/
|
||||||
|
│ └── teeth-whitener/
|
||||||
|
public/
|
||||||
|
└── management -> symlink or synced to ../management
|
||||||
|
src/
|
||||||
|
├── components/
|
||||||
|
│ ├── ui/
|
||||||
|
│ │ ├── NeuralGrainOverlay.tsx # Generative AI latent grain transform animation
|
||||||
|
│ │ ├── CardBeforeAfterSlider.tsx # Tool stack card slider (hover-only slide, click-drag)
|
||||||
|
│ ├── sections/
|
||||||
|
│ │ ├── HeroSection.tsx # Redesigned tool hero (prominent upload, result-focused display)
|
||||||
|
│ │ ├── TryItWidget.tsx # Spacious, beautiful upload studio
|
||||||
|
│ │ ├── CinematicHorizontalScrollSection.tsx # Frictionless horizontal showcase
|
||||||
|
├── lib/
|
||||||
|
│ ├── config/
|
||||||
|
│ │ ├── loader.ts # Loads configurations and media paths from management/
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Tasks
|
||||||
|
|
||||||
|
### Task 1: Create Centralized `management/` Folder Architecture
|
||||||
|
- [ ] Create `management/pages/tools/[slug]/` directories for all 8 tools with `tool.config.json` and `media/` subdirectories.
|
||||||
|
- [ ] Copy or generate high-res before/after assets into `management/pages/tools/[slug]/media/before.jpg` and `after.jpg`.
|
||||||
|
- [ ] Create `management/pages/home/` with `page.config.json` and `media/`.
|
||||||
|
- [ ] Ensure Next.js can serve assets from `management/` via symlink in `public/management` or Next route so replacing any file immediately updates the live site.
|
||||||
|
- [ ] Update `src/lib/config/loader.ts` to source tool data and media paths from `management/`.
|
||||||
|
- [ ] Verify `npm test` and build compile cleanly.
|
||||||
|
|
||||||
|
### Task 2: Home Page Tool Stack Cards — Hover-Only Sliding
|
||||||
|
- [ ] Update `src/components/ui/CardBeforeAfterSlider.tsx`:
|
||||||
|
- Static 50% rest state when not hovered.
|
||||||
|
- Start smooth, gentle slide animation **only when cursor is hovering over the card**.
|
||||||
|
- Clicking/dragging allows manual scrub.
|
||||||
|
- Reset to rest on mouse leave.
|
||||||
|
- [ ] Verify all cards remain calm and static until hovered.
|
||||||
|
|
||||||
|
### Task 3: Tool Landing Page (`/tools/[slug]`) Visual Redesign & Grain Transform Animation
|
||||||
|
- [ ] Create `src/components/ui/NeuralGrainOverlay.tsx`:
|
||||||
|
- Authentic generative AI latent grain / noise sweep animation representing neural model synthesis.
|
||||||
|
- Canvas/SVG-based high-frequency grain texture with customizable intensity and scan sweep.
|
||||||
|
- [ ] Redesign `src/components/sections/HeroSection.tsx` (`variant === 'toolHero'`):
|
||||||
|
- Typography placed outside cards: Large editorial headline, category badge, and descriptive copy directly on page background.
|
||||||
|
- **Left / Display Stage**: Focus 100% on actual transformation results with minimal border chrome, integrated Before/After slider, and the Neural Grain transformation effect.
|
||||||
|
- **Right / Upload Studio**: Spacious, prominent, high-end upload dropzone with glowing borders, clear specs, and sample presets.
|
||||||
|
- [ ] Update `src/components/sections/TryItWidget.tsx` to match the spacious, beautiful studio layout.
|
||||||
|
|
||||||
|
### Task 4: Fix Horizontal Showcase Scroll Fluidity
|
||||||
|
- [ ] Fix `body` overflow in `src/app/globals.css`: replace `overflow-x: hidden` with `overflow-x: clip` so `position: sticky` is never disabled.
|
||||||
|
- [ ] In `CinematicHorizontalScrollSection.tsx`, ensure synchronous DOM transform updates on scroll with liquid GPU hardware acceleration.
|
||||||
|
- [ ] Ensure arrow navigation, wheel scrolling, and trackpad swipe glide seamlessly through all cards and transition cleanly to the next section.
|
||||||
|
|
||||||
|
### Task 5: Verification & End-to-End Testing
|
||||||
|
- [ ] Run `npm test` to verify all unit tests pass.
|
||||||
|
- [ ] Run headless browser script verifying:
|
||||||
|
- Tool cards in "Find the right tool fast" slide ONLY on hover.
|
||||||
|
- Tool specific page renders prominent upload studio + grain transformation display + typography outside cards.
|
||||||
|
- Horizontal scroll glides seamlessly.
|
||||||
|
- Replacing an image in `management/` updates the live page.
|
||||||
|
- [ ] Commit all changes to git.
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
# Interactive Model Showcase Vertical Wheel Translation & Side Arrows Plan
|
||||||
|
|
||||||
|
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
|
||||||
|
|
||||||
|
**Goal:** Enable visitors to navigate the flagship transformation models in the Interactive Model Showcase via vertical wheel/trackpad scrolling and dedicated Left/Right side arrow buttons.
|
||||||
|
|
||||||
|
**Architecture:** Client-side React hooks (`useRef`, `useState`, `useEffect`) in `CinematicHorizontalScrollSection.tsx` with non-passive wheel event interception, edge boundary pass-through, smooth card stepping via `scrollBy`, and floating accessible arrow buttons.
|
||||||
|
|
||||||
|
**Tech Stack:** Next.js 14 App Router, React 18, TypeScript, Tailwind CSS, Lucide React (`ChevronLeft`, `ChevronRight`).
|
||||||
|
|
||||||
|
**Spec:** `docs/superpowers/specs/2026-11-04-showcase-vertical-wheel-and-arrows-design.md`
|
||||||
|
|
||||||
|
## Global Constraints
|
||||||
|
- Preserve existing data interfaces and Mustache binding resolution.
|
||||||
|
- Never trap user scroll: when rail is at the left boundary and scrolling up, or right boundary and scrolling down, let vertical scroll bubble to page.
|
||||||
|
- Accessible: `aria-label` attributes on both buttons, keyboard operable.
|
||||||
|
- Responsive: Floating arrows styled to fit both mobile and wide screens without obscuring critical interactive elements.
|
||||||
|
|
||||||
|
## Review Focus
|
||||||
|
1. Wheel listener must use `{ passive: false }` so `preventDefault()` functions cleanly without console warnings.
|
||||||
|
2. Left and Right arrows calculate proper scroll distance (card width + gap) and smoothly animate.
|
||||||
|
3. Clean boundary detection prevents stutter when reaching start/end of the rail.
|
||||||
|
4. Touch swipe functionality on mobile devices is preserved intact.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Task 1: Enhance `CinematicHorizontalScrollSection.tsx` with Wheel & Arrow Controls
|
||||||
|
|
||||||
|
**Files:**
|
||||||
|
- Modify: `src/components/sections/CinematicHorizontalScrollSection.tsx`
|
||||||
|
|
||||||
|
- [ ] **Step 1: Add state and refs for rail, scroll boundaries, and wheel interaction**
|
||||||
|
- Define `railRef = useRef<HTMLDivElement>(null)`
|
||||||
|
- Define `canScrollLeft` and `canScrollRight` states
|
||||||
|
- Define `isHovered` or rail event listener for `wheel` with `{ passive: false }`
|
||||||
|
|
||||||
|
- [ ] **Step 2: Implement boundary-aware vertical wheel translation**
|
||||||
|
- Intercept vertical `deltaY` when dominant over `deltaX`
|
||||||
|
- Translate `e.deltaY` into `rail.scrollLeft`
|
||||||
|
- Allow natural page scroll if already at leftmost or rightmost boundary
|
||||||
|
|
||||||
|
- [ ] **Step 3: Implement floating Left and Right navigation buttons**
|
||||||
|
- Place Left and Right arrow buttons vertically centered on the carousel flanks
|
||||||
|
- Implement `scrollDirection('left')` and `scrollDirection('right')` using `rail.scrollBy({ left: +/- step, behavior: 'smooth' })`
|
||||||
|
- Add `aria-label` and visual disabled/faded states
|
||||||
|
|
||||||
|
- [ ] **Step 4: Update scroll snap style to `snap-proximity`**
|
||||||
|
- Prevent harsh snapping conflict during continuous wheel scrolling
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Task 2: Build Verification & Regression Check
|
||||||
|
|
||||||
|
**Files:**
|
||||||
|
- Run test and build commands
|
||||||
|
|
||||||
|
- [ ] **Step 1: Run unit test suite**
|
||||||
|
- `npm test`
|
||||||
|
- [ ] **Step 2: Run production Next.js build**
|
||||||
|
- `npm run build`
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
# Design: Interactive Model Showcase Vertical Scroll Translation & Side Navigation Arrows
|
||||||
|
|
||||||
|
**Date:** 2026-11-04
|
||||||
|
**Status:** Approved (Option 1 selected by user)
|
||||||
|
**Target File:** `src/components/sections/CinematicHorizontalScrollSection.tsx`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. Intent & Purpose
|
||||||
|
Enable visitors to navigate the flagship transformation models in the **Interactive Model Showcase** using natural vertical wheel/trackpad scrolling and dedicated tactile Left/Right side arrow buttons, making horizontal exploration effortless on both desktop and mobile.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. Goals, Non-Goals, and Anti-Goals
|
||||||
|
|
||||||
|
### Goals
|
||||||
|
- **Vertical-to-Horizontal Translation**: Vertical mouse wheel and trackpad scroll gestures (`deltaY`) over the showcase rail directly translate into horizontal scrolling.
|
||||||
|
- **Natural Boundary Pass-Through**: When the rail reaches its horizontal start (scrolling up) or end (scrolling down), vertical page scrolling naturally resumes so users never get trapped.
|
||||||
|
- **Side Navigation Arrows**: Sleek, accessible, liquid-glass Left and Right arrow buttons floating on either side of the rail that slide card-by-card on click.
|
||||||
|
- **Dynamic State**: Arrow buttons automatically update their disabled/opacity state based on current scroll position.
|
||||||
|
- **Zero Regressions**: Maintain high-contrast light creamy theme, mobile touch-swipe, and WCAG AA accessibility standards.
|
||||||
|
|
||||||
|
### Non-Goals
|
||||||
|
- Full viewport height pinning (Option 2 was declined in favor of in-place wheel translation).
|
||||||
|
- Modifying the underlying data schemas in `content/pages/home.json` or `SectionRenderer.tsx`.
|
||||||
|
|
||||||
|
### Anti-Goals
|
||||||
|
- Trapping vertical scroll permanently or blocking scroll when at the edges.
|
||||||
|
- Obscuring before/after comparison interactive sliders with arrow buttons.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. Approaches Considered
|
||||||
|
|
||||||
|
1. **Option 1: In-Place Wheel & Trackpad Translation + Floating Side Arrows (Selected)**
|
||||||
|
- Translates `deltaY` to `scrollLeft` on non-passive wheel events when hovering the showcase section.
|
||||||
|
- Bails out when at the boundary edges to allow standard vertical document scroll.
|
||||||
|
- Adds floating, accessible `ChevronLeft` and `ChevronRight` buttons on the left and right flanks.
|
||||||
|
- **Trade-off:** Retains clean layout flow without modifying page scroll height.
|
||||||
|
|
||||||
|
2. **Option 2: Sticky Pinned Viewport Track (Rejected)**
|
||||||
|
- Pins the section to the viewport for 300vh of vertical scroll distance.
|
||||||
|
- **Trade-off:** High layout footprint, can feel disruptive on shorter viewports.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. Implementation Details
|
||||||
|
|
||||||
|
- **File:** `src/components/sections/CinematicHorizontalScrollSection.tsx`
|
||||||
|
- **State & Refs:**
|
||||||
|
- `railRef = useRef<HTMLDivElement>(null)`: Reference to the horizontal scrolling rail.
|
||||||
|
- `canScrollLeft`: boolean state, default false.
|
||||||
|
- `canScrollRight`: boolean state, default true.
|
||||||
|
- **Wheel Listener (`passive: false`):**
|
||||||
|
- Attached via `useEffect` with clean cleanup.
|
||||||
|
- Only intercepts when vertical delta is dominant (`Math.abs(e.deltaY) > Math.abs(e.deltaX)`).
|
||||||
|
- Calls `e.preventDefault()` only if the rail has remaining scroll distance in the scroll direction.
|
||||||
|
- **Arrow Navigation:**
|
||||||
|
- Left button with `ChevronLeft` icon, right button with `ChevronRight` icon.
|
||||||
|
- `scrollBy({ left: +/- scrollDistance, behavior: 'smooth' })`, calculating step based on card width + gap.
|
||||||
|
- High z-index, styled with `bg-white/90`, `backdrop-blur-md`, `shadow-cream-md`, and smooth hover scale.
|
||||||
|
- Hidden or opacity-0 when disabled to maintain a clean aesthetic at boundaries.
|
||||||
|
- **Snap Polish:**
|
||||||
|
- Uses `snap-x snap-proximity` for smooth wheel translation without abrasive snap fighting, locking neatly onto cards when resting.
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
{
|
||||||
|
"id": "art-studio-app",
|
||||||
|
"slug": "art-studio-app",
|
||||||
|
"status": "published",
|
||||||
|
"name": {
|
||||||
|
"en": "Toonify & Art Studio",
|
||||||
|
"hi": "\u091f\u0942\u0928\u0940\u092b\u093e\u0908 \u0914\u0930 \u0906\u0930\u094d\u091f \u0938\u094d\u091f\u0942\u0921\u093f\u092f\u094b"
|
||||||
|
},
|
||||||
|
"tagline": {
|
||||||
|
"en": "Transform selfies into anime, caricatures, and vintage film art",
|
||||||
|
"hi": "\u0938\u0947\u0932\u094d\u092b\u093c\u0940 \u0915\u094b \u090f\u0928\u0940\u092e\u0947, \u0915\u0948\u0930\u093f\u0915\u0947\u091a\u0930 \u0914\u0930 \u0935\u093f\u0902\u091f\u0947\u091c \u0906\u0930\u094d\u091f \u092e\u0947\u0902 \u092c\u0926\u0932\u0947\u0902"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"en": "Unleash your creative persona. Turn real-life portraits into stunning anime drawings, comic book art, retro Polaroid prints, and museum-grade painted portraits.",
|
||||||
|
"hi": "\u0905\u092a\u0928\u0940 \u0930\u091a\u0928\u093e\u0924\u094d\u092e\u0915\u0924\u093e \u0915\u094b \u0909\u091c\u093e\u0917\u0930 \u0915\u0930\u0947\u0902\u0964 \u092a\u094b\u0930\u094d\u091f\u094d\u0930\u0947\u091f\u094d\u0938 \u0915\u094b \u090f\u0928\u0940\u092e\u0947, \u0915\u0949\u092e\u093f\u0915 \u0914\u0930 \u0935\u093f\u0902\u091f\u0947\u091c \u092a\u094b\u0932\u0930\u0949\u0907\u0921 \u092e\u0947\u0902 \u092c\u0926\u0932\u0947\u0902\u0964"
|
||||||
|
},
|
||||||
|
"stores": {
|
||||||
|
"android": {
|
||||||
|
"packageId": "com.creinnovations.artstudio",
|
||||||
|
"url": "https://play.google.com/store/apps/details?id=com.creinnovations.artstudio"
|
||||||
|
},
|
||||||
|
"ios": {
|
||||||
|
"appId": "1672384913",
|
||||||
|
"url": "https://apps.apple.com/app/id1672384913"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"deepLink": {
|
||||||
|
"base": "creinnovationsart://open",
|
||||||
|
"toolParam": "tool",
|
||||||
|
"sourceParam": "src",
|
||||||
|
"bonusParam": "promo"
|
||||||
|
},
|
||||||
|
"tools": [
|
||||||
|
"art.cartoon.gan",
|
||||||
|
"art.polaroid.film"
|
||||||
|
],
|
||||||
|
"rating": {
|
||||||
|
"value": 4.8,
|
||||||
|
"count": 31200,
|
||||||
|
"source": "Google Play & App Store"
|
||||||
|
},
|
||||||
|
"welcomeBonus": {
|
||||||
|
"code": "TOONWEB",
|
||||||
|
"title": "40 Free Art Styles",
|
||||||
|
"description": "Install through this link to claim 40 free artistic avatar transformations."
|
||||||
|
},
|
||||||
|
"features": [
|
||||||
|
"Over 60+ neural cartoon, anime, and comic stylization filters",
|
||||||
|
"Authentic 35mm film grain, leak, and vintage polaroid borders",
|
||||||
|
"Lossless 4K social media avatar export",
|
||||||
|
"Animated sticker and GIF generator"
|
||||||
|
],
|
||||||
|
"creditsNote": {
|
||||||
|
"en": "Credits and in-app purchases are specific to Toonify & Art Studio.",
|
||||||
|
"hi": "\u0915\u094d\u0930\u0947\u0921\u093f\u091f \u0914\u0930 \u0907\u0928-\u0910\u092a \u0916\u0930\u0940\u0926\u093e\u0930\u0940 \u0915\u0947\u0935\u0932 \u091f\u0942\u0928\u0940\u092b\u093e\u0908 \u0914\u0930 \u0906\u0930\u094d\u091f \u0938\u094d\u091f\u0942\u0921\u093f\u092f\u094b \u0915\u0947 \u0932\u093f\u090f \u0935\u093f\u0936\u093f\u0937\u094d\u091f \u0939\u0948\u0902\u0964"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
{
|
||||||
|
"id": "bg-cleaner-app",
|
||||||
|
"slug": "bg-cleaner-app",
|
||||||
|
"status": "published",
|
||||||
|
"name": {
|
||||||
|
"en": "Magic Cutout & Erase Studio",
|
||||||
|
"hi": "\u092e\u0948\u091c\u093f\u0915 \u0915\u091f\u0906\u0909\u091f \u0914\u0930 \u0907\u0930\u0947\u091c\u093c \u0938\u094d\u091f\u0942\u0921\u093f\u092f\u094b"
|
||||||
|
},
|
||||||
|
"tagline": {
|
||||||
|
"en": "Cut out any subject, erase photobombers, and design product shots",
|
||||||
|
"hi": "\u0915\u093f\u0938\u0940 \u092d\u0940 \u0935\u093f\u0937\u092f \u0915\u094b \u0915\u091f \u0915\u0930\u0947\u0902, \u0905\u0928\u091a\u093e\u0939\u0947 \u0932\u094b\u0917\u094b\u0902 \u0915\u094b \u092e\u093f\u091f\u093e\u090f\u0902"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"en": "The premier background removal and object erasing app for e-commerce sellers, content creators, and graphic designers. Transparent PNGs, studio backdrops, and seamless smart inpainting in one tap.",
|
||||||
|
"hi": "\u0908-\u0915\u0949\u092e\u0930\u094d\u0938 \u0935\u093f\u0915\u094d\u0930\u0947\u0924\u093e\u0913\u0902 \u0914\u0930 \u0921\u093f\u091c\u093e\u0907\u0928\u0930\u094b\u0902 \u0915\u0947 \u0932\u093f\u090f \u092a\u094d\u0930\u092e\u0941\u0916 \u092c\u0948\u0915\u0917\u094d\u0930\u093e\u0909\u0902\u0921 \u0930\u093f\u092e\u0942\u0935\u0932 \u0914\u0930 \u0911\u092c\u094d\u091c\u0947\u0915\u094d\u091f \u0907\u0930\u0947\u091c\u093c\u0930 \u0910\u092a\u0964"
|
||||||
|
},
|
||||||
|
"stores": {
|
||||||
|
"android": {
|
||||||
|
"packageId": "com.creinnovations.bgcleaner",
|
||||||
|
"url": "https://play.google.com/store/apps/details?id=com.creinnovations.bgcleaner"
|
||||||
|
},
|
||||||
|
"ios": {
|
||||||
|
"appId": "1672384912",
|
||||||
|
"url": "https://apps.apple.com/app/id1672384912"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"deepLink": {
|
||||||
|
"base": "creinnovationsbg://open",
|
||||||
|
"toolParam": "tool",
|
||||||
|
"sourceParam": "src",
|
||||||
|
"bonusParam": "promo"
|
||||||
|
},
|
||||||
|
"tools": [
|
||||||
|
"cutout.p3m.bg",
|
||||||
|
"cutout.lama.erase"
|
||||||
|
],
|
||||||
|
"rating": {
|
||||||
|
"value": 4.7,
|
||||||
|
"count": 19500,
|
||||||
|
"source": "Google Play & App Store"
|
||||||
|
},
|
||||||
|
"welcomeBonus": {
|
||||||
|
"code": "CUTOUTWEB",
|
||||||
|
"title": "50 Free Cutouts",
|
||||||
|
"description": "Install through this link to claim 50 free high-res cutout downloads."
|
||||||
|
},
|
||||||
|
"features": [
|
||||||
|
"Sub-pixel hair strands and sheer cloth transparency detection",
|
||||||
|
"Smart brush object eraser with context-aware fill",
|
||||||
|
"Over 500+ curated studio backgrounds and e-commerce presets",
|
||||||
|
"High volume batch cutout export with transparent alpha"
|
||||||
|
],
|
||||||
|
"creditsNote": {
|
||||||
|
"en": "Credits and in-app purchases are specific to Magic Cutout & Erase Studio.",
|
||||||
|
"hi": "\u0915\u094d\u0930\u0947\u0921\u093f\u091f \u0914\u0930 \u0907\u0928-\u0910\u092a \u0916\u0930\u0940\u0926\u093e\u0930\u0940 \u0915\u0947\u0935\u0932 \u092e\u0948\u091c\u093f\u0915 \u0915\u091f\u0906\u0909\u091f \u0914\u0930 \u0907\u0930\u0947\u091c\u093c \u0938\u094d\u091f\u0942\u0921\u093f\u092f\u094b \u0915\u0947 \u0932\u093f\u090f \u0935\u093f\u0936\u093f\u0937\u094d\u091f \u0939\u0948\u0902\u0964"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
{
|
||||||
|
"id": "photo-enhancer-pro",
|
||||||
|
"slug": "photo-enhancer-pro",
|
||||||
|
"status": "published",
|
||||||
|
"name": {
|
||||||
|
"en": "Enhance Ultra AI",
|
||||||
|
"hi": "\u090f\u0928\u094d\u0939\u093e\u0902\u0938 \u0905\u0932\u094d\u091f\u094d\u0930\u093e \u090f\u0906\u0908"
|
||||||
|
},
|
||||||
|
"tagline": {
|
||||||
|
"en": "Turn blurry or aged photos into crystal clear 4K masterpieces",
|
||||||
|
"hi": "\u0927\u0941\u0902\u0927\u0932\u0940 \u092f\u093e \u092a\u0941\u0930\u093e\u0928\u0940 \u0924\u0938\u094d\u0935\u0940\u0930\u094b\u0902 \u0915\u094b \u0915\u094d\u0930\u093f\u0938\u094d\u091f\u0932 \u0915\u094d\u0932\u093f\u092f\u0930 4K \u092e\u0947\u0902 \u092c\u0926\u0932\u0947\u0902"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"en": "State-of-the-art super-resolution, scratch removal, and neural colorization for old and degraded photographs. Loved by genealogists, photographers, and memory keepers worldwide.",
|
||||||
|
"hi": "\u092a\u0941\u0930\u093e\u0928\u0940 \u0914\u0930 \u0916\u0930\u093e\u092c \u0924\u0938\u094d\u0935\u0940\u0930\u094b\u0902 \u0915\u0947 \u0932\u093f\u090f \u0938\u0941\u092a\u0930-\u0930\u093f\u091c\u093c\u0949\u0932\u094d\u092f\u0942\u0936\u0928, \u0916\u0930\u094b\u0902\u091a \u0939\u091f\u093e\u0928\u093e \u0914\u0930 \u0928\u094d\u092f\u0942\u0930\u0932 \u0930\u0902\u0917\u093e\u0908\u0964"
|
||||||
|
},
|
||||||
|
"stores": {
|
||||||
|
"android": {
|
||||||
|
"packageId": "com.creinnovations.photoenhancer",
|
||||||
|
"url": "https://play.google.com/store/apps/details?id=com.creinnovations.photoenhancer"
|
||||||
|
},
|
||||||
|
"ios": {
|
||||||
|
"appId": "1672384911",
|
||||||
|
"url": "https://apps.apple.com/app/id1672384911"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"deepLink": {
|
||||||
|
"base": "creinnovationsenhance://open",
|
||||||
|
"toolParam": "tool",
|
||||||
|
"sourceParam": "src",
|
||||||
|
"bonusParam": "promo"
|
||||||
|
},
|
||||||
|
"tools": [
|
||||||
|
"restore.enhancer",
|
||||||
|
"restore.oldphoto",
|
||||||
|
"restore.colorization"
|
||||||
|
],
|
||||||
|
"rating": {
|
||||||
|
"value": 4.9,
|
||||||
|
"count": 42100,
|
||||||
|
"source": "Google Play & App Store"
|
||||||
|
},
|
||||||
|
"welcomeBonus": {
|
||||||
|
"code": "ENHANCEWEB",
|
||||||
|
"title": "30 Free Ultra 4K Exports",
|
||||||
|
"description": "Install through this link to claim 30 free Ultra 4K upscale exports."
|
||||||
|
},
|
||||||
|
"features": [
|
||||||
|
"Generative face reconstruction from blurry selfies",
|
||||||
|
"Deep crease and scratch removal on physical scanned prints",
|
||||||
|
"Realistic historical color palettes from neural models",
|
||||||
|
"Up to 8x resolution upscaling with high fidelity"
|
||||||
|
],
|
||||||
|
"creditsNote": {
|
||||||
|
"en": "Credits and in-app purchases are specific to Enhance Ultra AI.",
|
||||||
|
"hi": "\u0915\u094d\u0930\u0947\u0921\u093f\u091f \u0914\u0930 \u0907\u0928-\u0910\u092a \u0916\u0930\u0940\u0926\u093e\u0930\u0940 \u0915\u0947\u0935\u0932 \u090f\u0928\u094d\u0939\u093e\u0902\u0938 \u0905\u0932\u094d\u091f\u094d\u0930\u093e \u090f\u0906\u0908 \u0915\u0947 \u0932\u093f\u090f \u0935\u093f\u0936\u093f\u0937\u094d\u091f \u0939\u0948\u0902\u0964"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
{
|
||||||
|
"id": "portrait-app",
|
||||||
|
"slug": "portrait-app",
|
||||||
|
"status": "published",
|
||||||
|
"name": {
|
||||||
|
"en": "Portrait Studio AI",
|
||||||
|
"hi": "\u092a\u094b\u0930\u094d\u091f\u094d\u0930\u0947\u091f \u0938\u094d\u091f\u0942\u0921\u093f\u092f\u094b \u090f\u0906\u0908"
|
||||||
|
},
|
||||||
|
"tagline": {
|
||||||
|
"en": "Natural professional portrait retouching in your pocket",
|
||||||
|
"hi": "\u0906\u092a\u0915\u0940 \u091c\u0947\u092c \u092e\u0947\u0902 \u092a\u094d\u0930\u093e\u0915\u0943\u0924\u093f\u0915 \u092a\u0947\u0936\u0947\u0935\u0930 \u092a\u094b\u0930\u094d\u091f\u094d\u0930\u0947\u091f \u0938\u0902\u092a\u093e\u0926\u0928"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"en": "The all-in-one portrait perfection suite. Remove acne, wrinkles, and eye flaws, whiten teeth, and smooth skin without losing natural pore textures. Powered by real-time neural models with batch export.",
|
||||||
|
"hi": "\u0938\u0930\u094d\u0935\u0936\u094d\u0930\u0947\u0937\u094d\u0920 \u092a\u094b\u0930\u094d\u091f\u094d\u0930\u0947\u091f \u0938\u0902\u092a\u093e\u0926\u0928 \u0910\u092a\u0964 \u092e\u0941\u0902\u0939\u093e\u0938\u0947, \u091d\u0941\u0930\u094d\u0930\u093f\u092f\u093e\u0902 \u0914\u0930 \u0926\u093e\u0917 \u0939\u091f\u093e\u090f\u0902, \u0926\u093e\u0902\u0924 \u0938\u092b\u0947\u0926 \u0915\u0930\u0947\u0902 \u0914\u0930 \u0924\u094d\u0935\u091a\u093e \u0915\u094b \u092a\u094d\u0930\u093e\u0915\u0943\u0924\u093f\u0915 \u092c\u0928\u093e\u0935\u091f \u0915\u0947 \u0938\u093e\u0925 \u0938\u0941\u0902\u0926\u0930 \u092c\u0928\u093e\u090f\u0902\u0964"
|
||||||
|
},
|
||||||
|
"stores": {
|
||||||
|
"android": {
|
||||||
|
"packageId": "com.creinnovations.portraitpro",
|
||||||
|
"url": "https://play.google.com/store/apps/details?id=com.creinnovations.portraitpro"
|
||||||
|
},
|
||||||
|
"ios": {
|
||||||
|
"appId": "1672384910",
|
||||||
|
"url": "https://apps.apple.com/app/id1672384910"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"deepLink": {
|
||||||
|
"base": "creinnovationsportrait://open",
|
||||||
|
"toolParam": "tool",
|
||||||
|
"sourceParam": "src",
|
||||||
|
"bonusParam": "promo"
|
||||||
|
},
|
||||||
|
"tools": [
|
||||||
|
"face.blemish.remove",
|
||||||
|
"face.eyeredness.remove",
|
||||||
|
"face.teeth.whitener",
|
||||||
|
"face.eyebag.remove"
|
||||||
|
],
|
||||||
|
"rating": {
|
||||||
|
"value": 4.8,
|
||||||
|
"count": 28400,
|
||||||
|
"source": "Google Play & App Store"
|
||||||
|
},
|
||||||
|
"welcomeBonus": {
|
||||||
|
"code": "TRYWEB50",
|
||||||
|
"title": "50 Free Pro Credits",
|
||||||
|
"description": "Install through this link to claim 50 free HD export credits in Portrait Studio AI."
|
||||||
|
},
|
||||||
|
"features": [
|
||||||
|
"Sub-millimeter pore-preserving acne & blemish removal",
|
||||||
|
"Natural eye redness & flash reflection correction",
|
||||||
|
"Multi-tone teeth whitening with enamel safeguard",
|
||||||
|
"Batch processing for entire photoshoot galleries",
|
||||||
|
"Lossless 4K PNG & RAW export"
|
||||||
|
],
|
||||||
|
"creditsNote": {
|
||||||
|
"en": "Credits and in-app purchases are specific to Portrait Studio AI.",
|
||||||
|
"hi": "\u0915\u094d\u0930\u0947\u0921\u093f\u091f \u0914\u0930 \u0907\u0928-\u0910\u092a \u0916\u0930\u0940\u0926\u093e\u0930\u0940 \u0915\u0947\u0935\u0932 \u092a\u094b\u0930\u094d\u091f\u094d\u0930\u0947\u091f \u0938\u094d\u091f\u0942\u0921\u093f\u092f\u094b \u090f\u0906\u0908 \u0915\u0947 \u0932\u093f\u090f \u0935\u093f\u0936\u093f\u0937\u094d\u091f \u0939\u0948\u0902\u0964"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
{
|
||||||
|
"id": "apps-index",
|
||||||
|
"route": "/apps",
|
||||||
|
"status": "published",
|
||||||
|
"seo": {
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"sections": [
|
||||||
|
{
|
||||||
|
"id": "apps-header",
|
||||||
|
"type": "hero",
|
||||||
|
"variant": "centered",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Specialized Mobile Apps for Every Photo Task",
|
||||||
|
"hi": "\u0939\u0930 \u092b\u094b\u091f\u094b \u0915\u093e\u0930\u094d\u092f \u0915\u0947 \u0932\u093f\u090f \u0938\u092e\u0930\u094d\u092a\u093f\u0924 \u092e\u094b\u092c\u093e\u0907\u0932 \u0910\u092a\u094d\u0938"
|
||||||
|
},
|
||||||
|
"subtitle": {
|
||||||
|
"en": "Enjoy lightning-fast on-device neural acceleration, batch processing, RAW & 4K exports, and creative toolkits on iOS and Android.",
|
||||||
|
"hi": "\u0906\u0908\u0913\u090f\u0938 \u0914\u0930 \u090f\u0902\u0921\u094d\u0930\u0949\u0907\u0921 \u092a\u0930 \u0938\u0941\u092a\u0930\u092b\u093c\u093e\u0938\u094d\u091f \u0928\u094d\u092f\u0942\u0930\u0932 \u0938\u094d\u092a\u0940\u0921, \u092c\u0948\u091a \u092a\u094d\u0930\u094b\u0938\u0947\u0938\u093f\u0902\u0917 \u0914\u0930 4K \u0928\u093f\u0930\u094d\u092f\u093e\u0924 \u0915\u093e \u0906\u0928\u0902\u0926 \u0932\u0947\u0902\u0964"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "apps-list",
|
||||||
|
"type": "appCards",
|
||||||
|
"props": {
|
||||||
|
"source": "all",
|
||||||
|
"layout": "detailed",
|
||||||
|
"showRating": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "apps-pricing-note",
|
||||||
|
"type": "pricingExplainer",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "How App Pricing & Credits Work",
|
||||||
|
"hi": "\u0910\u092a \u092e\u0942\u0932\u094d\u092f \u0928\u093f\u0930\u094d\u0927\u093e\u0930\u0923 \u0914\u0930 \u0915\u094d\u0930\u0947\u0921\u093f\u091f \u0915\u0948\u0938\u0947 \u0915\u093e\u092e \u0915\u0930\u0924\u0947 \u0939\u0948\u0902"
|
||||||
|
},
|
||||||
|
"notes": [
|
||||||
|
"Every app offers free trial credits upon installation.",
|
||||||
|
"Credits and purchases are specific to each individual app and store account.",
|
||||||
|
"No shared wallets or cross-app subscriptions \u2014 you only pay for the exact tools you use.",
|
||||||
|
"Purchases are safely processed by Apple App Store or Google Play Store."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,248 @@
|
|||||||
|
{
|
||||||
|
"id": "home",
|
||||||
|
"route": "/",
|
||||||
|
"status": "published",
|
||||||
|
"seo": {
|
||||||
|
"title": "CRE Innovations | Advanced AI Photo Tools & Creative Studio",
|
||||||
|
"description": "Transform photos in seconds with CRE Innovations neural vision models: acne removal, P3M background matting, 4K photo restoration, and anime avatars.",
|
||||||
|
"indexable": true
|
||||||
|
},
|
||||||
|
"sections": [
|
||||||
|
{
|
||||||
|
"id": "hero-section",
|
||||||
|
"type": "hero",
|
||||||
|
"variant": "tryit",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Transform Photos with Next-Gen Neural AI",
|
||||||
|
"hi": "नेक्स्ट-जेन न्यूरल एआई के साथ फोटो बदलें"
|
||||||
|
},
|
||||||
|
"subtitle": {
|
||||||
|
"en": "Advanced neural vision tools with zero sign-up and zero data retention. Process high-resolution portraits, precision cutouts, and restorations directly in your browser.",
|
||||||
|
"hi": "बिना साइन-अप के स्टूडियो-ग्रेड फोटो टूल्स मुफ़्त में आज़माएं। हमारे मोबाइल ऐप्स में 4K एक्सपोर्ट प्राप्त करें।"
|
||||||
|
},
|
||||||
|
"tryIt": {
|
||||||
|
"toolRef": "face.blemish.remove"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "live-reel",
|
||||||
|
"type": "mediaShowcase",
|
||||||
|
"props": {
|
||||||
|
"title": "Visual Media & Transformation Reel",
|
||||||
|
"badge": "CURATED CREATIVE GALLERY",
|
||||||
|
"subtitle": "High-resolution photography, 4K video clips, and creative transformations produced by CRE neural tools.",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"id": "video-retouch-reel",
|
||||||
|
"type": "video",
|
||||||
|
"title": "4K Studio Model Portrait Session",
|
||||||
|
"category": "VIDEO ENHANCEMENT",
|
||||||
|
"badge": "4K 60FPS VIDEO",
|
||||||
|
"description": "Continuous temporal facial neural retouching across dynamic video frames with zero flicker.",
|
||||||
|
"videoUrl": "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4",
|
||||||
|
"poster": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"link": "/tools/blemish-remover",
|
||||||
|
"tag": "Temporal Retouching"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "hair-alpha-photo",
|
||||||
|
"type": "photo",
|
||||||
|
"title": "Fine Flyaway Strand Alpha Extraction",
|
||||||
|
"category": "HAIR CUTOUT",
|
||||||
|
"badge": "ULTRA HD PHOTO",
|
||||||
|
"description": "Microscopic hair fiber separation preserving semi-transparent boundary details for editorial covers.",
|
||||||
|
"image": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"link": "/tools/background-remover",
|
||||||
|
"tag": "0.02px Edge Trim"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "restoration-comparison",
|
||||||
|
"type": "comparison",
|
||||||
|
"title": "4K Generative Facial Restoration",
|
||||||
|
"category": "SUPER-RESOLUTION",
|
||||||
|
"badge": "SIDE-BY-SIDE",
|
||||||
|
"description": "Deep neural priors reconstruct iris sharpness and realistic skin pores from compressed source photos.",
|
||||||
|
"beforeUrl": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"afterUrl": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"link": "/tools/photo-enhancer",
|
||||||
|
"tag": "Iris Sharpness"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "stats-section",
|
||||||
|
"type": "stats",
|
||||||
|
"props": {
|
||||||
|
"items": [
|
||||||
|
{ "value": "140M+", "label": "Photos Enhanced" },
|
||||||
|
{ "value": "4.9 ★", "label": "App Store & Play Rating" },
|
||||||
|
{ "value": "4K", "label": "Ultra HD Lossless Export" },
|
||||||
|
{ "value": "4 Apps", "label": "Dedicated Mobile Suites" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "flagship-banners",
|
||||||
|
"type": "majorToolBanners",
|
||||||
|
"props": {
|
||||||
|
"title": "Interactive Model Showcase",
|
||||||
|
"badge": "FLAGSHIP TRANSFORMATION MODELS",
|
||||||
|
"subtitle": "Scroll down to seamlessly explore next-generation neural engines in real-time.",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"id": "alpha-matting",
|
||||||
|
"index": "01 / 03",
|
||||||
|
"tabLabel": "01 ALPHA",
|
||||||
|
"category": "FINE MATTING & CUTOUT",
|
||||||
|
"model": "P3M-Net Dual-Stream Alpha",
|
||||||
|
"latency": "< 520ms Stream",
|
||||||
|
"title": "Hair-Strand Matting & Alpha Isolation",
|
||||||
|
"tagline": "Sub-pixel hair strands, transparent veils, and motion blur cutout.",
|
||||||
|
"description": "Proprietary dual-stream deep neural network isolates fine flyaway hair, complex textures, and semi-transparent boundaries in studio portraits with pixel-level precision.",
|
||||||
|
"variant": "comparison",
|
||||||
|
"beforeUrl": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"afterUrl": "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"toolSlug": "background-remover",
|
||||||
|
"appSlug": "bg-cleaner-app",
|
||||||
|
"appName": "Magic Cutout",
|
||||||
|
"specs": ["0.02px edge preservation", "Alpha PNG lossless stream", "Studio hair detail"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "editorial-portrait-banner",
|
||||||
|
"index": "02 / 03",
|
||||||
|
"tabLabel": "02 BANNER",
|
||||||
|
"category": "STUDIO PRO BANNER",
|
||||||
|
"model": "RetouchGAN v2.1 Prime",
|
||||||
|
"latency": "< 380ms Stream",
|
||||||
|
"title": "Editorial Portrait Engine Pro",
|
||||||
|
"tagline": "Next-generation sub-pore epidermal synthesis.",
|
||||||
|
"description": "Transform commercial model photography with authentic skin pore preservation. Retain real freckles, iris glints, and fine texture with zero plastic artificial blur.",
|
||||||
|
"variant": "banner",
|
||||||
|
"bannerImage": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=1200&auto=format&fit=crop&q=80",
|
||||||
|
"bannerBadge": "PRO EDITION • LOSSLESS FP16",
|
||||||
|
"toolSlug": "blemish-remover",
|
||||||
|
"appSlug": "portrait-app",
|
||||||
|
"appName": "Portrait Studio AI",
|
||||||
|
"specs": ["Sub-pore texture matrix", "Authentic epidermal micro-details", "Lossless 4K color gamut"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "super-resolution",
|
||||||
|
"index": "03 / 03",
|
||||||
|
"tabLabel": "03 4K",
|
||||||
|
"category": "4K SUPER-RESOLUTION",
|
||||||
|
"model": "GFPGAN + RealESRGAN Ultra",
|
||||||
|
"latency": "< 460ms Stream",
|
||||||
|
"title": "4K Super-Resolution & Facial Deblurring",
|
||||||
|
"tagline": "Transform low-resolution snapshots into crystal-clear 4K portraits.",
|
||||||
|
"description": "Deep neural priors restore authentic iris sharpness, eyelash detail, and facial contours on blurry, out-of-focus, or highly compressed photos, yielding gallery-ready clarity with zero guesswork.",
|
||||||
|
"variant": "comparison",
|
||||||
|
"beforeUrl": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"afterUrl": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"toolSlug": "photo-enhancer",
|
||||||
|
"appSlug": "photo-enhancer-pro",
|
||||||
|
"appName": "Enhance Ultra AI",
|
||||||
|
"specs": ["Iris & eyelash synthesis", "400% lossless super-resolution", "Studio-grade crispness"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "tools-vertical-stack",
|
||||||
|
"type": "verticalToolStack",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "The Creative Studio Suite",
|
||||||
|
"hi": "क्रिएटिव स्टूडियो सूट"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "workflow-pipeline",
|
||||||
|
"type": "workflowVisualizer",
|
||||||
|
"props": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "apps-section",
|
||||||
|
"type": "appCards",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Specialized Mobile Apps for Every Creative Task",
|
||||||
|
"hi": "हर रचनात्मक कार्य के लिए समर्पित मोबाइल ऐप्स"
|
||||||
|
},
|
||||||
|
"subtitle": {
|
||||||
|
"en": "Ready for high volume batch editing and lossless 4K export? Download our dedicated mobile apps for iOS and Android.",
|
||||||
|
"hi": "बैच संपादन और 4K निर्यात के लिए तैयार हैं? हमारे समर्पित मोबाइल ऐप डाउनलोड करें।"
|
||||||
|
},
|
||||||
|
"source": "all",
|
||||||
|
"showRating": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "quiz-section",
|
||||||
|
"type": "appPicker",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Not Sure Which Tool You Need?",
|
||||||
|
"hi": "निश्चय नहीं कि कौन सा टूल चाहिए?"
|
||||||
|
},
|
||||||
|
"subtitle": {
|
||||||
|
"en": "Select your creative goal to get an instant tailored recommendation.",
|
||||||
|
"hi": "त्वरित अनुशंसा प्राप्त करने के लिए अपना लक्ष्य चुनें।"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "home-faqs",
|
||||||
|
"type": "faq",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Frequently Asked Questions",
|
||||||
|
"hi": "अक्सर पूछे जाने वाले प्रश्न"
|
||||||
|
},
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"q": "Is the online web try 100% free without signing up?",
|
||||||
|
"a": "Yes! You receive daily free tries across every tool without creating an account, giving an email, or entering a credit card."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"q": "What is the CRE Innovations Zero-Storage Policy?",
|
||||||
|
"a": "When you process a photo on our web try tools, the pixels are analyzed exclusively in volatile RAM and streamed directly back to your browser session. Your photos are never stored on disk, logged, or used for model training."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"q": "Why does each tool link to a specific mobile app?",
|
||||||
|
"a": "Each CRE Innovations app is engineered for a specific craft (e.g. Portrait Studio AI for face retouching, Magic Cutout Studio for ecommerce and object removal). This ensures the fastest on-device neural acceleration and deep slider controls."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"q": "How do in-app purchases and credits work?",
|
||||||
|
"a": "Free web tries are available daily on this website. When you install our mobile apps, in-app purchases and credit packs are handled safely through Apple App Store and Google Play Store. Purchases and credits are specific to each individual app."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "cta-banner",
|
||||||
|
"type": "ctaBanner",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Ready to Transform Your Visuals?",
|
||||||
|
"hi": "क्या आप अपनी तस्वीरों को बदलने के लिए तैयार हैं?"
|
||||||
|
},
|
||||||
|
"subtitle": {
|
||||||
|
"en": "Launch any of our 8+ AI photo tools online or download the apps for Android & iOS with 50 bonus credits.",
|
||||||
|
"hi": "ऑनलाइन 8+ एआई फोटो टूल्स आज़माएं या 50 बोनस क्रेडिट के साथ ऐप डाउनलोड करें।"
|
||||||
|
},
|
||||||
|
"primaryCta": {
|
||||||
|
"label": { "en": "Explore All Free Tools", "hi": "सभी टूल्स देखें" },
|
||||||
|
"href": "/tools"
|
||||||
|
},
|
||||||
|
"secondaryCta": {
|
||||||
|
"label": { "en": "Get Mobile Apps", "hi": "मोबाइल ऐप प्राप्त करें" },
|
||||||
|
"href": "/apps"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
{
|
||||||
|
"id": "pricing",
|
||||||
|
"route": "/pricing",
|
||||||
|
"status": "published",
|
||||||
|
"seo": {
|
||||||
|
"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": [
|
||||||
|
{
|
||||||
|
"id": "pricing-header",
|
||||||
|
"type": "hero",
|
||||||
|
"variant": "centered",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Transparent, App-Specific Pricing",
|
||||||
|
"hi": "\u092a\u093e\u0930\u0926\u0930\u094d\u0936\u0940, \u0910\u092a-\u0935\u093f\u0936\u093f\u0937\u094d\u091f \u092e\u0942\u0932\u094d\u092f \u0928\u093f\u0930\u094d\u0927\u093e\u0930\u0923"
|
||||||
|
},
|
||||||
|
"subtitle": {
|
||||||
|
"en": "Try every tool 100% free on this website. When you are ready for professional batch tools and 4K export, download the dedicated mobile app.",
|
||||||
|
"hi": "\u0907\u0938 \u0935\u0947\u092c\u0938\u093e\u0907\u091f \u092a\u0930 \u0939\u0930 \u091f\u0942\u0932 \u0915\u094b 100% \u092e\u0941\u092b\u093c\u094d\u0924 \u092e\u0947\u0902 \u0906\u091c\u093c\u092e\u093e\u090f\u0902\u0964 \u092a\u0947\u0936\u0947\u0935\u0930 4K \u0928\u093f\u0930\u094d\u092f\u093e\u0924 \u0915\u0947 \u0932\u093f\u090f \u092e\u094b\u092c\u093e\u0907\u0932 \u0910\u092a \u0921\u093e\u0909\u0928\u0932\u094b\u0921 \u0915\u0930\u0947\u0902\u0964"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "pricing-comparison",
|
||||||
|
"type": "pricingExplainer",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Web Free Try vs Mobile Apps",
|
||||||
|
"hi": "\u0935\u0947\u092c \u092e\u0941\u092b\u093c\u094d\u0924 \u0906\u091c\u093c\u092e\u093e\u0907\u0936 \u092c\u0928\u093e\u092e \u092e\u094b\u092c\u093e\u0907\u0932 \u0910\u092a\u094d\u0938"
|
||||||
|
},
|
||||||
|
"notes": [
|
||||||
|
"Web Try: Free daily processing on all tools with standard HD resolution.",
|
||||||
|
"Mobile Apps: Offer flexible subscriptions and one-time credit packs directly in Google Play and Apple App Store.",
|
||||||
|
"Store Safety: All transactions are processed through Google and Apple with standard refund protection and family sharing.",
|
||||||
|
"No Cross-App Wallets: Credits and purchases are specific to each individual app."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "pricing-apps-cards",
|
||||||
|
"type": "appCards",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Choose Your Dedicated Mobile App",
|
||||||
|
"hi": "\u0905\u092a\u0928\u093e \u0938\u092e\u0930\u094d\u092a\u093f\u0924 \u092e\u094b\u092c\u093e\u0907\u0932 \u0910\u092a \u091a\u0941\u0928\u0947\u0902"
|
||||||
|
},
|
||||||
|
"source": "all",
|
||||||
|
"showRating": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"id": "privacy",
|
||||||
|
"route": "/privacy",
|
||||||
|
"status": "published",
|
||||||
|
"seo": {
|
||||||
|
"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": [
|
||||||
|
{
|
||||||
|
"id": "privacy-header",
|
||||||
|
"type": "hero",
|
||||||
|
"variant": "centered",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Privacy Policy",
|
||||||
|
"hi": "\u0917\u094b\u092a\u0928\u0940\u092f\u0924\u093e \u0928\u0940\u0924\u093f"
|
||||||
|
},
|
||||||
|
"subtitle": {
|
||||||
|
"en": "Last updated: November 2026. Clear and honest terms regarding your personal photos.",
|
||||||
|
"hi": "\u0905\u0902\u0924\u093f\u092e \u0905\u0926\u094d\u092f\u0924\u0928: \u0928\u0935\u0902\u092c\u0930 2026\u0964"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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 [email protected]."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"id": "terms",
|
||||||
|
"route": "/terms",
|
||||||
|
"status": "published",
|
||||||
|
"seo": {
|
||||||
|
"title": "Terms of Service | CRE Innovations",
|
||||||
|
"description": "CRE Innovations Terms of Service. Acceptable use policy and mobile app handoff terms.",
|
||||||
|
"indexable": true
|
||||||
|
},
|
||||||
|
"sections": [
|
||||||
|
{
|
||||||
|
"id": "terms-header",
|
||||||
|
"type": "hero",
|
||||||
|
"variant": "centered",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Terms of Service",
|
||||||
|
"hi": "\u0938\u0947\u0935\u093e \u0915\u0940 \u0936\u0930\u094d\u0924\u0947\u0902"
|
||||||
|
},
|
||||||
|
"subtitle": {
|
||||||
|
"en": "Guidelines and conditions for using CRE Innovations web and mobile services.",
|
||||||
|
"hi": "\u0936\u0930\u094d\u0924\u0947\u0902 \u0914\u0930 \u0926\u093f\u0936\u093e\u0928\u093f\u0930\u094d\u0926\u0947\u0936\u0964"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "terms-content",
|
||||||
|
"type": "richText",
|
||||||
|
"props": {
|
||||||
|
"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."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 156 KiB |
|
After Width: | Height: | Size: 92 KiB |
@@ -0,0 +1,105 @@
|
|||||||
|
{
|
||||||
|
"id": "cutout.p3m.bg",
|
||||||
|
"slug": "background-remover",
|
||||||
|
"status": "published",
|
||||||
|
"category": "background-cutout",
|
||||||
|
"name": {
|
||||||
|
"en": "AI Background Remover (P3M)",
|
||||||
|
"hi": "एआई बैकग्राउंड रिमूवर (P3M)"
|
||||||
|
},
|
||||||
|
"summary": {
|
||||||
|
"en": "Isolate people and products instantly with sub-pixel hair strand precision and transparent background.",
|
||||||
|
"hi": "बालों के बारीक रेशों तक सटीक बैकग्राउंड हटाएं और पारदर्शी पीएनजी प्राप्त करें।"
|
||||||
|
},
|
||||||
|
"homeApp": "bg-cleaner-app",
|
||||||
|
"alsoIn": [],
|
||||||
|
"featured": true,
|
||||||
|
"tryIt": {
|
||||||
|
"enabled": true,
|
||||||
|
"endpointRef": {
|
||||||
|
"id": "api-bg-remover-p3m"
|
||||||
|
},
|
||||||
|
"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": "Upload any photo containing people, portraits, or e-commerce products.",
|
||||||
|
"hi": "लोग, पोर्ट्रेट या उत्पाद वाली कोई भी तस्वीर अपलोड करें।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Auto Matte",
|
||||||
|
"hi": "स्वचालित मैट"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "P3M deep neural net calculates the precise alpha matte in seconds.",
|
||||||
|
"hi": "P3M मॉडल तुरंत सटीक अल्फा मैट की गणना करता है।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Download PNG",
|
||||||
|
"hi": "पीएनजी डाउनलोड करें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Download your transparent PNG or open in Magic Cutout Studio for custom backdrops.",
|
||||||
|
"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": "Clean cutout around fine hair and shoulders"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faqs": [
|
||||||
|
{
|
||||||
|
"q": "How does P3M handle difficult flyaway hair?",
|
||||||
|
"a": "P3M (Privacy-Preserving Portrait Matting) uses dual-stream architecture specifically trained to detect fine hair strands and semi-transparent edges without harsh halo outlines."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"q": "Can I replace the background with custom colors or scenes?",
|
||||||
|
"a": "Yes! Download the transparent PNG for your design tools, or tap 'Open in Magic Cutout Studio' to pick from 500+ studio backdrops and product podiums."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"related": [
|
||||||
|
"cutout.lama.erase",
|
||||||
|
"face.blemish.remove",
|
||||||
|
"restore.enhancer"
|
||||||
|
],
|
||||||
|
"seo": {
|
||||||
|
"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."
|
||||||
|
},
|
||||||
|
"displayType": "beforeAfter",
|
||||||
|
"media": {
|
||||||
|
"before": "/management/pages/tools/background-remover/media/before.jpg",
|
||||||
|
"after": "/management/pages/tools/background-remover/media/after.jpg",
|
||||||
|
"remoteBeforeFallback": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"remoteAfterFallback": "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=800&auto=format&fit=crop&q=80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 161 KiB |
|
After Width: | Height: | Size: 65 KiB |
@@ -0,0 +1,117 @@
|
|||||||
|
{
|
||||||
|
"id": "face.blemish.remove",
|
||||||
|
"slug": "blemish-remover",
|
||||||
|
"status": "published",
|
||||||
|
"category": "portrait-retouch",
|
||||||
|
"name": {
|
||||||
|
"en": "AI Blemish & Acne Remover",
|
||||||
|
"hi": "एआई मुंहासे और दाग हटाने वाला"
|
||||||
|
},
|
||||||
|
"summary": {
|
||||||
|
"en": "Remove acne, pimples, scars, and eye defects while preserving natural skin pores.",
|
||||||
|
"hi": "प्राकृतिक त्वचा के छिद्रों को सुरक्षित रखते हुए मुंहासे, दाग और आंखों के दोष हटाएं।"
|
||||||
|
},
|
||||||
|
"homeApp": "portrait-app",
|
||||||
|
"alsoIn": [],
|
||||||
|
"featured": true,
|
||||||
|
"tryIt": {
|
||||||
|
"enabled": true,
|
||||||
|
"endpointRef": {
|
||||||
|
"id": "api-blemish-remover",
|
||||||
|
"defaultVariant": "image"
|
||||||
|
},
|
||||||
|
"variantControl": {
|
||||||
|
"type": "radio",
|
||||||
|
"label": {
|
||||||
|
"en": "Select Retouching Mode",
|
||||||
|
"hi": "संपादन मोड चुनें"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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 clear portrait or selfie from your device.",
|
||||||
|
"hi": "अपने डिवाइस से कोई भी स्पष्ट तस्वीर चुनें।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Choose fix mode",
|
||||||
|
"hi": "मोड चुनें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Pick Acne Removal, Eye Fix, or Overall Skin Smoothening.",
|
||||||
|
"hi": "मुंहासे हटाना, आंखें सुधारना या त्वचा स्मूथ करना चुनें।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Instant result",
|
||||||
|
"hi": "तत्काल परिणाम"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Download your retouched photo or open in Portrait Studio AI for 4K export.",
|
||||||
|
"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-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"caption": "Natural blemish clean up with intact skin texture"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faqs": [
|
||||||
|
{
|
||||||
|
"q": "Does this make the skin look plastic or blurry?",
|
||||||
|
"a": "No! Our neural model identifies individual acne, moles, and surface flaws and reconstructs only those localized areas while keeping natural skin pores and micro-textures 100% intact."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"q": "Is my uploaded photo kept private?",
|
||||||
|
"a": "Yes, absolutely. The free online try streams the result directly back to your browser session. Your photos are never stored on public servers or used to train public models."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"q": "How can I get higher resolution output?",
|
||||||
|
"a": "The free web try outputs standard HD quality. For batch processing, full 4K lossless RAW export, and advanced sliders, open the tool in Portrait Studio AI."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"related": [
|
||||||
|
"face.eyeredness.remove",
|
||||||
|
"face.teeth.whitener",
|
||||||
|
"face.eyebag.remove"
|
||||||
|
],
|
||||||
|
"seo": {
|
||||||
|
"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."
|
||||||
|
},
|
||||||
|
"displayType": "beforeAfter",
|
||||||
|
"media": {
|
||||||
|
"before": "/management/pages/tools/blemish-remover/media/before.jpg",
|
||||||
|
"after": "/management/pages/tools/blemish-remover/media/after.jpg",
|
||||||
|
"remoteBeforeFallback": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"remoteAfterFallback": "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 65 KiB |
@@ -0,0 +1,101 @@
|
|||||||
|
{
|
||||||
|
"id": "art.cartoon.gan",
|
||||||
|
"slug": "cartoon-avatar",
|
||||||
|
"status": "published",
|
||||||
|
"category": "creative-art",
|
||||||
|
"name": {
|
||||||
|
"en": "CartoonGAN & Anime Avatar Maker",
|
||||||
|
"hi": "\u0915\u093e\u0930\u094d\u091f\u0942\u0928\u0917\u0948\u0928 \u0914\u0930 \u090f\u0928\u0940\u092e\u0947 \u0905\u0935\u0924\u093e\u0930 \u092e\u0947\u0915\u0930"
|
||||||
|
},
|
||||||
|
"summary": {
|
||||||
|
"en": "Turn any portrait or selfie into an illustrated anime character or comic book avatar.",
|
||||||
|
"hi": "\u0915\u093f\u0938\u0940 \u092d\u0940 \u092a\u094b\u0930\u094d\u091f\u094d\u0930\u0947\u091f \u092f\u093e \u0938\u0947\u0932\u094d\u092b\u093c\u0940 \u0915\u094b \u090f\u0928\u093f\u092e\u0947\u091f\u0947\u0921 \u090f\u0928\u0940\u092e\u0947 \u092f\u093e \u0915\u0949\u092e\u093f\u0915 \u092c\u0941\u0915 \u0905\u0935\u0924\u093e\u0930 \u092e\u0947\u0902 \u092c\u0926\u0932\u0947\u0902\u0964"
|
||||||
|
},
|
||||||
|
"homeApp": "art-studio-app",
|
||||||
|
"alsoIn": [],
|
||||||
|
"featured": true,
|
||||||
|
"tryIt": {
|
||||||
|
"enabled": true,
|
||||||
|
"endpointRef": {
|
||||||
|
"id": "api-cartoon-avatar"
|
||||||
|
},
|
||||||
|
"limits": {
|
||||||
|
"perDay": 5,
|
||||||
|
"maxMB": 12,
|
||||||
|
"maxPixels": 16000000,
|
||||||
|
"formats": [
|
||||||
|
"jpg",
|
||||||
|
"png",
|
||||||
|
"webp",
|
||||||
|
"heic"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"quality": "standard",
|
||||||
|
"showAppCta": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Upload Selfie",
|
||||||
|
"hi": "\u0938\u0947\u0932\u094d\u092b\u093c\u0940 \u0905\u092a\u0932\u094b\u0921 \u0915\u0930\u0947\u0902"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Upload a well-lit photo of your face.",
|
||||||
|
"hi": "\u0905\u092a\u0928\u0947 \u091a\u0947\u0939\u0930\u0947 \u0915\u0940 \u0905\u091a\u094d\u091b\u0940 \u0930\u094b\u0936\u0928\u0940 \u0935\u093e\u0932\u0940 \u0924\u0938\u094d\u0935\u0940\u0930 \u0905\u092a\u0932\u094b\u0921 \u0915\u0930\u0947\u0902\u0964"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Cartoon Stylize",
|
||||||
|
"hi": "\u0915\u093e\u0930\u094d\u091f\u0942\u0928 \u0938\u094d\u091f\u093e\u0907\u0932 \u0932\u093e\u0917\u0942 \u0915\u0930\u0947\u0902"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Generative adversarial networks extract linework and cel shading.",
|
||||||
|
"hi": "\u092e\u0949\u0921\u0932 \u0924\u0941\u0930\u0902\u0924 \u090f\u0928\u0940\u092e\u0947 \u0932\u093e\u0907\u0928\u0935\u0930\u094d\u0915 \u0914\u0930 \u0936\u0947\u0921\u093f\u0902\u0917 \u0924\u0948\u092f\u093e\u0930 \u0915\u0930\u0924\u093e \u0939\u0948\u0964"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Download Avatar",
|
||||||
|
"hi": "\u0905\u0935\u0924\u093e\u0930 \u0921\u093e\u0909\u0928\u0932\u094b\u0921 \u0915\u0930\u0947\u0902"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Download your high-res anime profile pic or unlock 50+ styles in the app.",
|
||||||
|
"hi": "\u0905\u092a\u0928\u0940 \u092a\u094d\u0930\u094b\u092b\u093c\u093e\u0907\u0932 \u0924\u0938\u094d\u0935\u0940\u0930 \u0921\u093e\u0909\u0928\u0932\u094b\u0921 \u0915\u0930\u0947\u0902 \u092f\u093e \u0910\u092a \u092e\u0947\u0902 50+ \u0936\u0948\u0932\u093f\u092f\u093e\u0901 \u0906\u091c\u093c\u092e\u093e\u090f\u0902\u0964"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"before": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"after": "https://images.unsplash.com/photo-1578632767115-351597cf2477?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"caption": "Crisp manga ink contouring and anime cel color"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faqs": [
|
||||||
|
{
|
||||||
|
"q": "Will my friends recognize me in the cartoon?",
|
||||||
|
"a": "Yes! CartoonGAN is tuned to preserve facial identity, eyes, smile geometry, and hairstyle while redrawing in artistic animation aesthetics."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"related": [
|
||||||
|
"art.polaroid.film",
|
||||||
|
"face.blemish.remove",
|
||||||
|
"restore.enhancer"
|
||||||
|
],
|
||||||
|
"seo": {
|
||||||
|
"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."
|
||||||
|
},
|
||||||
|
"displayType": "beforeAfter",
|
||||||
|
"media": {
|
||||||
|
"before": "/management/pages/tools/cartoon-avatar/media/before.jpg",
|
||||||
|
"after": "/management/pages/tools/cartoon-avatar/media/after.jpg",
|
||||||
|
"remoteBeforeFallback": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"remoteAfterFallback": "https://images.unsplash.com/photo-1578632767115-351597cf2477?w=800&auto=format&fit=crop&q=80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 82 KiB |
@@ -0,0 +1,100 @@
|
|||||||
|
{
|
||||||
|
"id": "restore.colorization",
|
||||||
|
"slug": "colorization",
|
||||||
|
"status": "published",
|
||||||
|
"category": "restoration",
|
||||||
|
"name": {
|
||||||
|
"en": "Black & White Photo Colorizer",
|
||||||
|
"hi": "ब्लैक एंड व्हाइट फोटो कलराइज़र"
|
||||||
|
},
|
||||||
|
"summary": {
|
||||||
|
"en": "Colorize historical black-and-white portraits with natural skin tones and vibrant colors.",
|
||||||
|
"hi": "प्राकृतिक त्वचा के रंगों और जीवंत पृष्ठभूमि के साथ श्वेत-श्याम तस्वीरों में रंग भरें।"
|
||||||
|
},
|
||||||
|
"homeApp": "photo-enhancer-pro",
|
||||||
|
"alsoIn": [],
|
||||||
|
"featured": true,
|
||||||
|
"tryIt": {
|
||||||
|
"enabled": true,
|
||||||
|
"endpointRef": {
|
||||||
|
"id": "api-colorization"
|
||||||
|
},
|
||||||
|
"limits": {
|
||||||
|
"perDay": 5,
|
||||||
|
"maxMB": 12,
|
||||||
|
"maxPixels": 16000000,
|
||||||
|
"formats": [
|
||||||
|
"jpg",
|
||||||
|
"png",
|
||||||
|
"webp",
|
||||||
|
"heic"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"quality": "standard",
|
||||||
|
"showAppCta": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Upload B&W Photo",
|
||||||
|
"hi": "B&W फोटो अपलोड करें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Upload any monochrome, grayscale, or sepia portrait.",
|
||||||
|
"hi": "कोई भी मोनोक्रोम या सेपिया तस्वीर चुनें।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "AI Colorization",
|
||||||
|
"hi": "एआई कलराइजेशन"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Deep learning models predict realistic hue, saturation, and skin tones.",
|
||||||
|
"hi": "मॉडल त्वचा के टोन और कपड़ों के रंगों का अनुमान लगाता है।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Download Color Photo",
|
||||||
|
"hi": "रंगीन तस्वीर डाउनलोड करें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Download your full-color image in seconds.",
|
||||||
|
"hi": "कुछ ही सेकंड में अपनी रंगीन तस्वीर डाउनलोड करें।"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"before": "https://images.unsplash.com/photo-1544717305-2782549b5136?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"after": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"caption": "Warm natural skin tones and clothing color restoration"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faqs": [
|
||||||
|
{
|
||||||
|
"q": "How does the AI know which colors were originally there?",
|
||||||
|
"a": "The model has studied millions of historical archives and real-world scenes, recognizing textures of fabrics, foliage, sky, and human skin to apply accurate, contextually plausible colors."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"related": [
|
||||||
|
"restore.oldphoto",
|
||||||
|
"restore.enhancer"
|
||||||
|
],
|
||||||
|
"seo": {
|
||||||
|
"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."
|
||||||
|
},
|
||||||
|
"displayType": "beforeAfter",
|
||||||
|
"media": {
|
||||||
|
"before": "/management/pages/tools/colorization/media/before.jpg",
|
||||||
|
"after": "/management/pages/tools/colorization/media/after.jpg",
|
||||||
|
"remoteBeforeFallback": "https://images.unsplash.com/photo-1544717305-2782549b5136?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"remoteAfterFallback": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 206 KiB |
|
After Width: | Height: | Size: 102 KiB |
@@ -0,0 +1,101 @@
|
|||||||
|
{
|
||||||
|
"id": "restore.oldphoto",
|
||||||
|
"slug": "old-photo-restorer",
|
||||||
|
"status": "published",
|
||||||
|
"category": "restoration",
|
||||||
|
"name": {
|
||||||
|
"en": "Vintage Photo Restorer",
|
||||||
|
"hi": "विंटेज फोटो पुनर्स्थापक"
|
||||||
|
},
|
||||||
|
"summary": {
|
||||||
|
"en": "Erase scratches, tears, water stains, and sepia fade from historic family portraits.",
|
||||||
|
"hi": "ऐतिहासिक पारिवारिक तस्वीरों से खरोंच, फटन और धब्बे हटाएं।"
|
||||||
|
},
|
||||||
|
"homeApp": "photo-enhancer-pro",
|
||||||
|
"alsoIn": [],
|
||||||
|
"featured": true,
|
||||||
|
"tryIt": {
|
||||||
|
"enabled": true,
|
||||||
|
"endpointRef": {
|
||||||
|
"id": "api-old-photo-restore"
|
||||||
|
},
|
||||||
|
"limits": {
|
||||||
|
"perDay": 5,
|
||||||
|
"maxMB": 12,
|
||||||
|
"maxPixels": 16000000,
|
||||||
|
"formats": [
|
||||||
|
"jpg",
|
||||||
|
"png",
|
||||||
|
"webp",
|
||||||
|
"heic"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"quality": "standard",
|
||||||
|
"showAppCta": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Scan or snap photo",
|
||||||
|
"hi": "तस्वीर स्कैन करें या खींचें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Take a photo of your old physical print or upload a scanned file.",
|
||||||
|
"hi": "अपनी पुरानी प्रिंट की तस्वीर लें या स्कैन अपलोड करें।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "AI Restoration",
|
||||||
|
"hi": "एआई बहाली"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Neural inpainting detects crease lines, tears, and dust specks.",
|
||||||
|
"hi": "मॉडल दरारें, खरोंच और धूल के कणों को पहचानकर मिटाता है।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Preserve History",
|
||||||
|
"hi": "इतिहास सुरक्षित रखें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Download your restored family photo or add realistic colors.",
|
||||||
|
"hi": "पुनर्स्थापित पारिवारिक फोटो डाउनलोड करें या रंग भरें।"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"before": "https://images.unsplash.com/photo-1509198397868-475647b2a1e5?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"after": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"caption": "Deep scratch and folding seam removal"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faqs": [
|
||||||
|
{
|
||||||
|
"q": "Can this fix heavily torn or missing corners?",
|
||||||
|
"a": "Yes! The model analyzes the remaining surrounding context and reconstructs realistic backgrounds and textures to fill torn sections."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"related": [
|
||||||
|
"restore.colorization",
|
||||||
|
"restore.enhancer",
|
||||||
|
"face.blemish.remove"
|
||||||
|
],
|
||||||
|
"seo": {
|
||||||
|
"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."
|
||||||
|
},
|
||||||
|
"displayType": "beforeAfter",
|
||||||
|
"media": {
|
||||||
|
"before": "/management/pages/tools/old-photo-restorer/media/before.jpg",
|
||||||
|
"after": "/management/pages/tools/old-photo-restorer/media/after.jpg",
|
||||||
|
"remoteBeforeFallback": "https://images.unsplash.com/photo-1509198397868-475647b2a1e5?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"remoteAfterFallback": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?w=800&auto=format&fit=crop&q=80"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
{
|
||||||
|
"id": "tools-index",
|
||||||
|
"route": "/tools",
|
||||||
|
"status": "published",
|
||||||
|
"seo": {
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"sections": [
|
||||||
|
{
|
||||||
|
"id": "tools-header",
|
||||||
|
"type": "hero",
|
||||||
|
"variant": "centered",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "All Free Online AI Photo Tools",
|
||||||
|
"hi": "\u0938\u092d\u0940 \u0928\u093f\u0903\u0936\u0941\u0932\u094d\u0915 \u0911\u0928\u0932\u093e\u0907\u0928 \u090f\u0906\u0908 \u092b\u094b\u091f\u094b \u091f\u0942\u0932\u094d\u0938"
|
||||||
|
},
|
||||||
|
"subtitle": {
|
||||||
|
"en": "Select any tool to try instantly in your browser. No sign-up required. Download the full mobile app for 4K batch processing.",
|
||||||
|
"hi": "\u092c\u094d\u0930\u093e\u0909\u091c\u093c\u0930 \u092e\u0947\u0902 \u0924\u0941\u0930\u0902\u0924 \u0906\u091c\u093c\u092e\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u094b\u0908 \u092d\u0940 \u091f\u0942\u0932 \u091a\u0941\u0928\u0947\u0902\u0964 \u0915\u094b\u0908 \u0938\u093e\u0907\u0928-\u0905\u092a \u0906\u0935\u0936\u094d\u092f\u0915 \u0928\u0939\u0940\u0902 \u0939\u0948\u0964"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "all-tools-grid",
|
||||||
|
"type": "toolGrid",
|
||||||
|
"props": {
|
||||||
|
"source": "all",
|
||||||
|
"showCategoryFilter": true,
|
||||||
|
"showSearch": true,
|
||||||
|
"columns": 3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "tools-cta",
|
||||||
|
"type": "ctaBanner",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Need Batch Processing or 4K Lossless Export?",
|
||||||
|
"hi": "\u092c\u0948\u091a \u092a\u094d\u0930\u094b\u0938\u0947\u0938\u093f\u0902\u0917 \u092f\u093e 4K \u090f\u0915\u094d\u0938\u092a\u094b\u0930\u094d\u091f \u091a\u093e\u0939\u093f\u090f?"
|
||||||
|
},
|
||||||
|
"subtitle": {
|
||||||
|
"en": "Each tool connects directly to its dedicated mobile app with advanced brush tools and unlimited processing.",
|
||||||
|
"hi": "\u092a\u094d\u0930\u0924\u094d\u092f\u0947\u0915 \u091f\u0942\u0932 \u0938\u0940\u0927\u0947 \u0905\u092a\u0928\u0947 \u0938\u092e\u0930\u094d\u092a\u093f\u0924 \u092e\u094b\u092c\u093e\u0907\u0932 \u0910\u092a \u0938\u0947 \u091c\u0941\u0921\u093c\u0924\u093e \u0939\u0948\u0964"
|
||||||
|
},
|
||||||
|
"primaryCta": {
|
||||||
|
"label": {
|
||||||
|
"en": "View Mobile Apps",
|
||||||
|
"hi": "\u092e\u094b\u092c\u093e\u0907\u0932 \u0910\u092a \u0926\u0947\u0916\u0947\u0902"
|
||||||
|
},
|
||||||
|
"href": "/apps"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 157 KiB |
@@ -0,0 +1,113 @@
|
|||||||
|
{
|
||||||
|
"id": "restore.enhancer",
|
||||||
|
"slug": "photo-enhancer",
|
||||||
|
"status": "published",
|
||||||
|
"category": "restoration",
|
||||||
|
"name": {
|
||||||
|
"en": "Ultra HD AI Photo Enhancer",
|
||||||
|
"hi": "अल्ट्रा एचडी एआई फोटो एन्हांसर"
|
||||||
|
},
|
||||||
|
"summary": {
|
||||||
|
"en": "Sharpen blurry photos, recover facial features, and upscale low-resolution images into HD clarity.",
|
||||||
|
"hi": "धुंधली तस्वीरों को शार्प करें, चेहरे की विशेषताओं को निखारें और एचडी स्पष्टता पाएं।"
|
||||||
|
},
|
||||||
|
"homeApp": "photo-enhancer-pro",
|
||||||
|
"alsoIn": [],
|
||||||
|
"featured": true,
|
||||||
|
"tryIt": {
|
||||||
|
"enabled": true,
|
||||||
|
"endpointRef": {
|
||||||
|
"id": "api-new-enhancer",
|
||||||
|
"defaultVariant": "image"
|
||||||
|
},
|
||||||
|
"variantControl": {
|
||||||
|
"type": "radio",
|
||||||
|
"label": {
|
||||||
|
"en": "Enhancement Strength",
|
||||||
|
"hi": "एन्हांसमेंट तीव्रता"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"limits": {
|
||||||
|
"perDay": 5,
|
||||||
|
"maxMB": 12,
|
||||||
|
"maxPixels": 16000000,
|
||||||
|
"formats": [
|
||||||
|
"jpg",
|
||||||
|
"png",
|
||||||
|
"webp",
|
||||||
|
"heic"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"quality": "standard",
|
||||||
|
"showAppCta": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Upload Photo",
|
||||||
|
"hi": "तस्वीर अपलोड करें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Upload blurry, out-of-focus, or pixelated photos.",
|
||||||
|
"hi": "धुंधली या कम रिज़ॉल्यूशन वाली तस्वीर चुनें।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Select Mode",
|
||||||
|
"hi": "मोड चुनें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Choose Ultra HD 2x for maximum sharpness or Balanced Clarity.",
|
||||||
|
"hi": "अल्ट्रा एचडी या संतुलित स्पष्टता चुनें।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Download HD",
|
||||||
|
"hi": "एचडी डाउनलोड करें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Enjoy stunning sharpness or unlock 8x 4K upscaling in Enhance Ultra AI.",
|
||||||
|
"hi": "शानदार शार्पनेस का आनंद लें या ऐप में 8x 4K अनलॉक करें।"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"before": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"after": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"caption": "Reconstructed facial details and iris sharpness"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faqs": [
|
||||||
|
{
|
||||||
|
"q": "How does AI photo enhancement work?",
|
||||||
|
"a": "Our models have learned the underlying statistics of millions of natural high-definition portraits and textures. When given a low-res image, it intelligently infills realistic fine details like eyelashes, eyebrows, and skin pores."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"q": "Can it fix motion blur or camera shake?",
|
||||||
|
"a": "Yes! The model specifically deblurs motion artifacts and sharpens soft camera focus."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"related": [
|
||||||
|
"restore.oldphoto",
|
||||||
|
"restore.colorization",
|
||||||
|
"face.blemish.remove"
|
||||||
|
],
|
||||||
|
"seo": {
|
||||||
|
"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."
|
||||||
|
},
|
||||||
|
"displayType": "beforeAfter",
|
||||||
|
"media": {
|
||||||
|
"before": "/management/pages/tools/photo-enhancer/media/before.jpg",
|
||||||
|
"after": "/management/pages/tools/photo-enhancer/media/after.jpg",
|
||||||
|
"remoteBeforeFallback": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"remoteAfterFallback": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 206 KiB |
|
After Width: | Height: | Size: 161 KiB |
@@ -0,0 +1,100 @@
|
|||||||
|
{
|
||||||
|
"id": "art.polaroid.film",
|
||||||
|
"slug": "polaroid-maker",
|
||||||
|
"status": "published",
|
||||||
|
"category": "creative-art",
|
||||||
|
"name": {
|
||||||
|
"en": "Vintage Polaroid & Film Filter",
|
||||||
|
"hi": "विंटेज पोलरॉइड और फिल्म फिल्टर"
|
||||||
|
},
|
||||||
|
"summary": {
|
||||||
|
"en": "Add authentic 90s instant camera borders, film grain, nostalgic light leaks, and retro warmth.",
|
||||||
|
"hi": "90 के दशक के इंस्टेंट कैमरे के बॉर्डर, फिल्म ग्रेन और विंटेज प्रभाव जोड़ें।"
|
||||||
|
},
|
||||||
|
"homeApp": "art-studio-app",
|
||||||
|
"alsoIn": [],
|
||||||
|
"featured": false,
|
||||||
|
"tryIt": {
|
||||||
|
"enabled": true,
|
||||||
|
"endpointRef": {
|
||||||
|
"id": "api-polaroid-effect"
|
||||||
|
},
|
||||||
|
"limits": {
|
||||||
|
"perDay": 5,
|
||||||
|
"maxMB": 12,
|
||||||
|
"maxPixels": 16000000,
|
||||||
|
"formats": [
|
||||||
|
"jpg",
|
||||||
|
"png",
|
||||||
|
"webp",
|
||||||
|
"heic"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"quality": "standard",
|
||||||
|
"showAppCta": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Select Photo",
|
||||||
|
"hi": "तस्वीर चुनें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Pick a memorable travel snapshot or portrait.",
|
||||||
|
"hi": "यात्रा या दोस्तों की यादगार तस्वीर चुनें।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Apply Retro Filter",
|
||||||
|
"hi": "रेट्रो फिल्टर लागू करें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Applies color grading, Halation, and classic instant border.",
|
||||||
|
"hi": "कलर ग्रेडिंग और क्लासिक पोलरॉइड बॉर्डर जोड़ता है।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Download & Share",
|
||||||
|
"hi": "डाउनलोड और शेयर करें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Ready to share on Instagram and social feeds.",
|
||||||
|
"hi": "सोशल मीडिया पर शेयर करने के लिए तैयार।"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"before": "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"after": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"caption": "Warm nostalgic film tones and subtle grain"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faqs": [
|
||||||
|
{
|
||||||
|
"q": "Does this add a real polaroid frame?",
|
||||||
|
"a": "Yes, it creates an authentic wide-bottom classic white border perfect for writing captions or dates."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"related": [
|
||||||
|
"art.cartoon.gan",
|
||||||
|
"restore.colorization"
|
||||||
|
],
|
||||||
|
"seo": {
|
||||||
|
"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."
|
||||||
|
},
|
||||||
|
"displayType": "beforeAfter",
|
||||||
|
"media": {
|
||||||
|
"before": "/management/pages/tools/polaroid-maker/media/before.jpg",
|
||||||
|
"after": "/management/pages/tools/polaroid-maker/media/after.jpg",
|
||||||
|
"remoteBeforeFallback": "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"remoteAfterFallback": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?w=800&auto=format&fit=crop&q=80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 157 KiB |
@@ -0,0 +1,108 @@
|
|||||||
|
{
|
||||||
|
"id": "face.teeth.whitener",
|
||||||
|
"slug": "teeth-whitener",
|
||||||
|
"status": "published",
|
||||||
|
"category": "portrait-retouch",
|
||||||
|
"name": {
|
||||||
|
"en": "AI Teeth Whitener & Smile Glow",
|
||||||
|
"hi": "एआई दांत सफेदी और मुस्कान चमक"
|
||||||
|
},
|
||||||
|
"summary": {
|
||||||
|
"en": "Brighten yellowed teeth and enhance your smile with natural enamel translucency.",
|
||||||
|
"hi": "पीले दांतों को सफेद करें और प्राकृतिक इनेमल चमक के साथ अपनी मुस्कान को निखारें।"
|
||||||
|
},
|
||||||
|
"homeApp": "portrait-app",
|
||||||
|
"alsoIn": [],
|
||||||
|
"featured": false,
|
||||||
|
"tryIt": {
|
||||||
|
"enabled": true,
|
||||||
|
"endpointRef": {
|
||||||
|
"id": "api-teeth-whitener",
|
||||||
|
"defaultVariant": "image"
|
||||||
|
},
|
||||||
|
"variantControl": {
|
||||||
|
"type": "radio",
|
||||||
|
"label": {
|
||||||
|
"en": "Whitening Scope",
|
||||||
|
"hi": "सफेदी का दायरा"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"limits": {
|
||||||
|
"perDay": 5,
|
||||||
|
"maxMB": 12,
|
||||||
|
"maxPixels": 16000000,
|
||||||
|
"formats": [
|
||||||
|
"jpg",
|
||||||
|
"png",
|
||||||
|
"webp",
|
||||||
|
"heic"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"quality": "standard",
|
||||||
|
"showAppCta": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Upload smiling photo",
|
||||||
|
"hi": "मुस्कुराती तस्वीर अपलोड करें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Select a close-up portrait or group shot.",
|
||||||
|
"hi": "क्लोज-अप या ग्रुप फोटो चुनें।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "AI Auto Detection",
|
||||||
|
"hi": "एआई ऑटो डिटेक्शन"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Locates teeth contours and adjusts luminescence without staining lips or gums.",
|
||||||
|
"hi": "मसूड़ों या होंठों को प्रभावित किए बिना दांतों की चमक बढ़ाता है।"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "Share confidence",
|
||||||
|
"hi": "परिणाम साझा करें"
|
||||||
|
},
|
||||||
|
"desc": {
|
||||||
|
"en": "Download your bright smile ready for social media or resumes.",
|
||||||
|
"hi": "अपनी चमकदार मुस्कान वाली तस्वीर डाउनलोड करें।"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"before": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"after": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"caption": "Subtle, natural dental lightening without artificial chalky look"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faqs": [
|
||||||
|
{
|
||||||
|
"q": "Will my teeth look unnaturally radioactive white?",
|
||||||
|
"a": "No, our algorithms balance luminescence against ambient lighting and preserve natural dental shade gradients."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"related": [
|
||||||
|
"face.blemish.remove",
|
||||||
|
"face.eyeredness.remove"
|
||||||
|
],
|
||||||
|
"seo": {
|
||||||
|
"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."
|
||||||
|
},
|
||||||
|
"displayType": "beforeAfter",
|
||||||
|
"media": {
|
||||||
|
"before": "/management/pages/tools/teeth-whitener/media/before.jpg",
|
||||||
|
"after": "/management/pages/tools/teeth-whitener/media/after.jpg",
|
||||||
|
"remoteBeforeFallback": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80",
|
||||||
|
"remoteAfterFallback": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=80"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"id": "trust",
|
||||||
|
"route": "/trust",
|
||||||
|
"status": "published",
|
||||||
|
"seo": {
|
||||||
|
"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": [
|
||||||
|
{
|
||||||
|
"id": "trust-header",
|
||||||
|
"type": "hero",
|
||||||
|
"variant": "centered",
|
||||||
|
"props": {
|
||||||
|
"title": {
|
||||||
|
"en": "Your Privacy is Non-Negotiable",
|
||||||
|
"hi": "\u0906\u092a\u0915\u0940 \u0917\u094b\u092a\u0928\u0940\u092f\u0924\u093e \u0938\u0947 \u0915\u094b\u0908 \u0938\u092e\u091d\u094c\u0924\u093e \u0928\u0939\u0940\u0902"
|
||||||
|
},
|
||||||
|
"subtitle": {
|
||||||
|
"en": "We build AI tools designed to empower photographers and individuals without ever compromising biometric security or personal data.",
|
||||||
|
"hi": "\u0939\u092e \u0910\u0938\u0947 \u090f\u0906\u0908 \u091f\u0942\u0932\u094d\u0938 \u092c\u0928\u093e\u0924\u0947 \u0939\u0948\u0902 \u091c\u094b \u0935\u094d\u092f\u0915\u094d\u0924\u093f\u0917\u0924 \u0921\u0947\u091f\u093e \u0938\u0947 \u0915\u092d\u0940 \u0938\u092e\u091d\u094c\u0924\u093e \u0928\u0939\u0940\u0902 \u0915\u0930\u0924\u0947\u0964"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "trust-content",
|
||||||
|
"type": "richText",
|
||||||
|
"props": {
|
||||||
|
"markdown": "### Our Four Core Privacy Pillars\n\n1. **Zero Storage by Default (Streaming Only)**\nWhen you upload a photo to our web try-it tools, the image bytes are processed exclusively in transient RAM. Once neural inference is complete, the resulting pixels are streamed directly back to your browser session and immediately flushed from memory. We do not store, catalog, or archive your photos.\n\n2. **No Model Training on User Photos**\nYour personal portraits, selfies, family memories, and creative works are **never** used to train our AI models or third-party datasets. We only train models on proprietary licensed and synthetic datasets.\n\n3. **Strict Biometric Safeguards**\nFace landmarks and eye coordinates are used exclusively in real-time matrix transforms to apply targeted blemish or redness fixes. No persistent facial recognition profiles or biometric identifiers are stored.\n\n4. **End-to-End Transport Security**\nAll communications between your browser, our servers, and inference clusters are encrypted using industry-standard TLS 1.3 with forward secrecy."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../management
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
import { Metadata } from 'next';
|
import { Metadata } from 'next';
|
||||||
import { notFound } from 'next/navigation';
|
import { notFound } from 'next/navigation';
|
||||||
import { getAllApps, getAppBySlug, getAllTools, getTemplate } from '@/lib/config/loader';
|
import { getAllApps, getAppBySlug, getAllTools, getTemplate, getSiteConfig } from '@/lib/config/loader';
|
||||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||||
import { resolveLocalised } from '@/types';
|
import { resolveLocalised } from '@/types';
|
||||||
|
|
||||||
@@ -55,6 +55,7 @@ export default function AppDetailPage({ params }: AppPageProps) {
|
|||||||
|
|
||||||
const appName = resolveLocalised(app.name, 'en');
|
const appName = resolveLocalised(app.name, 'en');
|
||||||
const appTagline = resolveLocalised(app.tagline, 'en');
|
const appTagline = resolveLocalised(app.tagline, 'en');
|
||||||
|
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||||
|
|
||||||
// Structured Data (JSON-LD) per PRD §10 SEO-07
|
// Structured Data (JSON-LD) per PRD §10 SEO-07
|
||||||
const structuredData = [
|
const structuredData = [
|
||||||
@@ -83,19 +84,19 @@ export default function AppDetailPage({ params }: AppPageProps) {
|
|||||||
'@type': 'ListItem',
|
'@type': 'ListItem',
|
||||||
position: 1,
|
position: 1,
|
||||||
name: 'Home',
|
name: 'Home',
|
||||||
item: 'http://localhost:3000',
|
item: siteUrl,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'@type': 'ListItem',
|
'@type': 'ListItem',
|
||||||
position: 2,
|
position: 2,
|
||||||
name: 'Apps',
|
name: 'Apps',
|
||||||
item: 'http://localhost:3000/apps',
|
item: `${siteUrl}/apps`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'@type': 'ListItem',
|
'@type': 'ListItem',
|
||||||
position: 3,
|
position: 3,
|
||||||
name: appName,
|
name: appName,
|
||||||
item: `http://localhost:3000/apps/${app.slug}`,
|
item: `${siteUrl}/apps/${app.slug}`,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,23 +3,6 @@
|
|||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
/* Lenis Ultra-Smooth Fluid Scroll */
|
|
||||||
html.lenis, html.lenis body {
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
.lenis.lenis-smooth {
|
|
||||||
scroll-behavior: auto !important;
|
|
||||||
}
|
|
||||||
.lenis.lenis-smooth [data-lenis-prevent] {
|
|
||||||
overscroll-behavior: contain;
|
|
||||||
}
|
|
||||||
.lenis.lenis-stopped {
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
.lenis.lenis-scrolling iframe {
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--color-primary: #2563EB;
|
--color-primary: #2563EB;
|
||||||
--color-primary-hover: #1D4ED8;
|
--color-primary-hover: #1D4ED8;
|
||||||
@@ -43,9 +26,9 @@
|
|||||||
radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.05) 0%, transparent 60%),
|
radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.05) 0%, transparent 60%),
|
||||||
radial-gradient(circle at 90% 25%, rgba(2, 132, 199, 0.04) 0%, transparent 50%),
|
radial-gradient(circle at 90% 25%, rgba(2, 132, 199, 0.04) 0%, transparent 50%),
|
||||||
radial-gradient(circle at 10% 75%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
|
radial-gradient(circle at 10% 75%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
|
||||||
background-attachment: fixed;
|
background-attachment: scroll;
|
||||||
font-family: var(--font-sans), system-ui, -apple-system, sans-serif;
|
font-family: var(--font-sans), system-ui, -apple-system, sans-serif;
|
||||||
overflow-x: hidden;
|
overflow-x: clip;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
@@ -78,15 +61,8 @@
|
|||||||
/* Authentic True Liquid Glass Capsule with High Refraction & Specular Gloss */
|
/* Authentic True Liquid Glass Capsule with High Refraction & Specular Gloss */
|
||||||
.liquid-glass-nav {
|
.liquid-glass-nav {
|
||||||
position: relative;
|
position: relative;
|
||||||
background: linear-gradient(
|
background: rgba(255, 255, 255, 0.96);
|
||||||
180deg,
|
border: 1px solid rgba(15, 23, 42, 0.08);
|
||||||
rgba(255, 255, 255, 0.48) 0%,
|
|
||||||
rgba(250, 248, 245, 0.32) 50%,
|
|
||||||
rgba(255, 255, 255, 0.42) 100%
|
|
||||||
);
|
|
||||||
backdrop-filter: blur(16px) saturate(190%) contrast(104%) brightness(1.04);
|
|
||||||
-webkit-backdrop-filter: blur(16px) saturate(190%) contrast(104%) brightness(1.04);
|
|
||||||
border: 1px solid rgba(255, 255, 255, 0.65);
|
|
||||||
box-shadow:
|
box-shadow:
|
||||||
/* Razor-sharp 1px top specular ridge */
|
/* Razor-sharp 1px top specular ridge */
|
||||||
inset 0 1px 0 0 rgba(255, 255, 255, 0.85),
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.85),
|
||||||
@@ -99,12 +75,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.liquid-glass-nav.nav-scrolled {
|
.liquid-glass-nav.nav-scrolled {
|
||||||
background: linear-gradient(
|
background: rgba(255, 255, 255, 0.99);
|
||||||
180deg,
|
|
||||||
rgba(255, 255, 255, 0.58) 0%,
|
|
||||||
rgba(250, 248, 245, 0.42) 50%,
|
|
||||||
rgba(255, 255, 255, 0.52) 100%
|
|
||||||
);
|
|
||||||
box-shadow:
|
box-shadow:
|
||||||
inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
|
||||||
inset 0 -1px 0 0 rgba(255, 255, 255, 0.25),
|
inset 0 -1px 0 0 rgba(255, 255, 255, 0.25),
|
||||||
@@ -162,14 +133,8 @@
|
|||||||
/* Liquid Glass Mobile Dropdown */
|
/* Liquid Glass Mobile Dropdown */
|
||||||
.liquid-glass-dropdown {
|
.liquid-glass-dropdown {
|
||||||
position: relative;
|
position: relative;
|
||||||
background: linear-gradient(
|
background: #fff;
|
||||||
180deg,
|
border: 1px solid rgba(15, 23, 42, 0.1);
|
||||||
rgba(255, 255, 255, 0.72) 0%,
|
|
||||||
rgba(250, 248, 245, 0.85) 100%
|
|
||||||
);
|
|
||||||
backdrop-filter: blur(16px) saturate(200%) brightness(1.06);
|
|
||||||
-webkit-backdrop-filter: blur(16px) saturate(200%) brightness(1.06);
|
|
||||||
border: 1px solid rgba(255, 255, 255, 0.85);
|
|
||||||
box-shadow:
|
box-shadow:
|
||||||
inset 0 2px 1px rgba(255, 255, 255, 1),
|
inset 0 2px 1px rgba(255, 255, 255, 1),
|
||||||
inset 0 0 20px rgba(255, 255, 255, 0.35),
|
inset 0 0 20px rgba(255, 255, 255, 0.35),
|
||||||
@@ -376,7 +341,7 @@ body, h1, h2, h3, h4, p, span, button {
|
|||||||
h1, h2, h3, h4, h5, h6, .text-3d-chiseled {
|
h1, h2, h3, h4, h5, h6, .text-3d-chiseled {
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
text-shadow: 0 1px 1px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Crisp Stat Numbers */
|
/* Crisp Stat Numbers */
|
||||||
@@ -427,6 +392,99 @@ h1, h2, h3, h4, h5, h6, .text-3d-chiseled {
|
|||||||
backface-visibility: hidden;
|
backface-visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.section-shell[data-revealed="true"] {
|
||||||
|
animation: section-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes section-enter {
|
||||||
|
from { opacity: 0.7; transform: translateY(10px); }
|
||||||
|
to { opacity: 1; transform: translateY(0); }
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes neural-sweep {
|
||||||
|
0% { transform: translateX(-120%); opacity: 0; }
|
||||||
|
25% { opacity: 0.75; }
|
||||||
|
75% { opacity: 0.75; }
|
||||||
|
100% { transform: translateX(650%); opacity: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.animate-neural-sweep {
|
||||||
|
animation: neural-sweep 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@supports (content-visibility: auto) {
|
||||||
|
.section-shell:not(.section-shell--hero) {
|
||||||
|
content-visibility: auto;
|
||||||
|
contain-intrinsic-size: auto 760px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.skip-link {
|
||||||
|
position: fixed;
|
||||||
|
top: 0.75rem;
|
||||||
|
left: 50%;
|
||||||
|
z-index: 100;
|
||||||
|
transform: translate(-50%, -180%);
|
||||||
|
border-radius: 9999px;
|
||||||
|
background: #0f172a;
|
||||||
|
padding: 0.7rem 1rem;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 0.875rem;
|
||||||
|
font-weight: 700;
|
||||||
|
transition: transform 180ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skip-link:focus { transform: translate(-50%, 0); }
|
||||||
|
|
||||||
|
.eyebrow {
|
||||||
|
color: #1d4ed8;
|
||||||
|
font-size: 0.7rem;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.14em;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-primary,
|
||||||
|
.button-secondary {
|
||||||
|
display: inline-flex;
|
||||||
|
min-height: 2.75rem;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
border-radius: 9999px;
|
||||||
|
padding: 0.65rem 1rem;
|
||||||
|
font-size: 0.875rem;
|
||||||
|
font-weight: 700;
|
||||||
|
text-decoration: none;
|
||||||
|
transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-primary { background: #0f172a; color: #fff; box-shadow: 0 8px 18px -10px rgba(15, 23, 42, 0.45); }
|
||||||
|
.button-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
|
||||||
|
.button-secondary { border: 1px solid rgba(15, 23, 42, 0.14); background: #fff; color: #334155; }
|
||||||
|
.button-secondary:hover { border-color: rgba(15, 23, 42, 0.3); background: #f8fafc; transform: translateY(-1px); }
|
||||||
|
|
||||||
|
.media-label {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0.5rem;
|
||||||
|
border-radius: 0.35rem;
|
||||||
|
background: rgba(15, 23, 42, 0.82);
|
||||||
|
padding: 0.2rem 0.4rem;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 0.625rem;
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cinematic-rail {
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: #cbd5e1 transparent;
|
||||||
|
overscroll-behavior-inline: contain;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tool-filter-rail { scrollbar-width: none; }
|
||||||
|
.tool-filter-rail::-webkit-scrollbar { display: none; }
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #315fcb;
|
background: #315fcb;
|
||||||
@@ -443,4 +501,15 @@ h1, h2, h3, h4, h5, h6, .text-3d-chiseled {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
body { background-image: none; }
|
||||||
|
.liquid-glass-nav { box-shadow: 0 10px 24px -14px rgba(15, 23, 42, 0.22); }
|
||||||
|
.section-shell[data-revealed="true"] { animation: none; }
|
||||||
|
.perspective-800, .perspective-1000, .perspective-1400 { perspective: none; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (hover: none) {
|
||||||
|
.glass-card:hover, .button-primary:hover, .button-secondary:hover { transform: none; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ import './globals.css';
|
|||||||
import { getSiteConfig } from '@/lib/config/loader';
|
import { getSiteConfig } from '@/lib/config/loader';
|
||||||
import { Navbar } from '@/components/ui/Navbar';
|
import { Navbar } from '@/components/ui/Navbar';
|
||||||
import { Footer } from '@/components/ui/Footer';
|
import { Footer } from '@/components/ui/Footer';
|
||||||
import { CursorAura } from '@/components/ui/CursorAura';
|
|
||||||
import { SmoothScroll } from '@/components/ui/SmoothScroll';
|
|
||||||
|
|
||||||
const sansFont = Plus_Jakarta_Sans({
|
const sansFont = Plus_Jakarta_Sans({
|
||||||
subsets: ['latin'],
|
subsets: ['latin'],
|
||||||
@@ -27,13 +25,14 @@ const monoFont = JetBrains_Mono({
|
|||||||
|
|
||||||
export async function generateMetadata(): Promise<Metadata> {
|
export async function generateMetadata(): Promise<Metadata> {
|
||||||
const config = getSiteConfig();
|
const config = getSiteConfig();
|
||||||
|
const siteUrl = process.env.SITE_URL || config.seo.siteUrl || 'http://localhost:3000';
|
||||||
return {
|
return {
|
||||||
title: {
|
title: {
|
||||||
default: `${config.brand.name} | Advanced AI Vision & Creative Tools Studio`,
|
default: `${config.brand.name} | Advanced AI Vision & Creative Tools Studio`,
|
||||||
template: config.seo.titleTemplate || `%s | ${config.brand.name}`,
|
template: config.seo.titleTemplate || `%s | ${config.brand.name}`,
|
||||||
},
|
},
|
||||||
description: 'Advanced neural vision models for sub-pore portrait retouching, hair-strand matting background cutouts, and 4K photo restoration.',
|
description: 'Advanced neural vision models for sub-pore portrait retouching, hair-strand matting background cutouts, and 4K photo restoration.',
|
||||||
metadataBase: new URL(config.seo.siteUrl || 'http://localhost:3000'),
|
metadataBase: new URL(siteUrl),
|
||||||
keywords: [
|
keywords: [
|
||||||
'CRE Innovations',
|
'CRE Innovations',
|
||||||
'AI photo editor',
|
'AI photo editor',
|
||||||
@@ -58,6 +57,7 @@ export async function generateMetadata(): Promise<Metadata> {
|
|||||||
description: 'Free online AI photo tools with zero storage and native mobile app handoff.',
|
description: 'Free online AI photo tools with zero storage and native mobile app handoff.',
|
||||||
images: ['/brand/og-default.png'],
|
images: ['/brand/og-default.png'],
|
||||||
},
|
},
|
||||||
|
robots: { index: true, follow: true },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -67,14 +67,15 @@ export default function RootLayout({
|
|||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}) {
|
}) {
|
||||||
const config = getSiteConfig();
|
const config = getSiteConfig();
|
||||||
|
const siteUrl = process.env.SITE_URL || config.seo.siteUrl || 'http://localhost:3000';
|
||||||
|
|
||||||
// Root Schema.org JSON-LD for Organization & WebSite
|
// Root Schema.org JSON-LD for Organization & WebSite
|
||||||
const organizationJsonLd = {
|
const organizationJsonLd = {
|
||||||
'@context': 'https://schema.org',
|
'@context': 'https://schema.org',
|
||||||
'@type': 'Organization',
|
'@type': 'Organization',
|
||||||
name: config.brand.name,
|
name: config.brand.name,
|
||||||
url: config.seo.siteUrl || 'http://localhost:3000',
|
url: siteUrl,
|
||||||
logo: `${config.seo.siteUrl || 'http://localhost:3000'}/brand/logo.svg`,
|
logo: `${siteUrl}/brand/logo.svg`,
|
||||||
sameAs: [
|
sameAs: [
|
||||||
'https://play.google.com/store/apps/dev?id=creinnovations',
|
'https://play.google.com/store/apps/dev?id=creinnovations',
|
||||||
'https://apps.apple.com/developer/creinnovations',
|
'https://apps.apple.com/developer/creinnovations',
|
||||||
@@ -90,10 +91,9 @@ export default function RootLayout({
|
|||||||
/>
|
/>
|
||||||
</head>
|
</head>
|
||||||
<body className="min-h-screen flex flex-col antialiased selection:bg-blue-600 selection:text-white bg-[#FAF8F5] text-slate-900 relative">
|
<body className="min-h-screen flex flex-col antialiased selection:bg-blue-600 selection:text-white bg-[#FAF8F5] text-slate-900 relative">
|
||||||
<SmoothScroll />
|
<a href="#main-content" className="skip-link">Skip to main content</a>
|
||||||
<CursorAura />
|
|
||||||
<Navbar config={config} currentLocale="en" />
|
<Navbar config={config} currentLocale="en" />
|
||||||
<main className="flex-1">{children}</main>
|
<main id="main-content" className="flex-1">{children}</main>
|
||||||
<Footer config={config} currentLocale="en" />
|
<Footer config={config} currentLocale="en" />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { getPageConfig, getAllTools, getAllApps, getAllCategories, getToolById, getAppById } from '@/lib/config/loader';
|
import { getPageConfig, getAllTools, getAllApps, getAllCategories, getToolById, getAppById, getSiteConfig } from '@/lib/config/loader';
|
||||||
import { getEndpointById } from '@/lib/catalog/loader';
|
import { getEndpointById } from '@/lib/catalog/loader';
|
||||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||||
import { notFound } from 'next/navigation';
|
import { notFound } from 'next/navigation';
|
||||||
@@ -12,6 +12,7 @@ export default function HomePage() {
|
|||||||
const tools = getAllTools();
|
const tools = getAllTools();
|
||||||
const apps = getAllApps();
|
const apps = getAllApps();
|
||||||
const categories = getAllCategories();
|
const categories = getAllCategories();
|
||||||
|
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||||
|
|
||||||
// Find hero tool and variants
|
// Find hero tool and variants
|
||||||
const heroTool = getToolById('face.blemish.remove') || tools[0];
|
const heroTool = getToolById('face.blemish.remove') || tools[0];
|
||||||
@@ -39,10 +40,10 @@ export default function HomePage() {
|
|||||||
'@context': 'https://schema.org',
|
'@context': 'https://schema.org',
|
||||||
'@type': 'WebSite',
|
'@type': 'WebSite',
|
||||||
name: 'CRE Innovations',
|
name: 'CRE Innovations',
|
||||||
url: 'http://localhost:3000',
|
url: siteUrl,
|
||||||
potentialAction: {
|
potentialAction: {
|
||||||
'@type': 'SearchAction',
|
'@type': 'SearchAction',
|
||||||
target: 'http://localhost:3000/tools?q={search_term_string}',
|
target: `${siteUrl}/tools?q={search_term_string}`,
|
||||||
'query-input': 'required name=search_term_string',
|
'query-input': 'required name=search_term_string',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { Metadata } from 'next';
|
import { Metadata } from 'next';
|
||||||
import { notFound } from 'next/navigation';
|
import { notFound } from 'next/navigation';
|
||||||
import { getAllTools, getToolBySlug, getAppById, getTemplate } from '@/lib/config/loader';
|
import { getAllTools, getToolBySlug, getAppById, getTemplate, getSiteConfig } from '@/lib/config/loader';
|
||||||
import { getEndpointById } from '@/lib/catalog/loader';
|
import { getEndpointById } from '@/lib/catalog/loader';
|
||||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||||
import { resolveLocalised } from '@/types';
|
import { resolveLocalised } from '@/types';
|
||||||
@@ -70,7 +70,8 @@ export default function ToolDetailPage({ params }: ToolPageProps) {
|
|||||||
|
|
||||||
const toolName = resolveLocalised(tool.name, 'en');
|
const toolName = resolveLocalised(tool.name, 'en');
|
||||||
const toolSummary = resolveLocalised(tool.summary, 'en');
|
const toolSummary = resolveLocalised(tool.summary, 'en');
|
||||||
const exampleImg = tool.content?.examples?.[0]?.after || 'http://localhost:3000/brand/og-default.png';
|
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||||
|
const exampleImg = tool.content?.examples?.[0]?.after || `${siteUrl}/brand/og-default.png`;
|
||||||
|
|
||||||
// Structured Data (JSON-LD) for WebApplication and Breadcrumbs per PRD §10 SEO-07
|
// Structured Data (JSON-LD) for WebApplication and Breadcrumbs per PRD §10 SEO-07
|
||||||
const structuredData = [
|
const structuredData = [
|
||||||
@@ -96,19 +97,19 @@ export default function ToolDetailPage({ params }: ToolPageProps) {
|
|||||||
'@type': 'ListItem',
|
'@type': 'ListItem',
|
||||||
position: 1,
|
position: 1,
|
||||||
name: 'Home',
|
name: 'Home',
|
||||||
item: 'http://localhost:3000',
|
item: siteUrl,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'@type': 'ListItem',
|
'@type': 'ListItem',
|
||||||
position: 2,
|
position: 2,
|
||||||
name: 'Tools',
|
name: 'Tools',
|
||||||
item: 'http://localhost:3000/tools',
|
item: `${siteUrl}/tools`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'@type': 'ListItem',
|
'@type': 'ListItem',
|
||||||
position: 3,
|
position: 3,
|
||||||
name: toolName,
|
name: toolName,
|
||||||
item: `http://localhost:3000/tools/${tool.slug}`,
|
item: `${siteUrl}/tools/${tool.slug}`,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import dynamic from 'next/dynamic';
|
||||||
|
import { useEffect, useState } from 'react';
|
||||||
|
|
||||||
|
const Hero3DCanvas = dynamic(
|
||||||
|
() => import('./Hero3DCanvas').then((module) => module.Hero3DCanvas),
|
||||||
|
{ ssr: false, loading: () => null }
|
||||||
|
);
|
||||||
|
|
||||||
|
/** Loads WebGL only for wide, precise-pointer devices that have not requested reduced motion. */
|
||||||
|
export function HeroPrism() {
|
||||||
|
const [canRender, setCanRender] = useState(false);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const media = window.matchMedia('(min-width: 1024px) and (hover: hover) and (pointer: fine)');
|
||||||
|
const reduced = window.matchMedia('(prefers-reduced-motion: reduce)');
|
||||||
|
const update = () => setCanRender(media.matches && !reduced.matches);
|
||||||
|
update();
|
||||||
|
media.addEventListener('change', update);
|
||||||
|
reduced.addEventListener('change', update);
|
||||||
|
return () => {
|
||||||
|
media.removeEventListener('change', update);
|
||||||
|
reduced.removeEventListener('change', update);
|
||||||
|
};
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
if (!canRender) return null;
|
||||||
|
|
||||||
|
return <Hero3DCanvas className="h-full w-full" />;
|
||||||
|
}
|
||||||
@@ -22,6 +22,7 @@ import { Kinetic3DText } from '@/components/ui/Kinetic3DText';
|
|||||||
import { ShimmerBadge } from '@/components/animate-ui/ShimmerBadge';
|
import { ShimmerBadge } from '@/components/animate-ui/ShimmerBadge';
|
||||||
import { CardBeforeAfterSlider } from '@/components/ui/CardBeforeAfterSlider';
|
import { CardBeforeAfterSlider } from '@/components/ui/CardBeforeAfterSlider';
|
||||||
import { BeforeAfterSlider } from '@/components/ui/BeforeAfterSlider';
|
import { BeforeAfterSlider } from '@/components/ui/BeforeAfterSlider';
|
||||||
|
import { NeuralGrainOverlay } from '@/components/ui/NeuralGrainOverlay';
|
||||||
|
|
||||||
interface HeroSectionProps {
|
interface HeroSectionProps {
|
||||||
title?: any;
|
title?: any;
|
||||||
@@ -48,6 +49,7 @@ export function HeroSection({
|
|||||||
locale = 'en',
|
locale = 'en',
|
||||||
}: HeroSectionProps) {
|
}: HeroSectionProps) {
|
||||||
const [mobileTab, setMobileTab] = useState<'upload' | 'compare'>('upload');
|
const [mobileTab, setMobileTab] = useState<'upload' | 'compare'>('upload');
|
||||||
|
const [grainActive, setGrainActive] = useState<boolean>(true);
|
||||||
const resolvedTitle = resolveLocalised(title, locale);
|
const resolvedTitle = resolveLocalised(title, locale);
|
||||||
const resolvedSubtitle = resolveLocalised(subtitle, locale);
|
const resolvedSubtitle = resolveLocalised(subtitle, locale);
|
||||||
const resolvedBadge = resolveLocalised(badge, locale);
|
const resolvedBadge = resolveLocalised(badge, locale);
|
||||||
@@ -127,29 +129,45 @@ export function HeroSection({
|
|||||||
<span className="text-slate-900 font-semibold">{resolvedTitle}</span>
|
<span className="text-slate-900 font-semibold">{resolvedTitle}</span>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{/* Centered Tool Header */}
|
{/* Centered Editorial Tool Header (Typography OUTSIDE cards) */}
|
||||||
<div className="text-center max-w-3xl mx-auto mb-6 sm:mb-8">
|
<div className="text-center max-w-4xl mx-auto mb-10 sm:mb-12">
|
||||||
<div className="inline-flex items-center gap-2 rounded-full border border-blue-200/80 bg-white/80 px-3.5 py-1.5 text-[11px] font-semibold tracking-[0.14em] uppercase text-blue-800 shadow-sm backdrop-blur">
|
<div className="inline-flex items-center gap-2 rounded-full border border-blue-200/90 bg-white/90 px-4 py-1.5 text-xs font-semibold tracking-[0.14em] uppercase text-blue-800 shadow-sm backdrop-blur">
|
||||||
<Sparkles className="w-3.5 h-3.5 text-blue-600" />
|
<Sparkles className="w-3.5 h-3.5 text-blue-600" />
|
||||||
<span>{categoryName} • AI NEURAL TOOL</span>
|
<span>{categoryName} • CRE NEURAL VISION 4.0</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h1 className="mt-3.5 text-3xl sm:text-4xl lg:text-5xl font-display font-black tracking-tight text-slate-900 leading-[1.1]">
|
<h1 className="mt-4 text-3xl sm:text-5xl lg:text-6xl font-display font-black tracking-tight text-slate-900 leading-[1.08]">
|
||||||
{resolvedTitle}
|
{resolvedTitle}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p className="mt-3 text-sm sm:text-base leading-relaxed text-slate-600 max-w-2xl mx-auto">
|
<p className="mt-4 text-base sm:text-lg leading-relaxed text-slate-600 max-w-2xl mx-auto">
|
||||||
{resolvedSubtitle}
|
{resolvedSubtitle}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
{/* Model Specs Row Outside Cards */}
|
||||||
|
<div className="mt-6 flex flex-wrap items-center justify-center gap-2 sm:gap-3 text-xs font-medium text-slate-600">
|
||||||
|
<span className="inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full bg-white/90 border border-slate-200/80 shadow-2xs">
|
||||||
|
<Check className="w-3.5 h-3.5 text-blue-600" /> Lossless 4K Reconstruction
|
||||||
|
</span>
|
||||||
|
<span className="inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full bg-white/90 border border-slate-200/80 shadow-2xs">
|
||||||
|
<Zap className="w-3.5 h-3.5 text-amber-500" /> < 0.8s Inference
|
||||||
|
</span>
|
||||||
|
<span className="inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full bg-white/90 border border-slate-200/80 shadow-2xs">
|
||||||
|
<ShieldCheck className="w-3.5 h-3.5 text-emerald-600" /> 100% Private (Never Stored)
|
||||||
|
</span>
|
||||||
|
<span className="inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full bg-white/90 border border-slate-200/80 shadow-2xs">
|
||||||
|
<Sparkles className="w-3.5 h-3.5 text-indigo-600" /> Free Browser Trial
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Intelligent Mobile Tab Switcher (Visible ONLY on Mobile < 768px) */}
|
{/* Intelligent Mobile Tab Switcher (Visible ONLY on Mobile < 1024px) */}
|
||||||
<div className="flex md:hidden items-center justify-center mb-5">
|
<div className="flex lg:hidden items-center justify-center mb-6">
|
||||||
<div className="inline-flex rounded-2xl bg-white p-1 border border-slate-200/90 shadow-2xs">
|
<div className="inline-flex rounded-2xl bg-white p-1 border border-slate-200/90 shadow-2xs">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={() => setMobileTab('upload')}
|
onClick={() => setMobileTab('upload')}
|
||||||
className={`flex items-center gap-2 px-4 py-2 rounded-xl text-xs font-bold transition-all ${
|
className={`flex items-center gap-2 px-5 py-2.5 rounded-xl text-xs font-bold transition-all ${
|
||||||
mobileTab === 'upload'
|
mobileTab === 'upload'
|
||||||
? 'bg-blue-600 text-white shadow-sm'
|
? 'bg-blue-600 text-white shadow-sm'
|
||||||
: 'text-slate-600 hover:text-slate-900'
|
: 'text-slate-600 hover:text-slate-900'
|
||||||
@@ -161,91 +179,92 @@ export function HeroSection({
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={() => setMobileTab('compare')}
|
onClick={() => setMobileTab('compare')}
|
||||||
className={`flex items-center gap-2 px-4 py-2 rounded-xl text-xs font-bold transition-all ${
|
className={`flex items-center gap-2 px-5 py-2.5 rounded-xl text-xs font-bold transition-all ${
|
||||||
mobileTab === 'compare'
|
mobileTab === 'compare'
|
||||||
? 'bg-blue-600 text-white shadow-sm'
|
? 'bg-blue-600 text-white shadow-sm'
|
||||||
: 'text-slate-600 hover:text-slate-900'
|
: 'text-slate-600 hover:text-slate-900'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<SlidersHorizontal className="w-3.5 h-3.5" />
|
<SlidersHorizontal className="w-3.5 h-3.5" />
|
||||||
<span>Before & After</span>
|
<span>Transform Result</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Intelligent Side-by-Side Tool Studio (Side-by-Side on Tablet & Desktop) */}
|
{/* Intelligent Side-by-Side Tool Studio */}
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 lg:gap-8 items-stretch max-w-6xl mx-auto" id="tool-studio">
|
<div className="grid grid-cols-1 lg:grid-cols-12 gap-8 items-stretch max-w-7xl mx-auto" id="tool-studio">
|
||||||
{/* Column 1: Live Comparison Showcase */}
|
{/* Column 1: Result-Focused Display Stage (Edge-to-Edge Media Focus with Neural Grain Transform Animation) */}
|
||||||
<div className={`flex flex-col ${mobileTab === 'compare' ? 'block' : 'hidden md:flex'}`}>
|
<div className={`lg:col-span-7 flex flex-col ${mobileTab === 'compare' ? 'block' : 'hidden lg:flex'}`}>
|
||||||
<div className="flex flex-col justify-between h-full bg-white rounded-3xl p-5 sm:p-7 lg:p-8 border border-slate-900/[0.08] shadow-cream-md overflow-hidden">
|
<div className="relative flex flex-col justify-between h-full rounded-3xl overflow-hidden border border-slate-900/[0.1] bg-slate-950 shadow-cinematic-3d group">
|
||||||
<div>
|
{/* Floating Glass Top Bar */}
|
||||||
{/* Card Header */}
|
<div className="absolute top-4 left-4 right-4 z-20 flex items-center justify-between pointer-events-none">
|
||||||
<div className="flex items-center justify-between pb-4 sm:pb-5 border-b border-slate-100">
|
<div className="pointer-events-auto inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-slate-900/80 backdrop-blur-md border border-white/15 text-white text-xs font-semibold shadow-md">
|
||||||
<div className="flex items-center gap-2.5">
|
<Sparkles className="w-3.5 h-3.5 text-blue-400" />
|
||||||
<div className="w-8 h-8 rounded-xl bg-indigo-50 border border-indigo-200/80 flex items-center justify-center text-indigo-600">
|
<span>Neural Model Result</span>
|
||||||
<Sparkles className="w-4 h-4" />
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h3 className="text-xs sm:text-sm font-display font-bold text-slate-900">
|
|
||||||
Neural Transformation Preview
|
|
||||||
</h3>
|
|
||||||
<p className="text-[11px] font-mono text-slate-500">Interactive Model Result</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-[10px] font-mono font-semibold text-emerald-800 bg-emerald-50 border border-emerald-200/90 shadow-2xs">
|
|
||||||
<span className="w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse" />
|
|
||||||
Live Demo
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Comparison Slider */}
|
{/* Neural Grain Synthesis Toggle */}
|
||||||
<div className="mt-5">
|
<button
|
||||||
<BeforeAfterSlider
|
type="button"
|
||||||
beforeUrl={primaryExample.before}
|
onClick={() => setGrainActive(!grainActive)}
|
||||||
afterUrl={primaryExample.after}
|
className="pointer-events-auto inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-white/90 hover:bg-white text-slate-800 text-xs font-semibold shadow-md backdrop-blur-md transition-all active:scale-95"
|
||||||
beforeLabel="Original"
|
title="Toggle Generative Latent Grain Synthesis"
|
||||||
afterLabel="CRE AI Result"
|
>
|
||||||
caption={primaryExample.caption}
|
<span className={`w-2 h-2 rounded-full ${grainActive ? 'bg-indigo-500 animate-pulse' : 'bg-slate-400'}`} />
|
||||||
aspectRatio="aspect-[4/3] sm:aspect-[16/11]"
|
<span>Film Grain Transform: {grainActive ? 'ON' : 'OFF'}</span>
|
||||||
autoSlide={true}
|
</button>
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
{/* The Pure Result-Focused Viewport */}
|
||||||
{/* Model Specs Strip */}
|
<div className="relative flex-1 min-h-[380px] sm:min-h-[460px] overflow-hidden">
|
||||||
<div className="mt-5 pt-4 border-t border-slate-100 flex flex-wrap items-center justify-between gap-3 text-xs text-slate-500 font-mono">
|
<BeforeAfterSlider
|
||||||
<span className="inline-flex items-center gap-1.5">
|
beforeUrl={primaryExample.before}
|
||||||
<Check className="w-3.5 h-3.5 text-blue-600" /> Lossless 4K preservation
|
afterUrl={primaryExample.after}
|
||||||
</span>
|
beforeLabel="RAW INPUT"
|
||||||
<span className="inline-flex items-center gap-1.5">
|
afterLabel="AI SYNTHESIZED"
|
||||||
<Zap className="w-3.5 h-3.5 text-amber-500" /> Instant sub-second inference
|
caption={primaryExample.caption}
|
||||||
</span>
|
aspectRatio="aspect-[4/3] lg:aspect-auto lg:h-full"
|
||||||
</div>
|
autoSlide={true}
|
||||||
|
className="h-full"
|
||||||
|
/>
|
||||||
|
|
||||||
{/* Mobile Jump to Upload */}
|
{/* Generative AI Latent Grain Transform Animation */}
|
||||||
<div className="mt-4 md:hidden">
|
<NeuralGrainOverlay active={grainActive} intensity={0.25} />
|
||||||
<button
|
</div>
|
||||||
type="button"
|
|
||||||
onClick={() => setMobileTab('upload')}
|
{/* Floating Bottom Hint Bar */}
|
||||||
className="w-full py-3 px-4 rounded-xl text-xs font-bold text-white bg-blue-600 hover:bg-blue-700 flex items-center justify-center gap-2 shadow-sm"
|
<div className="p-4 bg-slate-900/90 border-t border-white/10 flex flex-wrap items-center justify-between gap-3 text-xs text-slate-300 font-mono">
|
||||||
>
|
<span className="flex items-center gap-1.5">
|
||||||
<UploadCloud className="w-4 h-4" />
|
<SlidersHorizontal className="w-3.5 h-3.5 text-blue-400" />
|
||||||
<span>Upload Your Photo Now</span>
|
Drag divider to inspect sub-pixel linework & textures
|
||||||
</button>
|
</span>
|
||||||
</div>
|
<span className="text-[11px] text-slate-400">
|
||||||
|
High-Res Neural Synthesis
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Mobile Jump to Upload */}
|
||||||
|
<div className="p-4 bg-slate-900 lg:hidden">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={() => setMobileTab('upload')}
|
||||||
|
className="w-full py-3 px-4 rounded-xl text-xs font-bold text-white bg-blue-600 hover:bg-blue-700 flex items-center justify-center gap-2 shadow-sm"
|
||||||
|
>
|
||||||
|
<UploadCloud className="w-4 h-4" />
|
||||||
|
<span>Upload Your Photo to Try</span>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Column 2: Upload Action Studio */}
|
{/* Column 2: Spacious, Prominent Upload Studio */}
|
||||||
<div className={`flex flex-col ${mobileTab === 'upload' ? 'block' : 'hidden md:flex'}`}>
|
<div className={`lg:col-span-5 flex flex-col ${mobileTab === 'upload' ? 'block' : 'hidden lg:flex'}`}>
|
||||||
<TryItWidget
|
<TryItWidget
|
||||||
tool={tool}
|
tool={tool}
|
||||||
homeApp={homeApp}
|
homeApp={homeApp}
|
||||||
variants={variants}
|
variants={variants}
|
||||||
locale={locale}
|
locale={locale}
|
||||||
className="h-full"
|
className="h-full flex flex-col justify-between"
|
||||||
onSwitchToCompare={() => setMobileTab('compare')}
|
onSwitchToCompare={() => setMobileTab('compare')}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,24 +1,5 @@
|
|||||||
'use client';
|
|
||||||
|
|
||||||
import React, { useRef, useState } from 'react';
|
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import {
|
import { ArrowRight, Image as ImageIcon, Play, Video } from 'lucide-react';
|
||||||
Play,
|
|
||||||
Pause,
|
|
||||||
Volume2,
|
|
||||||
VolumeX,
|
|
||||||
ArrowRight,
|
|
||||||
Sparkles,
|
|
||||||
Image as ImageIcon,
|
|
||||||
Video as VideoIcon,
|
|
||||||
Layers,
|
|
||||||
CheckCircle2
|
|
||||||
} from 'lucide-react';
|
|
||||||
import { ShimmerBadge } from '@/components/animate-ui/ShimmerBadge';
|
|
||||||
import { SpotlightCard } from '@/components/animate-ui/SpotlightCard';
|
|
||||||
import { BorderBeam } from '@/components/animate-ui/BorderBeam';
|
|
||||||
import { MotionTextReveal } from '@/components/animate-ui/MotionTextReveal';
|
|
||||||
import { AnimatedGradientText } from '@/components/animate-ui/AnimatedGradientText';
|
|
||||||
|
|
||||||
export interface MediaItem {
|
export interface MediaItem {
|
||||||
id: string;
|
id: string;
|
||||||
@@ -43,94 +24,28 @@ interface MediaShowcaseProps {
|
|||||||
items?: MediaItem[];
|
items?: MediaItem[];
|
||||||
}
|
}
|
||||||
|
|
||||||
const DEFAULT_MEDIA_ITEMS: MediaItem[] = [
|
|
||||||
{
|
|
||||||
id: 'video-retouch-reel',
|
|
||||||
type: 'video',
|
|
||||||
title: '4K Studio Model Portrait Session',
|
|
||||||
category: 'VIDEO ENHANCEMENT',
|
|
||||||
badge: '4K 60FPS VIDEO',
|
|
||||||
description: 'Continuous temporal facial neural retouching across dynamic video frames with zero flicker.',
|
|
||||||
videoUrl: 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4',
|
|
||||||
poster: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80',
|
|
||||||
link: '/tools/blemish-remover',
|
|
||||||
tag: 'Temporal Retouching',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'hair-alpha-photo',
|
|
||||||
type: 'photo',
|
|
||||||
title: 'Fine Flyaway Strand Alpha Extraction',
|
|
||||||
category: 'HAIR CUTOUT',
|
|
||||||
badge: 'ULTRA HD PHOTO',
|
|
||||||
description: 'Microscopic hair fiber separation preserving semi-transparent boundary details for editorial covers.',
|
|
||||||
image: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&auto=format&fit=crop&q=80',
|
|
||||||
link: '/tools/background-remover',
|
|
||||||
tag: '0.02px Edge Trim',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'restoration-comparison',
|
|
||||||
type: 'comparison',
|
|
||||||
title: '4K Generative Facial Restoration',
|
|
||||||
category: 'SUPER-RESOLUTION',
|
|
||||||
badge: 'SIDE-BY-SIDE',
|
|
||||||
description: 'Deep neural priors reconstruct iris sharpness and realistic skin pores from compressed source photos.',
|
|
||||||
beforeUrl: 'https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80',
|
|
||||||
afterUrl: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=80',
|
|
||||||
link: '/tools/photo-enhancer',
|
|
||||||
tag: 'Iris Sharpness',
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
export function MediaShowcaseSection({
|
export function MediaShowcaseSection({
|
||||||
title = 'Visual Media & Transformation Reel',
|
title = 'Visual Media & Transformation Reel',
|
||||||
badge = 'CURATED CREATIVE GALLERY',
|
badge = 'CURATED CREATIVE GALLERY',
|
||||||
subtitle = 'Explore high-resolution photography, 4K video clips, and creative transformations produced by CRE neural tools.',
|
subtitle = 'Explore high-resolution photography, video, and creative transformations produced by CRE neural tools.',
|
||||||
items = DEFAULT_MEDIA_ITEMS,
|
items = [],
|
||||||
}: MediaShowcaseProps) {
|
}: MediaShowcaseProps) {
|
||||||
const mediaItems = items && items.length > 0 ? items : DEFAULT_MEDIA_ITEMS;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="py-20 sm:py-24 bg-[#F5F2EB] border-y border-slate-900/[0.08] relative overflow-hidden">
|
<section className="relative overflow-hidden border-y border-slate-900/[0.08] bg-[#F5F2EB] py-16 sm:py-20 lg:py-24">
|
||||||
{/* Ambient background glow */}
|
<div className="mx-auto w-full max-w-7xl px-4 sm:px-6 lg:px-8">
|
||||||
<div className="absolute top-1/4 right-1/4 w-96 h-96 bg-blue-500/[0.03] rounded-full blur-3xl pointer-events-none" />
|
<div className="mb-9 flex flex-col gap-4 border-b border-slate-900/[0.08] pb-7 sm:mb-12 sm:flex-row sm:items-end sm:justify-between">
|
||||||
|
<div className="max-w-2xl">
|
||||||
<div className="w-full max-w-[1640px] 2xl:max-w-[1720px] mx-auto px-4 sm:px-6 lg:px-8 xl:px-10 relative z-10">
|
<p className="eyebrow">{badge}</p>
|
||||||
{/* Section Header */}
|
<h2 className="mt-3 text-3xl font-display font-bold tracking-tight text-slate-900 sm:text-4xl">{title}</h2>
|
||||||
<div className="flex flex-col md:flex-row md:items-end justify-between gap-4 mb-12 pb-6 border-b border-slate-900/[0.08]">
|
<p className="mt-3 text-sm leading-relaxed text-slate-600 sm:text-base">{subtitle}</p>
|
||||||
<div>
|
|
||||||
<div className="mb-2.5">
|
|
||||||
<ShimmerBadge>
|
|
||||||
<Sparkles className="w-3.5 h-3.5 text-blue-600" />
|
|
||||||
<span>{badge}</span>
|
|
||||||
</ShimmerBadge>
|
|
||||||
</div>
|
|
||||||
<h3 className="text-2xl sm:text-3xl lg:text-4xl font-display font-black text-slate-900 tracking-tight">
|
|
||||||
<MotionTextReveal text="Visual Media &" className="text-slate-900 inline" />{' '}
|
|
||||||
<AnimatedGradientText className="font-black">
|
|
||||||
Transformation Reel
|
|
||||||
</AnimatedGradientText>
|
|
||||||
</h3>
|
|
||||||
<p className="text-xs sm:text-sm text-slate-600 mt-1 max-w-2xl font-normal">
|
|
||||||
{subtitle}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="flex items-center gap-3 self-start md:self-end">
|
|
||||||
<Link
|
|
||||||
href="/#studio-suite"
|
|
||||||
className="text-xs font-mono font-bold text-blue-700 bg-white hover:bg-blue-50 border border-slate-200 px-4 py-2 rounded-full flex items-center gap-1.5 shadow-sm transition-all duration-200 hover:-translate-y-0.5"
|
|
||||||
>
|
|
||||||
<span>Explore The Suite</span>
|
|
||||||
<ArrowRight className="w-3.5 h-3.5" />
|
|
||||||
</Link>
|
|
||||||
</div>
|
</div>
|
||||||
|
<Link href="/#studio-suite" className="button-secondary shrink-0">
|
||||||
|
Explore the suite <ArrowRight className="h-4 w-4" />
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Dynamic Media Grid: Video Cards, Photo Showcases & Side-by-Side Frames */}
|
<div className="grid gap-5 md:grid-cols-3">
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8">
|
{items.map((item) => <MediaCard key={item.id} item={item} />)}
|
||||||
{mediaItems.map((item) => (
|
|
||||||
<MediaCard key={item.id} item={item} />
|
|
||||||
))}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -138,147 +53,50 @@ export function MediaShowcaseSection({
|
|||||||
}
|
}
|
||||||
|
|
||||||
function MediaCard({ item }: { item: MediaItem }) {
|
function MediaCard({ item }: { item: MediaItem }) {
|
||||||
const videoRef = useRef<HTMLVideoElement>(null);
|
const image = item.image || item.poster || item.beforeUrl;
|
||||||
const [isPlaying, setIsPlaying] = useState(false);
|
|
||||||
const [isMuted, setIsMuted] = useState(true);
|
|
||||||
|
|
||||||
const togglePlay = () => {
|
|
||||||
if (!videoRef.current) return;
|
|
||||||
if (isPlaying) {
|
|
||||||
videoRef.current.pause();
|
|
||||||
setIsPlaying(false);
|
|
||||||
} else {
|
|
||||||
videoRef.current.play().catch(() => {});
|
|
||||||
setIsPlaying(true);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
const toggleMute = () => {
|
|
||||||
if (!videoRef.current) return;
|
|
||||||
videoRef.current.muted = !isMuted;
|
|
||||||
setIsMuted(!isMuted);
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SpotlightCard className="group bg-white rounded-3xl p-5 sm:p-6 border border-slate-900/[0.08] shadow-sm hover:shadow-2xl hover:border-blue-400/80 hover:-translate-y-1.5 transition-all duration-300 flex flex-col justify-between relative">
|
<article className="group overflow-hidden rounded-3xl border border-slate-900/[0.08] bg-white shadow-cream-sm transition-shadow duration-300 hover:shadow-cream-md">
|
||||||
<BorderBeam duration={12} size={250} borderWidth={1.5} colorFrom="#3b82f6" colorTo="#a855f7" />
|
<div className="relative aspect-[16/10] overflow-hidden bg-slate-100">
|
||||||
|
{item.type === 'video' && item.videoUrl ? (
|
||||||
<div>
|
<video controls preload="none" playsInline poster={item.poster} className="h-full w-full object-cover" aria-label={item.title}>
|
||||||
{/* Card Header Tag */}
|
<source src={item.videoUrl} type="video/mp4" />
|
||||||
<div className="flex items-center justify-between gap-2 mb-4 pb-3 border-b border-slate-100">
|
</video>
|
||||||
<div className="flex items-center gap-2">
|
) : item.type === 'comparison' && item.beforeUrl && item.afterUrl ? (
|
||||||
<span className="text-[10px] font-mono font-bold uppercase tracking-wider text-blue-700 bg-blue-50 border border-blue-200/80 px-2.5 py-0.5 rounded-full flex items-center gap-1">
|
<div className="grid h-full grid-cols-2">
|
||||||
{item.type === 'video' ? <VideoIcon className="w-3 h-3 text-blue-600" /> : <ImageIcon className="w-3 h-3 text-blue-600" />}
|
<figure className="relative overflow-hidden border-r border-white/30">
|
||||||
<span>{item.category}</span>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{item.badge && (
|
|
||||||
<span className="text-[10px] font-mono font-bold text-slate-700 bg-slate-100 border border-slate-200 px-2.5 py-0.5 rounded-full">
|
|
||||||
{item.badge}
|
|
||||||
</span>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Media Viewport Container */}
|
|
||||||
<div className="relative aspect-[16/10] rounded-2xl overflow-hidden mb-5 bg-slate-950 border border-slate-200 shadow-inner group/media">
|
|
||||||
{item.type === 'video' && item.videoUrl ? (
|
|
||||||
/* HTML5 Video Player Viewport */
|
|
||||||
<div className="relative w-full h-full">
|
|
||||||
<video
|
|
||||||
ref={videoRef}
|
|
||||||
src={item.videoUrl}
|
|
||||||
poster={item.poster}
|
|
||||||
loop
|
|
||||||
muted={isMuted}
|
|
||||||
playsInline
|
|
||||||
className="w-full h-full object-cover"
|
|
||||||
onPlay={() => setIsPlaying(true)}
|
|
||||||
onPause={() => setIsPlaying(false)}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* Video Controls Overlay */}
|
|
||||||
<div className="absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent flex items-end justify-between p-3.5 pointer-events-none">
|
|
||||||
<button
|
|
||||||
onClick={togglePlay}
|
|
||||||
aria-label={isPlaying ? 'Pause video' : 'Play video'}
|
|
||||||
className="pointer-events-auto w-9 h-9 rounded-full bg-white/95 text-slate-900 shadow-lg flex items-center justify-center hover:scale-110 active:scale-95 transition-all"
|
|
||||||
>
|
|
||||||
{isPlaying ? <Pause className="w-4 h-4 fill-slate-900" /> : <Play className="w-4 h-4 fill-slate-900 ml-0.5" />}
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div className="flex items-center gap-2 pointer-events-auto">
|
|
||||||
<button
|
|
||||||
onClick={toggleMute}
|
|
||||||
aria-label={isMuted ? 'Unmute' : 'Mute'}
|
|
||||||
className="w-8 h-8 rounded-full bg-black/60 text-white backdrop-blur-md flex items-center justify-center hover:bg-black/80 transition-colors"
|
|
||||||
>
|
|
||||||
{isMuted ? <VolumeX className="w-3.5 h-3.5" /> : <Volume2 className="w-3.5 h-3.5" />}
|
|
||||||
</button>
|
|
||||||
<span className="px-2 py-0.5 rounded bg-black/70 backdrop-blur-md text-[9px] font-mono font-bold text-white">
|
|
||||||
4K VIDEO
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
) : item.type === 'comparison' && item.beforeUrl && item.afterUrl ? (
|
|
||||||
/* Clean Side-by-Side Dual Split Frame */
|
|
||||||
<div className="grid grid-cols-2 h-full w-full">
|
|
||||||
<div className="relative h-full overflow-hidden border-r border-white/20">
|
|
||||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
|
||||||
<img src={item.beforeUrl} alt="Original source" className="h-full w-full object-cover" />
|
|
||||||
<span className="absolute bottom-2 left-2 bg-black/80 backdrop-blur-md px-2 py-0.5 rounded text-[9px] font-mono font-bold text-white shadow-sm">
|
|
||||||
RAW INPUT
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div className="relative h-full overflow-hidden">
|
|
||||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
|
||||||
<img src={item.afterUrl} alt="CRE Reconstructed result" className="h-full w-full object-cover group-hover/media:scale-105 transition-transform duration-700" />
|
|
||||||
<span className="absolute bottom-2 right-2 bg-blue-600/90 backdrop-blur-md px-2 py-0.5 rounded text-[9px] font-mono font-bold text-white shadow-sm">
|
|
||||||
CRE AI
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
) : (
|
|
||||||
/* High-Res Photo Showcase Viewport */
|
|
||||||
<div className="relative w-full h-full">
|
|
||||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||||
<img
|
<img src={item.beforeUrl} alt="Original image" loading="lazy" decoding="async" className="h-full w-full object-cover" />
|
||||||
src={item.image || item.poster || item.beforeUrl || 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80'}
|
<figcaption className="media-label left-2">Before</figcaption>
|
||||||
alt={item.title}
|
</figure>
|
||||||
className="w-full h-full object-cover group-hover/media:scale-105 transition-transform duration-700"
|
<figure className="relative overflow-hidden">
|
||||||
/>
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||||
<div className="absolute inset-0 bg-gradient-to-t from-slate-950/60 via-transparent to-transparent pointer-events-none" />
|
<img src={item.afterUrl} alt="Enhanced image" loading="lazy" decoding="async" className="h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.03]" />
|
||||||
{item.tag && (
|
<figcaption className="media-label right-2">After</figcaption>
|
||||||
<span className="absolute bottom-3 left-3 bg-white/90 backdrop-blur-md px-2.5 py-1 rounded-lg text-[10px] font-mono font-bold text-slate-800 shadow-sm">
|
</figure>
|
||||||
{item.tag}
|
</div>
|
||||||
</span>
|
) : image ? (
|
||||||
)}
|
<>
|
||||||
</div>
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||||
)}
|
<img src={image} alt={item.title} loading="lazy" decoding="async" className="h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.03]" />
|
||||||
</div>
|
<div className="absolute inset-0 bg-gradient-to-t from-slate-950/45 to-transparent" />
|
||||||
|
</>
|
||||||
{/* Card Copy */}
|
) : null}
|
||||||
<h4 className="text-lg sm:text-xl font-display font-bold text-slate-900 group-hover:text-blue-600 transition-colors tracking-tight mb-2">
|
<span className="absolute left-3 top-3 inline-flex items-center gap-1.5 rounded-full bg-white/94 px-2.5 py-1 text-[10px] font-semibold uppercase tracking-wide text-slate-700 shadow-sm">
|
||||||
{item.title}
|
{item.type === 'video' ? <Video className="h-3 w-3 text-blue-700" /> : <ImageIcon className="h-3 w-3 text-blue-700" />}
|
||||||
</h4>
|
{item.category}
|
||||||
<p className="text-xs sm:text-sm text-slate-600 font-normal leading-relaxed mb-4">
|
</span>
|
||||||
{item.description}
|
{item.type === 'video' && <Play className="pointer-events-none absolute bottom-3 right-3 h-8 w-8 rounded-full bg-white/90 p-2 text-slate-900 shadow-sm" />}
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Action Link */}
|
<div className="p-5">
|
||||||
<div className="pt-3 border-t border-slate-100 flex items-center justify-between">
|
{item.tag && <p className="text-xs font-semibold uppercase tracking-[0.12em] text-blue-700">{item.tag}</p>}
|
||||||
<span className="text-[11px] font-mono text-slate-400">
|
<h3 className="mt-2 text-xl font-display font-bold tracking-tight text-slate-900">{item.title}</h3>
|
||||||
Studio Preset
|
<p className="mt-2 text-sm leading-relaxed text-slate-600">{item.description}</p>
|
||||||
</span>
|
<Link href={item.link} className="mt-5 inline-flex items-center gap-1.5 text-sm font-semibold text-blue-700 transition-transform hover:translate-x-0.5">
|
||||||
<Link
|
Open tool <ArrowRight className="h-4 w-4" />
|
||||||
href={item.link}
|
|
||||||
className="inline-flex items-center gap-1.5 text-xs font-mono font-bold text-blue-600 group-hover:text-blue-700 group-hover:translate-x-0.5 transition-all"
|
|
||||||
>
|
|
||||||
<span>Open Tool</span>
|
|
||||||
<ArrowRight className="w-3.5 h-3.5" />
|
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</SpotlightCard>
|
</article>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
'use client';
|
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { NumberCounter } from '@/components/animate-ui/NumberCounter';
|
|
||||||
import { AnimatedGradientText } from '@/components/animate-ui/AnimatedGradientText';
|
|
||||||
|
|
||||||
interface StatsSectionProps {
|
interface StatsSectionProps {
|
||||||
items?: Array<{
|
items?: Array<{
|
||||||
@@ -21,12 +17,10 @@ export function StatsSection({ items = [] }: StatsSectionProps) {
|
|||||||
{items.map((stat, idx) => (
|
{items.map((stat, idx) => (
|
||||||
<div
|
<div
|
||||||
key={idx}
|
key={idx}
|
||||||
className="pt-4 md:pt-0 space-y-2 group hover:-translate-y-1 transition-all duration-300"
|
className="pt-4 md:pt-0 space-y-2"
|
||||||
>
|
>
|
||||||
<div className="text-4xl sm:text-5xl lg:text-6xl font-display font-black tracking-tight inline-block">
|
<div className="text-4xl sm:text-5xl lg:text-6xl font-display font-black tracking-tight text-gradient-brand">
|
||||||
<AnimatedGradientText duration={5}>
|
{stat.value}
|
||||||
<NumberCounter value={stat.value} duration={1.8} />
|
|
||||||
</AnimatedGradientText>
|
|
||||||
</div>
|
</div>
|
||||||
<p className="text-xs sm:text-sm font-mono uppercase tracking-wider text-slate-600 font-bold block">
|
<p className="text-xs sm:text-sm font-mono uppercase tracking-wider text-slate-600 font-bold block">
|
||||||
{stat.label}
|
{stat.label}
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ export function TryItWidget({
|
|||||||
<div className="mt-7">
|
<div className="mt-7">
|
||||||
{status === 'idle' && (
|
{status === 'idle' && (
|
||||||
<div className="space-y-6">
|
<div className="space-y-6">
|
||||||
{/* Drag & Drop Upload Zone */}
|
{/* Drag & Drop Upload Zone - Prominent & Spacious */}
|
||||||
<div
|
<div
|
||||||
onDrop={handleDrop}
|
onDrop={handleDrop}
|
||||||
onDragOver={(e) => {
|
onDragOver={(e) => {
|
||||||
@@ -214,10 +214,10 @@ export function TryItWidget({
|
|||||||
role="button"
|
role="button"
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
aria-label="Upload photo to edit"
|
aria-label="Upload photo to edit"
|
||||||
className={`border-2 border-dashed rounded-3xl p-8 sm:p-12 text-center cursor-pointer transition-all duration-300 group ${
|
className={`border-2 border-dashed rounded-3xl p-8 sm:p-12 lg:p-14 text-center cursor-pointer transition-all duration-300 min-h-[300px] sm:min-h-[340px] flex flex-col items-center justify-center group ${
|
||||||
isDragOver
|
isDragOver
|
||||||
? 'border-blue-500 bg-blue-50/60 scale-[1.01]'
|
? 'border-blue-500 bg-blue-50/70 scale-[1.01] shadow-lg shadow-blue-500/10'
|
||||||
: 'border-slate-300 hover:border-blue-500 bg-slate-50/50 hover:bg-blue-50/20'
|
: 'border-slate-300/90 hover:border-blue-500 bg-gradient-to-b from-blue-50/30 via-white to-slate-50/40 hover:bg-blue-50/20'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
@@ -227,20 +227,20 @@ export function TryItWidget({
|
|||||||
className="hidden"
|
className="hidden"
|
||||||
onChange={(e) => e.target.files?.[0] && handleFileChange(e.target.files[0])}
|
onChange={(e) => e.target.files?.[0] && handleFileChange(e.target.files[0])}
|
||||||
/>
|
/>
|
||||||
<div className="w-16 h-16 sm:w-20 sm:h-20 mx-auto mb-4 rounded-3xl bg-blue-50 border border-blue-100 flex items-center justify-center text-blue-600 group-hover:scale-110 transition-all duration-300 shadow-sm">
|
<div className="w-16 h-16 sm:w-20 sm:h-20 mx-auto mb-5 rounded-3xl bg-blue-50 border border-blue-200/80 flex items-center justify-center text-blue-600 group-hover:scale-110 group-hover:bg-blue-600 group-hover:text-white transition-all duration-300 shadow-sm">
|
||||||
<UploadCloud className="w-8 h-8 sm:w-10 sm:h-10" />
|
<UploadCloud className="w-8 h-8 sm:w-10 sm:h-10" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="inline-flex items-center gap-2 px-6 py-3 rounded-full bg-blue-600 hover:bg-blue-700 text-white font-semibold text-sm shadow-md shadow-blue-500/20 group-hover:shadow-lg transition-all mb-3">
|
<div className="inline-flex items-center gap-2.5 px-8 py-3.5 rounded-full bg-gradient-to-r from-blue-600 via-indigo-600 to-blue-700 hover:from-blue-700 hover:to-indigo-800 text-white font-bold text-sm shadow-md shadow-blue-500/25 group-hover:shadow-lg group-hover:scale-105 active:scale-95 transition-all mb-3.5">
|
||||||
<UploadCloud className="w-4 h-4" />
|
<UploadCloud className="w-4 h-4" />
|
||||||
<span>Upload Image</span>
|
<span>Upload Image</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p className="text-sm sm:text-base font-display font-medium text-slate-700">
|
<p className="text-sm sm:text-base font-display font-semibold text-slate-800">
|
||||||
or drag and drop your photo here
|
or drag and drop your photo anywhere here
|
||||||
</p>
|
</p>
|
||||||
<p className="mt-2 text-xs font-mono text-slate-500">
|
<p className="mt-2 text-xs font-mono text-slate-500">
|
||||||
Supports JPG, PNG, WEBP up to {tool.tryIt?.limits?.maxMB || 12}MB • High-res 4K processing
|
Supports JPG, PNG, WEBP up to {tool.tryIt?.limits?.maxMB || 12}MB • Lossless 4K processing
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import React, { useRef, useEffect, useCallback } from 'react';
|
import React, { useRef, useState, useEffect, useCallback } from 'react';
|
||||||
|
|
||||||
interface CardBeforeAfterSliderProps {
|
interface CardBeforeAfterSliderProps {
|
||||||
beforeUrl: string;
|
beforeUrl: string;
|
||||||
@@ -18,9 +18,11 @@ export function CardBeforeAfterSlider({
|
|||||||
aspectRatio = 'aspect-[16/10]',
|
aspectRatio = 'aspect-[16/10]',
|
||||||
}: CardBeforeAfterSliderProps) {
|
}: CardBeforeAfterSliderProps) {
|
||||||
const containerRef = useRef<HTMLDivElement>(null);
|
const containerRef = useRef<HTMLDivElement>(null);
|
||||||
|
const isHoveredRef = useRef(false);
|
||||||
const isDraggingRef = useRef(false);
|
const isDraggingRef = useRef(false);
|
||||||
const isInteractedRef = useRef(false);
|
const isInteractedRef = useRef(false);
|
||||||
const animIdRef = useRef<number>(0);
|
const animIdRef = useRef<number>(0);
|
||||||
|
const [isHoveredState, setIsHoveredState] = useState(false);
|
||||||
|
|
||||||
const setSplit = useCallback((percent: number) => {
|
const setSplit = useCallback((percent: number) => {
|
||||||
const clamped = Math.max(3, Math.min(97, percent));
|
const clamped = Math.max(3, Math.min(97, percent));
|
||||||
@@ -41,51 +43,50 @@ export function CardBeforeAfterSlider({
|
|||||||
[setSplit]
|
[setSplit]
|
||||||
);
|
);
|
||||||
|
|
||||||
// Gentle auto-sliding animation until the user actively clicks
|
// Smooth, gentle before/after slide sweep: RUNS ONLY ON HOVER OVER THIS SPECIFIC CARD!
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let startTime: number | null = null;
|
let startTime: number | null = null;
|
||||||
let isVisible = true;
|
|
||||||
|
|
||||||
const animate = (time: number) => {
|
const animate = (time: number) => {
|
||||||
if (!isVisible) return;
|
// ONLY animate when actively hovered and not manually dragging
|
||||||
if (!isInteractedRef.current) {
|
if (isHoveredRef.current && !isDraggingRef.current && !isInteractedRef.current) {
|
||||||
if (startTime === null) startTime = time;
|
if (startTime === null) startTime = time;
|
||||||
const elapsed = time - startTime;
|
const elapsed = time - startTime;
|
||||||
// Smooth sine wave between 28% and 72% over a 3.4-second cycle
|
// Calm, luxurious 3.6-second oscillation between 28% and 72%
|
||||||
const currentSplit = 50 + 22 * Math.sin((elapsed / 3400) * 2 * Math.PI);
|
const currentSplit = 50 + 22 * Math.sin((elapsed / 3600) * 2 * Math.PI);
|
||||||
setSplit(currentSplit);
|
setSplit(currentSplit);
|
||||||
animIdRef.current = requestAnimationFrame(animate);
|
animIdRef.current = requestAnimationFrame(animate);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const observer = new IntersectionObserver(
|
if (isHoveredState && !isInteractedRef.current) {
|
||||||
([entry]) => {
|
startTime = null;
|
||||||
isVisible = entry.isIntersecting;
|
|
||||||
if (isVisible && !isInteractedRef.current) {
|
|
||||||
startTime = null;
|
|
||||||
animIdRef.current = requestAnimationFrame(animate);
|
|
||||||
} else {
|
|
||||||
cancelAnimationFrame(animIdRef.current);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ threshold: 0.05 }
|
|
||||||
);
|
|
||||||
|
|
||||||
if (containerRef.current) {
|
|
||||||
observer.observe(containerRef.current);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isInteractedRef.current) {
|
|
||||||
animIdRef.current = requestAnimationFrame(animate);
|
animIdRef.current = requestAnimationFrame(animate);
|
||||||
|
} else {
|
||||||
|
cancelAnimationFrame(animIdRef.current);
|
||||||
}
|
}
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
cancelAnimationFrame(animIdRef.current);
|
cancelAnimationFrame(animIdRef.current);
|
||||||
observer.disconnect();
|
|
||||||
};
|
};
|
||||||
|
}, [isHoveredState, setSplit]);
|
||||||
|
|
||||||
|
const handleMouseEnter = useCallback(() => {
|
||||||
|
isHoveredRef.current = true;
|
||||||
|
setIsHoveredState(true);
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
const handleMouseLeave = useCallback(() => {
|
||||||
|
isHoveredRef.current = false;
|
||||||
|
isDraggingRef.current = false;
|
||||||
|
setIsHoveredState(false);
|
||||||
|
// Smoothly return to clean 50% rest state
|
||||||
|
if (!isInteractedRef.current) {
|
||||||
|
setSplit(50);
|
||||||
|
}
|
||||||
}, [setSplit]);
|
}, [setSplit]);
|
||||||
|
|
||||||
// Click & Drag handlers: DOES NOT WORK ON HOVER - REQUIRES CURSOR CLICK!
|
// Click & Drag handlers: manual inspection when user clicks or drags
|
||||||
const handleMouseDown = useCallback(
|
const handleMouseDown = useCallback(
|
||||||
(e: React.MouseEvent<HTMLDivElement>) => {
|
(e: React.MouseEvent<HTMLDivElement>) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
@@ -138,6 +139,8 @@ export function CardBeforeAfterSlider({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
ref={containerRef}
|
ref={containerRef}
|
||||||
|
onMouseEnter={handleMouseEnter}
|
||||||
|
onMouseLeave={handleMouseLeave}
|
||||||
onMouseDown={handleMouseDown}
|
onMouseDown={handleMouseDown}
|
||||||
onTouchStart={handleTouchStart}
|
onTouchStart={handleTouchStart}
|
||||||
onTouchMove={handleTouchMove}
|
onTouchMove={handleTouchMove}
|
||||||
@@ -147,7 +150,7 @@ export function CardBeforeAfterSlider({
|
|||||||
aria-valuenow={50}
|
aria-valuenow={50}
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
style={{ '--split': '50%' } as React.CSSProperties}
|
style={{ '--split': '50%' } as React.CSSProperties}
|
||||||
className={`relative w-full ${aspectRatio} overflow-hidden cursor-ew-resize select-none bg-slate-900 group/slider`}
|
className={`relative w-full ${aspectRatio} overflow-hidden cursor-ew-resize select-none bg-slate-900 group/slider transition-shadow duration-300 hover:shadow-cream-lg`}
|
||||||
>
|
>
|
||||||
{/* Layer 1: After Image (Transformed Neural Result) */}
|
{/* Layer 1: After Image (Transformed Neural Result) */}
|
||||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||||
@@ -198,9 +201,9 @@ export function CardBeforeAfterSlider({
|
|||||||
{afterLabel}
|
{afterLabel}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Click / Drag Hint */}
|
{/* Hover & Slide Hint */}
|
||||||
<div className="pointer-events-none absolute top-2.5 right-2.5 z-20 rounded-full bg-white/90 px-2.5 py-0.5 text-[9px] font-semibold text-slate-700 shadow-sm backdrop-blur-xs opacity-0 group-hover/slider:opacity-100 transition-opacity">
|
<div className="pointer-events-none absolute top-2.5 right-2.5 z-20 rounded-full bg-white/92 px-2.5 py-0.5 text-[9px] font-semibold text-slate-700 shadow-sm backdrop-blur-xs opacity-0 group-hover/slider:opacity-100 transition-opacity">
|
||||||
Click & drag to compare
|
Drag to inspect
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -0,0 +1,47 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import dynamic from 'next/dynamic';
|
||||||
|
import { useEffect, useRef, useState } from 'react';
|
||||||
|
|
||||||
|
const Cinematic3DComparison = dynamic(
|
||||||
|
() => import('./Cinematic3DComparison').then((module) => module.Cinematic3DComparison),
|
||||||
|
{ ssr: false }
|
||||||
|
);
|
||||||
|
|
||||||
|
interface DeferredComparisonProps {
|
||||||
|
beforeUrl: string;
|
||||||
|
afterUrl: string;
|
||||||
|
beforeLabel?: string;
|
||||||
|
afterLabel?: string;
|
||||||
|
aspectRatio?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** A fast static preview that upgrades to the comparison control near the viewport. */
|
||||||
|
export function DeferredComparison({ beforeUrl, afterUrl, beforeLabel, afterLabel, aspectRatio = 'aspect-[4/3]' }: DeferredComparisonProps) {
|
||||||
|
const previewRef = useRef<HTMLDivElement>(null);
|
||||||
|
const [active, setActive] = useState(false);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const element = previewRef.current;
|
||||||
|
if (!element) return;
|
||||||
|
const observer = new IntersectionObserver(([entry]) => {
|
||||||
|
if (!entry.isIntersecting) return;
|
||||||
|
setActive(true);
|
||||||
|
observer.disconnect();
|
||||||
|
}, { rootMargin: '240px 0px' });
|
||||||
|
observer.observe(element);
|
||||||
|
return () => observer.disconnect();
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
if (active) {
|
||||||
|
return <Cinematic3DComparison beforeUrl={beforeUrl} afterUrl={afterUrl} beforeLabel={beforeLabel} afterLabel={afterLabel} aspectRatio={aspectRatio} />;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div ref={previewRef} className={`relative overflow-hidden bg-slate-100 ${aspectRatio}`}>
|
||||||
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||||
|
<img src={afterUrl} alt="AI-enhanced preview" loading="lazy" decoding="async" className="h-full w-full object-cover" />
|
||||||
|
<span className="absolute bottom-3 left-3 rounded-full bg-white/92 px-3 py-1 text-xs font-semibold text-slate-800 shadow-sm">Drag to compare</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import React, { useState, useEffect, useRef } from 'react';
|
import React, { useState, useEffect } from 'react';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { usePathname } from 'next/navigation';
|
import { usePathname } from 'next/navigation';
|
||||||
import { Menu, X, Smartphone, Layers, ArrowUpRight } from 'lucide-react';
|
import { Menu, X, Smartphone, Layers, ArrowUpRight } from 'lucide-react';
|
||||||
@@ -16,8 +16,6 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
|||||||
const [isScrolled, setIsScrolled] = useState(false);
|
const [isScrolled, setIsScrolled] = useState(false);
|
||||||
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
|
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
|
||||||
const pathname = usePathname();
|
const pathname = usePathname();
|
||||||
const navRef = useRef<HTMLDivElement>(null);
|
|
||||||
const glintRef = useRef<HTMLDivElement>(null);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const handleScroll = () => {
|
const handleScroll = () => {
|
||||||
@@ -36,41 +34,13 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
|||||||
return () => document.removeEventListener('keydown', closeOnEscape);
|
return () => document.removeEventListener('keydown', closeOnEscape);
|
||||||
}, [mobileMenuOpen]);
|
}, [mobileMenuOpen]);
|
||||||
|
|
||||||
const handleMouseMove = (e: React.MouseEvent<HTMLDivElement>) => {
|
|
||||||
if (!glintRef.current) return;
|
|
||||||
const rect = e.currentTarget.getBoundingClientRect();
|
|
||||||
const x = ((e.clientX - rect.left) / rect.width) * 100;
|
|
||||||
const y = ((e.clientY - rect.top) / rect.height) * 100;
|
|
||||||
glintRef.current.style.opacity = '0.6';
|
|
||||||
glintRef.current.style.background = `radial-gradient(ellipse 260px 80px at ${x.toFixed(1)}% ${y.toFixed(1)}%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.08) 40%, transparent 70%)`;
|
|
||||||
};
|
|
||||||
|
|
||||||
const handleMouseLeave = () => {
|
|
||||||
if (glintRef.current) {
|
|
||||||
glintRef.current.style.opacity = '0';
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<header className="fixed top-3 sm:top-5 left-0 right-0 z-50 px-3 sm:px-6 lg:px-8 pointer-events-none transition-all duration-300">
|
<header className="fixed top-3 sm:top-5 left-0 right-0 z-50 px-3 sm:px-6 lg:px-8 pointer-events-none transition-all duration-300">
|
||||||
<div
|
<div
|
||||||
ref={navRef}
|
|
||||||
onMouseMove={handleMouseMove}
|
|
||||||
onMouseLeave={handleMouseLeave}
|
|
||||||
className={`relative max-w-6xl mx-auto liquid-glass-nav rounded-2xl sm:rounded-[22px] px-3.5 sm:px-6 py-2.5 sm:py-3 flex items-center justify-between transition-all duration-300 pointer-events-auto ${
|
className={`relative max-w-6xl mx-auto liquid-glass-nav rounded-2xl sm:rounded-[22px] px-3.5 sm:px-6 py-2.5 sm:py-3 flex items-center justify-between transition-all duration-300 pointer-events-auto ${
|
||||||
isScrolled ? 'nav-scrolled' : ''
|
isScrolled ? 'nav-scrolled' : ''
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{/* Optical Glass Caustic Reflection Sheen */}
|
|
||||||
<div className="liquid-caustic-refraction" aria-hidden="true" />
|
|
||||||
|
|
||||||
{/* Dynamic Specular Caustic Glint - Direct DOM, 0 React re-renders */}
|
|
||||||
<div
|
|
||||||
ref={glintRef}
|
|
||||||
className="absolute inset-0 pointer-events-none transition-opacity duration-300 z-[2] opacity-0"
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* Foreground Content: 100% Crisp, High-Contrast, Rock-Solid Static (Zero Wobble) */}
|
|
||||||
<div className="relative z-20 flex items-center justify-between w-full">
|
<div className="relative z-20 flex items-center justify-between w-full">
|
||||||
{/* Brand Logo */}
|
{/* Brand Logo */}
|
||||||
<div className="relative z-20">
|
<div className="relative z-20">
|
||||||
|
|||||||
@@ -0,0 +1,50 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
interface NeuralGrainOverlayProps {
|
||||||
|
intensity?: number;
|
||||||
|
active?: boolean;
|
||||||
|
className?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function NeuralGrainOverlay({
|
||||||
|
intensity = 0.22,
|
||||||
|
active = true,
|
||||||
|
className = '',
|
||||||
|
}: NeuralGrainOverlayProps) {
|
||||||
|
if (!active) return null;
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
aria-hidden="true"
|
||||||
|
className={`pointer-events-none absolute inset-0 z-10 overflow-hidden mix-blend-overlay ${className}`}
|
||||||
|
style={{ opacity: intensity }}
|
||||||
|
>
|
||||||
|
{/* High-frequency animated SVG noise filter */}
|
||||||
|
<svg className="absolute inset-0 h-full w-full opacity-65">
|
||||||
|
<filter id="neural-grain-noise">
|
||||||
|
<feTurbulence
|
||||||
|
type="fractalNoise"
|
||||||
|
baseFrequency="0.75"
|
||||||
|
numOctaves="3"
|
||||||
|
stitchTiles="stitch"
|
||||||
|
>
|
||||||
|
<animate
|
||||||
|
attributeName="seed"
|
||||||
|
from="1"
|
||||||
|
to="60"
|
||||||
|
dur="1.8s"
|
||||||
|
repeatCount="indefinite"
|
||||||
|
/>
|
||||||
|
</feTurbulence>
|
||||||
|
<feColorMatrix type="saturate" values="0" />
|
||||||
|
</filter>
|
||||||
|
<rect width="100%" height="100%" filter="url(#neural-grain-noise)" />
|
||||||
|
</svg>
|
||||||
|
|
||||||
|
{/* Latent Neural Scan Sweep Beam */}
|
||||||
|
<div className="absolute inset-y-0 w-28 bg-gradient-to-r from-transparent via-blue-400/25 to-transparent animate-neural-sweep pointer-events-none" />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,20 +1,36 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import { motion, useReducedMotion } from 'framer-motion';
|
import { useEffect, useRef } from 'react';
|
||||||
|
|
||||||
/** Subtle, viewport-triggered entrance shared by every JSON-driven page section. */
|
/** Lightweight progressive enhancement: content is visible before JavaScript runs. */
|
||||||
export function SectionEntrance({ children, id }: { children: React.ReactNode; id: string }) {
|
export function SectionEntrance({ children, id }: { children: React.ReactNode; id: string }) {
|
||||||
const reduceMotion = useReducedMotion();
|
const sectionRef = useRef<HTMLDivElement>(null);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const element = sectionRef.current;
|
||||||
|
if (!element || window.matchMedia('(prefers-reduced-motion: reduce)').matches) return;
|
||||||
|
|
||||||
|
const observer = new IntersectionObserver(
|
||||||
|
([entry]) => {
|
||||||
|
if (!entry.isIntersecting) return;
|
||||||
|
element.dataset.revealed = 'true';
|
||||||
|
observer.disconnect();
|
||||||
|
},
|
||||||
|
{ rootMargin: '0px 0px -6% 0px', threshold: 0.03 }
|
||||||
|
);
|
||||||
|
|
||||||
|
observer.observe(element);
|
||||||
|
return () => observer.disconnect();
|
||||||
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<motion.div
|
<div
|
||||||
|
ref={sectionRef}
|
||||||
data-section-entrance={id}
|
data-section-entrance={id}
|
||||||
initial={reduceMotion ? false : { opacity: 0, y: 14 }}
|
data-revealed="false"
|
||||||
whileInView={{ opacity: 1, y: 0 }}
|
className={id === 'hero-section' ? 'section-shell section-shell--hero' : 'section-shell'}
|
||||||
viewport={{ once: true, amount: 0.08, margin: '0px 0px -24px 0px' }}
|
|
||||||
transition={{ duration: 0.42, ease: [0.22, 1, 0.36, 1] }}
|
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</motion.div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import { SiteConfig, PageConfig, ToolItem, AppItem, CategoryItem } from '@/types
|
|||||||
import { getEndpointById } from '../catalog/loader';
|
import { getEndpointById } from '../catalog/loader';
|
||||||
|
|
||||||
const CONTENT_DIR = path.join(process.cwd(), 'content');
|
const CONTENT_DIR = path.join(process.cwd(), 'content');
|
||||||
|
const MANAGEMENT_DIR = path.join(process.cwd(), 'management');
|
||||||
|
|
||||||
// In-memory cache for speed and resilience
|
// In-memory cache for speed and resilience
|
||||||
let siteConfigCache: SiteConfig | null = null;
|
let siteConfigCache: SiteConfig | null = null;
|
||||||
@@ -35,19 +36,46 @@ export function getSiteConfig(): SiteConfig {
|
|||||||
|
|
||||||
export function getPageConfig(slug: string): PageConfig | null {
|
export function getPageConfig(slug: string): PageConfig | null {
|
||||||
const normSlug = slug === '' || slug === '/' ? 'home' : slug.replace(/^\/+|\/+$/g, '');
|
const normSlug = slug === '' || slug === '/' ? 'home' : slug.replace(/^\/+|\/+$/g, '');
|
||||||
if (pagesCache.has(normSlug)) return pagesCache.get(normSlug)!;
|
|
||||||
|
|
||||||
const filePath = path.join(CONTENT_DIR, 'pages', `${normSlug}.json`);
|
// 1. Prioritize management/pages/[name]/page.config.json
|
||||||
const page = readJsonFile<PageConfig>(filePath);
|
const mgmtPageFile = path.join(MANAGEMENT_DIR, 'pages', normSlug, 'page.config.json');
|
||||||
if (page) {
|
if (fs.existsSync(mgmtPageFile)) {
|
||||||
pagesCache.set(normSlug, page);
|
const page = readJsonFile<PageConfig>(mgmtPageFile);
|
||||||
|
if (page) return page;
|
||||||
}
|
}
|
||||||
return page;
|
|
||||||
|
// 2. Fallback to content/pages/[name].json
|
||||||
|
const filePath = path.join(CONTENT_DIR, 'pages', `${normSlug}.json`);
|
||||||
|
return readJsonFile<PageConfig>(filePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getAllTools(): ToolItem[] {
|
export function getAllTools(): ToolItem[] {
|
||||||
if (toolsCache.size > 0) return Array.from(toolsCache.values());
|
// 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<any>(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
|
||||||
const toolsDir = path.join(CONTENT_DIR, 'collections', 'tools');
|
const toolsDir = path.join(CONTENT_DIR, 'collections', 'tools');
|
||||||
if (fs.existsSync(toolsDir)) {
|
if (fs.existsSync(toolsDir)) {
|
||||||
const files = fs.readdirSync(toolsDir).filter((f) => f.endsWith('.json'));
|
const files = fs.readdirSync(toolsDir).filter((f) => f.endsWith('.json'));
|
||||||
@@ -75,8 +103,25 @@ export function getToolById(id: string): ToolItem | null {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getAllApps(): AppItem[] {
|
export function getAllApps(): AppItem[] {
|
||||||
if (appsCache.size > 0) return Array.from(appsCache.values());
|
// 1. Prioritize management/apps/[slug]/app.config.json
|
||||||
|
const mgmtAppsDir = path.join(MANAGEMENT_DIR, 'apps');
|
||||||
|
if (fs.existsSync(mgmtAppsDir)) {
|
||||||
|
const slugs = fs.readdirSync(mgmtAppsDir);
|
||||||
|
const apps: AppItem[] = [];
|
||||||
|
for (const slug of slugs) {
|
||||||
|
const configPath = path.join(mgmtAppsDir, slug, 'app.config.json');
|
||||||
|
if (fs.existsSync(configPath)) {
|
||||||
|
const app = readJsonFile<AppItem>(configPath);
|
||||||
|
if (app && app.status === 'published') {
|
||||||
|
apps.push(app);
|
||||||
|
appsCache.set(app.slug, app);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (apps.length > 0) return apps;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 2. Fallback to content/collections/apps
|
||||||
const appsDir = path.join(CONTENT_DIR, 'collections', 'apps');
|
const appsDir = path.join(CONTENT_DIR, 'collections', 'apps');
|
||||||
if (fs.existsSync(appsDir)) {
|
if (fs.existsSync(appsDir)) {
|
||||||
const files = fs.readdirSync(appsDir).filter((f) => f.endsWith('.json'));
|
const files = fs.readdirSync(appsDir).filter((f) => f.endsWith('.json'));
|
||||||
|
|||||||