diff --git a/src/app/finding-match/finding-match-client.tsx b/src/app/finding-match/finding-match-client.tsx index f7f09ac..42de9d8 100644 --- a/src/app/finding-match/finding-match-client.tsx +++ b/src/app/finding-match/finding-match-client.tsx @@ -4,8 +4,7 @@ import Image from "next/image"; import { useRouter } from "next/navigation"; import { useEffect, useMemo } from "react"; import { useHabibWebReady } from "@/hooks/use-habib-web-ready"; -import { FaLock, FaPen } from "react-icons/fa6"; -import { IoAlertCircle } from "react-icons/io5"; +import { Ic } from "@/icons"; import AdvisorActionsCard from "@/components/Componentes/advisor-actions-card"; import MarriageAdvisorsOverlay, { useMarriageAdvisorsOverlay, @@ -116,7 +115,7 @@ export default function FindingMatchClient() { >
-
@@ -168,14 +167,14 @@ export default function FindingMatchClient() { className="inline-flex w-full items-center justify-center gap-2 rounded-[9px] border-none bg-[#D1D1D6] dark:bg-[#3D3E42] px-4 py-[17px] text-center text-[#747474] dark:text-[#A1A1A1] shadow-none" aria-live="polite" > -
) : ( )} diff --git a/src/app/globals.css b/src/app/globals.css index fe288c0..c4e10b5 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -152,8 +152,19 @@ html { -webkit-tap-highlight-color: transparent; } -* { +*, +*::before, +*::after { -webkit-tap-highlight-color: transparent; + -webkit-touch-callout: none; + -webkit-user-select: none; + user-select: none; +} + +img, +svg { + -webkit-user-drag: none; + user-drag: none; } button, @@ -166,17 +177,12 @@ label, touch-action: manipulation; } -button, -[role="button"] { - -webkit-touch-callout: none; - -webkit-user-select: none; - user-select: none; -} - input, -textarea { - -webkit-user-select: text; - user-select: text; +textarea, +[contenteditable="true"], +[contenteditable=""] { + -webkit-user-select: text !important; + user-select: text !important; } body { diff --git a/src/app/marriage-advisors/page.tsx b/src/app/marriage-advisors/page.tsx index fbe5d1d..d3bc8aa 100644 --- a/src/app/marriage-advisors/page.tsx +++ b/src/app/marriage-advisors/page.tsx @@ -2,8 +2,7 @@ import { useState } from "react"; import Image from "next/image"; -import { FiMessageSquare, FiPhone } from "react-icons/fi"; -import { FaStar } from "react-icons/fa"; +import { Ic } from "@/icons"; import StickyHeader from "@/components/Componentes/sticky-header"; import NavigationButton from "@/components/Componentes/navigation-button"; import { PageBackground } from "@/components/Componentes/page-background"; diff --git a/src/app/new-match/new-match-client.tsx b/src/app/new-match/new-match-client.tsx index 6b717f7..b270c9c 100644 --- a/src/app/new-match/new-match-client.tsx +++ b/src/app/new-match/new-match-client.tsx @@ -5,17 +5,7 @@ import Link from "next/link"; import { useRouter } from "next/navigation"; import { useEffect, useMemo, useState } from "react"; import { useHabibWebReady } from "@/hooks/use-habib-web-ready"; -import { - FaCalendarDays, - FaLocationDot, - FaGraduationCap, - FaBookOpen, - FaBriefcase, - FaStar, - FaLock, -} from "react-icons/fa6"; -import { LuEye } from "react-icons/lu"; -import { IoHeartOutline } from "react-icons/io5"; +import { Ic } from "@/icons"; import AdvisorActionsCard from "@/components/Componentes/advisor-actions-card"; import MarriageAdvisorsOverlay, { useMarriageAdvisorsOverlay, @@ -838,7 +828,7 @@ export default function NewMatchClient() {
- +
@@ -848,49 +838,49 @@ export default function NewMatchClient() { {matchDisplay.age && ( } + icon={} /> )} {matchDisplay.currentCountry && ( } + icon={} /> )} {matchDisplay.currentCity && ( } + icon={} /> )} {matchDisplay.educationLevel && ( } + icon={} /> )} {matchDisplay.fieldOfStudy && ( } + icon={} /> )} {matchDisplay.jobTitle && ( } + icon={} /> )} {matchDisplay.hobbies && ( } + icon={} /> )} @@ -924,7 +914,7 @@ export default function NewMatchClient() { border-none " > - + {t["View more details"]} @@ -965,7 +955,7 @@ export default function NewMatchClient() { className="inline-flex w-full items-center justify-center gap-2 rounded-[9px] border-none bg-[#D1D1D6] px-4 h-[52px] text-center text-[#747474] shadow-none" role="status" > -