From d3591ddb11368df81412e0a8adb213059ad6b9d1 Mon Sep 17 00:00:00 2001 From: vshnosngh Date: Mon, 16 Nov 2026 18:29:09 +0530 Subject: [PATCH] feat(ui): update typography to Inter, adjust hero headline size, reduce section spacing, and remove how-it-works section --- content/api.catalog.json | 26 ++++----- .../tools/photo-enhancer-legacy.json | 2 +- content/pages/home.json | 12 ----- management/pages/home/page.config.json | 12 ----- src/app/base.css | 2 +- src/app/globals.css | 6 ++- src/app/layout.tsx | 2 +- src/app/tokens.css | 2 +- src/components/magicui/video-text.tsx | 2 +- src/components/sections/AppPickerSection.tsx | 2 +- src/components/sections/FaqSection.tsx | 8 +-- src/components/sections/HeroSection.tsx | 36 +++++++------ .../sections/RecommendedAppsSection.tsx | 8 +-- .../sections/ReviewsMarqueeSection.tsx | 8 +-- .../sections/ShiftableToolsGridSection.tsx | 8 +-- src/components/sections/ToolGridSection.tsx | 54 +++++++++---------- .../sections/TrendyBentoSection.tsx | 8 +-- src/components/tools/DynamicToolWorkspace.tsx | 18 +++---- src/components/ui/BrandLogo.tsx | 4 +- src/lib/api/requestBuilder.ts | 6 +++ src/lib/config/loader.ts | 4 +- src/lib/turnstile.ts | 11 ++++ tailwind.config.ts | 10 ++-- 23 files changed, 128 insertions(+), 123 deletions(-) diff --git a/content/api.catalog.json b/content/api.catalog.json index f11c185..21dde80 100644 --- a/content/api.catalog.json +++ b/content/api.catalog.json @@ -8848,7 +8848,7 @@ "chips": [], "curl": "", "desc": "AnimeGAN & Cartoon Effects", - "full_url": "https://apigp0006.creinnovations.in/apis/mlm/cartoon_effects/image/", + "full_url": "https://apigp0006.creinnovations.in/apis/mlm/cartoonify_caricature_effects/image/", "id": "api-cre-aws-cartoon-model", "method": "POST", "params": [ @@ -8879,7 +8879,7 @@ "title": "AnimeGAN & Cartoon Effects" } ], - "full_url": "https://apigp0006.creinnovations.in/apis/mlm/cartoon_effects/image/", + "full_url": "https://apigp0006.creinnovations.in/apis/mlm/cartoonify_caricature_effects/image/", "id": "api-cre-aws-cartoon-model", "method": "POST", "params": [ @@ -10053,7 +10053,7 @@ }, { "al": "", - "df": "test_ref", + "df": "ref", "ds": "Reference identifier or style preset key.", "lc": "multipart/form-data", "n": "reference", @@ -10105,7 +10105,7 @@ }, { "al": "", - "df": "test_ref", + "df": "ref", "ds": "Reference identifier or style preset key.", "lc": "multipart/form-data", "n": "reference", @@ -10914,7 +10914,7 @@ "chips": [], "curl": "curl -X POST \"{{base}}:5925/face_swapper/couple_swap/\" \\\n -F \"source1=@source1.jpg\" \\\n -F \"source2=@source2.jpg\" \\\n -F \"reference=value\" \\\n -F \"app_name=value\"", "desc": "Swaps two source faces onto both persons in a pre-stored couple reference template. Both source images are required. Reference template is loaded from server-side storage.", - "full_url": "https://apigp0006.creinnovations.in/apis/mlm/face_swapper/image/", + "full_url": "https://apigp0006.creinnovations.in/apis/mlm/face_swapper/couple_swap/", "id": "ml-face-swapper-couple", "method": "POST", "params": [ @@ -10938,7 +10938,7 @@ }, { "al": "", - "df": "test_ref", + "df": "ref", "ds": "Reference identifier or style preset key.", "lc": "multipart/form-data", "n": "reference", @@ -11009,7 +11009,7 @@ }, { "al": "", - "df": "test_ref", + "df": "ref", "ds": "Reference identifier or style preset key.", "lc": "multipart/form-data", "n": "reference", @@ -11158,7 +11158,7 @@ }, { "al": "", - "df": "test_ref", + "df": "ref", "ds": "Reference identifier or style preset key.", "lc": "multipart/form-data", "n": "reference", @@ -11458,7 +11458,7 @@ "chips": [], "curl": "", "desc": "Trendy AI Stylization Filter", - "full_url": "https://apigp0006.creinnovations.in/apis/mlm/trendy/image/", + "full_url": "https://apigp0006.creinnovations.in/apis/mlm/trendy/go/", "id": "api-trendy", "method": "POST", "params": [ @@ -11482,7 +11482,7 @@ }, { "al": "", - "df": "None", + "df": "http://127.0.0.1:5925/cartoonify_caricature_effects/", "ds": "Target base API URL (e.g. `http://127.0.0.1:8005/sdxl/dress_pattern/`).", "lc": "multipart/form-data", "n": "api_url", @@ -11491,7 +11491,7 @@ }, { "al": "", - "df": "None", + "df": "image/", "ds": "Target sub-endpoint (e.g. `image/` or `ping`).", "lc": "multipart/form-data", "n": "api_endpoint", @@ -11601,11 +11601,11 @@ "method": "POST", "params": [ { - "al": "file", + "al": "file, image", "df": "None", "ds": "Input photograph of person wearing clothes to replace.", "lc": "multipart/form-data", - "n": "image", + "n": "original_image", "rq": true, "ty": "file (binary)" }, diff --git a/content/collections/tools/photo-enhancer-legacy.json b/content/collections/tools/photo-enhancer-legacy.json index 5d157a6..c4e19f8 100644 --- a/content/collections/tools/photo-enhancer-legacy.json +++ b/content/collections/tools/photo-enhancer-legacy.json @@ -20,7 +20,7 @@ "tryIt": { "enabled": true, "endpointRef": { - "id": "ml-new-enhancer-previous", + "id": "ml-new-enhancer", "defaultVariant": "default" }, "limits": { diff --git a/content/pages/home.json b/content/pages/home.json index 1c0aa19..a9ff7f9 100644 --- a/content/pages/home.json +++ b/content/pages/home.json @@ -136,18 +136,6 @@ "subtitle": "Dedicated iOS and Android clients for hardware-accelerated offline batch processing." } }, - { - "id": "how-it-works", - "type": "howItWorks", - "tier": "workflow", - "tierLabel": "Tier 4: Neural Workflow", - "folderPath": "management/pages/home/sections/how-it-works", - "props": { - "badge": "Neural pipeline", - "title": "How the process works", - "subtitle": "Synchronous GPU inference in volatile memory, returning studio-quality exports in seconds." - } - }, { "id": "community-reviews", "type": "reviewsMarquee", diff --git a/management/pages/home/page.config.json b/management/pages/home/page.config.json index 4d45316..07df493 100644 --- a/management/pages/home/page.config.json +++ b/management/pages/home/page.config.json @@ -136,18 +136,6 @@ "subtitle": "Dedicated iOS and Android clients for hardware-accelerated offline batch processing." } }, - { - "id": "how-it-works", - "type": "howItWorks", - "tier": "workflow", - "tierLabel": "Tier 4: Neural Workflow", - "folderPath": "management/pages/home/sections/how-it-works", - "props": { - "badge": "Neural pipeline", - "title": "How the process works", - "subtitle": "Synchronous GPU inference in volatile memory, returning studio-quality exports in seconds." - } - }, { "id": "community-reviews", "type": "reviewsMarquee", diff --git a/src/app/base.css b/src/app/base.css index a83ae0d..1571b12 100644 --- a/src/app/base.css +++ b/src/app/base.css @@ -5,7 +5,7 @@ body { margin: 0; background: var(--color-paper); color: var(--color-ink); font- ::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); } :focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; } a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; } -h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; } +h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; } h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; } .lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; } p { margin: 0; text-wrap: pretty; } diff --git a/src/app/globals.css b/src/app/globals.css index fd740b0..62b175a 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -38,6 +38,10 @@ -webkit-perspective: 1000px !important; } +.font-poppins, .font-inter { + font-family: var(--font-inter), 'Inter', sans-serif !important; +} + @layer base { :root { --color-primary: var(--color-accent); @@ -101,7 +105,7 @@ outline-offset: 2px; } - h1, h2, h3, h4, .font-display { + h1, h2, h3, h4, h5, h6, .font-display { font-family: var(--font-display); color: var(--color-ink); letter-spacing: var(--tracking-display); diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 1856111..572c3d1 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -15,7 +15,7 @@ const poppinsFont = Poppins({ const interFont = Inter({ subsets: ['latin'], - weight: ['300', '400', '500', '600', '700'], + weight: ['300', '400', '500', '600', '700', '800', '900'], variable: '--font-inter', display: 'swap', }); diff --git a/src/app/tokens.css b/src/app/tokens.css index ce6aa75..86fce1a 100644 --- a/src/app/tokens.css +++ b/src/app/tokens.css @@ -16,7 +16,7 @@ --color-gold: oklch(76% 0.16 75); --color-dot: color-mix(in oklab, var(--color-ink) 10%, transparent); --color-mark: color-mix(in oklab, var(--color-ink) 25%, transparent); --font-display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; - --font-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; + --font-body: var(--font-inter), "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --font-outlier: "Geist Mono", monospace; --radius-card: 24px; --radius-pill: 9999px; --rule-hair: 1px; --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(15, 23, 42, 0.05); diff --git a/src/components/magicui/video-text.tsx b/src/components/magicui/video-text.tsx index 376201e..9dbd338 100644 --- a/src/components/magicui/video-text.tsx +++ b/src/components/magicui/video-text.tsx @@ -39,7 +39,7 @@ export function VideoText({ fontWeight = 900, textAnchor = 'start', dominantBaseline = 'central', - fontFamily = 'var(--font-display), var(--font-poppins), system-ui, sans-serif', + fontFamily = 'var(--font-display), var(--font-inter), system-ui, sans-serif', poster, }: VideoTextProps) { const rawId = useId(); diff --git a/src/components/sections/AppPickerSection.tsx b/src/components/sections/AppPickerSection.tsx index e78369c..9d3cc24 100644 --- a/src/components/sections/AppPickerSection.tsx +++ b/src/components/sections/AppPickerSection.tsx @@ -96,7 +96,7 @@ export function AppPickerSection({
-

+

{opt.title}

diff --git a/src/components/sections/FaqSection.tsx b/src/components/sections/FaqSection.tsx index 77cd781..f37f640 100644 --- a/src/components/sections/FaqSection.tsx +++ b/src/components/sections/FaqSection.tsx @@ -44,10 +44,10 @@ export function FaqSection({ const displayItems = items && items.length > 0 ? items : defaultItems; return ( -

-
- {/* Section Header */} -
+
+
+ {/* Section Header without thin separator */} +

{resolvedTitle}

diff --git a/src/components/sections/HeroSection.tsx b/src/components/sections/HeroSection.tsx index 753f113..d860f45 100644 --- a/src/components/sections/HeroSection.tsx +++ b/src/components/sections/HeroSection.tsx @@ -276,11 +276,16 @@ export function HeroSection({ return (
{/* Background Layer 1: High-Resolution Responsive Background Image */}
- + @@ -300,8 +305,9 @@ export function HeroSection({
{/* Mobile Scrim: Studio porcelain gradient covering headline, subtitle, and action buttons (top 70%), transitioning smoothly into vibrant photography */}
- {/* Soft Bottom Fade */} -
+ {/* Ultra-Deep Soft Bottom Fade: Seamlessly dissolves into pure white/porcelain theme */} +
+
{/* Background Layer 2: Magic UI Atmospheric Light Rays */} @@ -314,8 +320,8 @@ export function HeroSection({ /> {/* Content Container (Website Introduction, Visual Hierarchy, Kinetic Motion) */} -
-
+
+
{/* Masterpiece 3-Line Headline: Line 1: Imagine. -> Magic UI TextAnimate on first, AnimatedShinyText on hover @@ -324,26 +330,26 @@ export function HeroSection({

Imagine. Transform. Create Impossible.

- {/* Line 1 - Imagine. with Magic UI TextAnimate (black) -> AnimatedShinyText on hover */} -
+ {/* Line 1 - Imagine. */} +
- {/* Line 2 - Transform. with Magic UI TextAnimate (black) -> AnimatedShinyText on hover */} -
+ {/* Line 2 - Transform. */} +
- {/* Line 3 - Create Impossible: Simple bluish-purple accent text */} -
+ {/* Line 3 - Create Impossible */} +
Create Impossible
- {/* Subtitle */} + {/* Subtitle - reduced by 1 */} -
-

+

+

Turn ordinary moments into extraordinary visual art. Instant and private photo transformation right in your browser with hardware acceleration.

diff --git a/src/components/sections/RecommendedAppsSection.tsx b/src/components/sections/RecommendedAppsSection.tsx index 3b0a21a..73b50af 100644 --- a/src/components/sections/RecommendedAppsSection.tsx +++ b/src/components/sections/RecommendedAppsSection.tsx @@ -134,7 +134,7 @@ export function RecommendedAppsSection({ return (