Добавить форму заявок и серверную интеграцию лидов с EspoCRM
All checks were successful
Auto Deploy / deploy (push) Successful in 17s

This commit is contained in:
deonisii
2026-04-19 01:44:53 +03:00
parent e90b5a21e3
commit 97b996edc8
7 changed files with 443 additions and 80 deletions

View File

@@ -1,7 +1,7 @@
"use client";
import Link from "next/link";
import { Menu, X, Send, MessageCircle, Phone } from "lucide-react";
import { Menu, X, Send, MessageCircle, FileText } from "lucide-react";
import { useEffect, useState } from "react";
import { usePathname } from "next/navigation";
import { createPortal } from "react-dom";
@@ -74,12 +74,12 @@ export default function MobileMenu({
<div className="flex-1 overflow-y-auto px-4 py-5">
<div className="mx-auto w-full max-w-none">
<Link
href="/contacts#contact-request"
href="/contacts#lead-form"
onClick={() => setMobileOpen(false)}
className="mb-6 flex w-full items-center justify-center gap-2 rounded-2xl bg-emerald-600 px-4 py-4 text-sm font-semibold text-white transition-colors hover:bg-emerald-500"
>
<Phone className="w-5 h-5" />
Связаться с нами
<FileText className="w-5 h-5" />
Оставить заявку
</Link>
<nav className="flex w-full flex-col rounded-3xl border border-white/10 bg-white/[0.03] px-4 py-1">