diff --git a/package.json b/package.json index cdd060e62..ba34b1ad9 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@types/offscreencanvas": "^2019.7.3", "aos": "^2.3.4", "autoprefixer": "^10.0.2", - "axios": "^1.15.0", + "axios": "^1.15.2", "browser-image-compression": "^2.0.2", "bytes": "^3.1.0", "clamscan": "^2.0.1", diff --git a/src/components/layout/footers/Footer.tsx b/src/components/layout/footers/Footer.tsx index 2adfc7d86..82df3ccab 100644 --- a/src/components/layout/footers/Footer.tsx +++ b/src/components/layout/footers/Footer.tsx @@ -689,9 +689,6 @@ export default function Footer({ {textContent.FooterSection.sections.tools.metadataRemover} - - {textContent.FooterSection.sections.tools.aiDetector} - {textContent.FooterSection.sections.tools.fileCompressor} @@ -1689,9 +1686,6 @@ export default function Footer({ {textContent.FooterSection.sections.tools.metadataRemover} - - {textContent.FooterSection.sections.tools.aiDetector} - {textContent.FooterSection.sections.products.pricing} diff --git a/src/hooks/useSpecialOfferConfig.ts b/src/hooks/useSpecialOfferConfig.ts index a95b4c772..1fe5fb7fc 100644 --- a/src/hooks/useSpecialOfferConfig.ts +++ b/src/hooks/useSpecialOfferConfig.ts @@ -64,6 +64,7 @@ export const ALLOWED_PATHS = [ 'marcocreativo', 'alexziskind', 'cocadmin', + 'einfach', ]; export const ALTERNATE_RECOMENDATED_PLAN_PATHS = new Set([]); export const DARK_MODE_PATHS = new Set(['oscar', 'rimembah', 'believemy', 'ghareeb']); @@ -71,7 +72,7 @@ export const ALTERNATIVE_IMAGES_PATHS = new Set(['baity']); export const ONLY_ULTIMATE_PLANS_PATHS = new Set(['ultimate']); export const ULTIMATE_PREMIUM_PLANS_PATHS = new Set([]); export const ANNUAL_PLANS_PATHS = new Set(['annual', 'ultimate']); -export const LIFETIME_PLANS_PATHS = new Set(['lifetime']); +export const LIFETIME_PLANS_PATHS = new Set(['lifetime', 'einfach']); export const COUPON_CODES = { baity: PromoCodeName.BaityBait, @@ -135,6 +136,7 @@ export const COUPON_CODES = { marcocreativo: PromoCodeName.marcocreativo, alexziskind: PromoCodeName.alexziskind, cocadmin: PromoCodeName.cocadmin, + einfach: PromoCodeName.einfach, }; interface OfferConfig { diff --git a/src/lib/types/index.ts b/src/lib/types/index.ts index 93595df21..5db75bab5 100644 --- a/src/lib/types/index.ts +++ b/src/lib/types/index.ts @@ -270,6 +270,7 @@ export enum PromoCodeName { marcocreativo = 'MARCOCREATIVO', alexziskind = 'ALEXZISKIND', cocadmin = 'COCADMIN', + einfach = 'EINFACH', } export interface PromoCodeProps { diff --git a/src/pages/ai-detector.tsx b/src/pages/ai-detector.tsx deleted file mode 100644 index 9fe0eb403..000000000 --- a/src/pages/ai-detector.tsx +++ /dev/null @@ -1,166 +0,0 @@ -import Script from 'next/script'; - -import Footer from '@/components/layout/footers/Footer'; -import Navbar from '@/components/layout/navbars/Navbar'; -import Layout from '@/components/layout/Layout'; -import HeroSection from '@/components/ai-detector/HeroSection'; -import FeaturesSection from '@/components/ai-detector/FeaturesSection'; -import CtaSection from '@/components/shared/CtaSection'; -import FAQSection from '@/components/shared/sections/FaqSection'; -import { ToolsSection } from '@/components/shared/sections/ToolsSection'; -import TryInternxtBanner from '@/components/banners/TryInternxtBanner'; - -import { sm_faq, sm_breadcrumb } from '@/components/utils/schema-markup-generator'; -import { - Files, - Fingerprint, - FileLock, - LockKey, - Student, - Briefcase, - MicrophoneStage, - Pen, - FileMagnifyingGlass, -} from '@phosphor-icons/react'; -import { getImage } from '@/lib/getImage'; -import { ShieldStar } from '@phosphor-icons/react'; -import FeaturesSliderImg from '@/components/ai-detector/FeatureSliderImg'; -import FeaturesSlider from '@/components/shared/FeaturesSlider'; - - -const AIDetector = ({ - metatagsDescriptions, - langJson, - toolsContent, - navbarLang, - footerLang, - lang, - bannerLang, -}): JSX.Element => { - const metatags = metatagsDescriptions.filter((desc) => desc.id === 'zerogpt-ai-checker'); - const CTA_URL = `/pricing`; - const cardInfo = [ - { - icon: FileMagnifyingGlass, - title: langJson.FeaturesSlider.info[0].title, - description: langJson.FeaturesSlider.info[0].description, - }, - { - icon: LockKey, - title: langJson.FeaturesSlider.info[1].title, - description: langJson.FeaturesSlider.info[1].description, - }, - { - icon: ShieldStar, - title: langJson.FeaturesSlider.info[2].title, - description: langJson.FeaturesSlider.info[2].description, - }, - { - icon: Files, - title: langJson.FeaturesSlider.info[3].title, - description: langJson.FeaturesSlider.info[3].description, - }, - { - icon: Fingerprint, - title: langJson.FeaturesSlider.info[4].title, - description: langJson.FeaturesSlider.info[4].description, - }, - { - icon: FileLock, - title: langJson.FeaturesSlider.info[5].title, - description: langJson.FeaturesSlider.info[5].description, - }, - ]; - const cardInfoImg = [ - { - icon: Student, - ...langJson.FeaturesSliderImg.info[0], - image: getImage('/images/AI_detector/students.webp'), - }, - { - icon: Briefcase, - ...langJson.FeaturesSliderImg.info[1], - image: getImage('/images/AI_detector/educators.webp'), - }, - { - icon: MicrophoneStage, - ...langJson.FeaturesSliderImg.info[2], - image: getImage('/images/AI_detector/journalists.webp'), - }, - { - icon: Pen, - ...langJson.FeaturesSliderImg.info[3], - image: getImage('/images/AI_detector/bloggers.webp'), - }, - ]; - return ( - <> - - - - - - - - - - - - - {langJson.CtaSection.description}

} - /> - - - - - - - - {langJson.CtaSection2.description}

} - /> - - - -