From 9ac3b90e8dbce910134e47ee303cb107ad4e85f7 Mon Sep 17 00:00:00 2001 From: mortezaei Date: Thu, 20 Aug 2026 00:20:26 +0330 Subject: [PATCH] fix input autofill code --- src/app/intro/intro-client.tsx | 11 +- .../Componentes/intro-hero-illustration.tsx | 134 +----------------- 2 files changed, 12 insertions(+), 133 deletions(-) diff --git a/src/app/intro/intro-client.tsx b/src/app/intro/intro-client.tsx index 5d44d64..b3d2a7c 100644 --- a/src/app/intro/intro-client.tsx +++ b/src/app/intro/intro-client.tsx @@ -1,5 +1,6 @@ "use client"; +import Image from "next/image"; import { useRouter } from "next/navigation"; import { useCallback, useEffect, useState } from "react"; import Button from "@/components/Componentes/button"; @@ -10,7 +11,6 @@ import SectionOverlayHost from "@/components/Componentes/section-overlay-host"; import SliderPage from "@/components/Componentes/slider-page"; import VideoPlayer from "@/components/Componentes/video-player"; import { - HeavenlyMarriageIllustration, IntroMatchesIcon, IntroMarriagesIcon, IntroPlayButtonIcon, @@ -139,7 +139,14 @@ export default function IntroClient() { />
- + {t["heavenly

{t["A Path to Heavenly Marriage"]}

diff --git a/src/components/Componentes/intro-hero-illustration.tsx b/src/components/Componentes/intro-hero-illustration.tsx index bc452bd..2cd0734 100644 --- a/src/components/Componentes/intro-hero-illustration.tsx +++ b/src/components/Componentes/intro-hero-illustration.tsx @@ -4,139 +4,11 @@ import type { SVGProps } from "react"; import { useId } from "react"; /** - * Inline SVG components for Intro page. - * Rendering these illustrations and icons as inline SVG eliminates external HTTP - * requests, next/image lazy-loading delay, and white flash — rendering instantly - * on frame 0, matching the performance of UiIcon in questions-list. + * Inline SVG components for Intro page stats and video controls. + * Rendering these icons as inline SVG eliminates external HTTP requests, + * lazy-loading delay, and layout shifts — rendering instantly on frame 0. */ -export function HeavenlyMarriageIllustration(props: SVGProps) { - const uid = useId().replace(/[^a-zA-Z0-9_-]/g, ""); - const patternId = `pattern0_${uid}`; - const radialGradId = `paint0_radial_${uid}`; - const clipId = `clip0_${uid}`; - const imageId = `image0_${uid}`; - - return ( - - ); -} - export function IntroUsersIcon(props: SVGProps) { const uid = useId().replace(/[^a-zA-Z0-9_-]/g, ""); const gradId = `paint0_linear_users_${uid}`;