chore: minor improvements

This commit is contained in:
Zotov Ivan Yuryevich
2026-07-21 13:09:02 +03:00
parent 588a547684
commit 4ab369957b
6 changed files with 9 additions and 16 deletions

View File

@@ -92,7 +92,7 @@ export function ContactForm({
id={withPrefix(idPrefix, 'name')} id={withPrefix(idPrefix, 'name')}
name="name" name="name"
className="w-full px-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:bg-white transition-all" className="w-full px-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:bg-white transition-all"
placeholder="Ваше имя" placeholder="Ваше имя *"
defaultValue={prefillValues?.name} defaultValue={prefillValues?.name}
required required
/> />
@@ -123,7 +123,7 @@ export function ContactForm({
id={withPrefix(idPrefix, 'email')} id={withPrefix(idPrefix, 'email')}
name="email" name="email"
className="w-full px-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:bg-white transition-all" className="w-full px-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:bg-white transition-all"
placeholder="Email" placeholder="Email *"
defaultValue={prefillValues?.email} defaultValue={prefillValues?.email}
required required
/> />
@@ -137,7 +137,7 @@ export function ContactForm({
id={withPrefix(idPrefix, 'phone')} id={withPrefix(idPrefix, 'phone')}
name="phone" name="phone"
className="w-full px-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:bg-white transition-all" className="w-full px-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:bg-white transition-all"
placeholder="Телефон" placeholder="Телефон *"
defaultValue={prefillValues?.phone} defaultValue={prefillValues?.phone}
required required
/> />
@@ -151,7 +151,7 @@ export function ContactForm({
{fields.has('purpose') && ( {fields.has('purpose') && (
<div> <div>
<label htmlFor={withPrefix(idPrefix, 'purpose')} className="block text-sm text-gray-700 mb-2"> <label htmlFor={withPrefix(idPrefix, 'purpose')} className="block text-sm text-gray-700 mb-2">
Какую задачу решаете? Какую задачу решаете? *
</label> </label>
<select <select
id={withPrefix(idPrefix, 'purpose')} id={withPrefix(idPrefix, 'purpose')}
@@ -180,7 +180,7 @@ export function ContactForm({
{fields.has('timeline') && ( {fields.has('timeline') && (
<div> <div>
<label htmlFor={withPrefix(idPrefix, 'timeline')} className="block text-sm text-gray-700 mb-2"> <label htmlFor={withPrefix(idPrefix, 'timeline')} className="block text-sm text-gray-700 mb-2">
Сроки реализации Сроки реализации *
</label> </label>
<select <select
id={withPrefix(idPrefix, 'timeline')} id={withPrefix(idPrefix, 'timeline')}

View File

@@ -54,7 +54,7 @@ export function About({ data }: AboutProps) {
return ( return (
<section className="py-4 bg-gray-50"> <section className="py-4 bg-gray-50">
<div className="max-w-400 mx-auto px-6 xl:px-12 2xl:px-16"> <div className="max-w-400 mx-auto px-6 xl:px-12 2xl:px-16">
<div className="max-w-3xl mb-16"> <div className="mb-16">
<p className="text-sm uppercase tracking-wider text-gray-500 mb-4">О компании</p> <p className="text-sm uppercase tracking-wider text-gray-500 mb-4">О компании</p>
{title || partners.length > 0 ? ( {title || partners.length > 0 ? (
<h2 className="text-4xl lg:text-5xl text-gray-900 mb-6 flex flex-wrap items-baseline gap-2"> <h2 className="text-4xl lg:text-5xl text-gray-900 mb-6 flex flex-wrap items-baseline gap-2">

View File

@@ -37,7 +37,7 @@ export function Cases({ data }: CasesProps) {
return ( return (
<section className="py-4 bg-white"> <section className="py-4 bg-white">
<div className="max-w-400 mx-auto px-6 xl:px-12 2xl:px-16"> <div className="max-w-400 mx-auto px-6 xl:px-12 2xl:px-16">
<div className="max-w-3xl mb-16"> <div className="mb-16">
<p className="text-sm uppercase tracking-wider text-gray-500 mb-4">Кейсы</p> <p className="text-sm uppercase tracking-wider text-gray-500 mb-4">Кейсы</p>
{title ? <h2 className="text-4xl lg:text-5xl text-gray-900 mb-6">{title}</h2> : null} {title ? <h2 className="text-4xl lg:text-5xl text-gray-900 mb-6">{title}</h2> : null}
{description ? <p className="text-xl text-gray-600">{description}</p> : null} {description ? <p className="text-xl text-gray-600">{description}</p> : null}

View File

@@ -44,13 +44,6 @@ export function Hero({ onOpenContactModal, data }: HeroProps) {
Обсудить проект Обсудить проект
<ArrowRight className="w-5 h-5 group-hover:translate-x-1 transition-transform" /> <ArrowRight className="w-5 h-5 group-hover:translate-x-1 transition-transform" />
</button> </button>
<a
href="#cases"
className="flex items-center gap-2 px-8 py-4 bg-gray-50 text-gray-900 rounded-xl hover:bg-gray-100 transition-all"
>
Портфолио
</a>
</div> </div>
{stats.length > 0 ? ( {stats.length > 0 ? (

View File

@@ -34,7 +34,7 @@ export function Services({ data }: ServicesProps) {
return ( return (
<section id="services" className="py-24 bg-white"> <section id="services" className="py-24 bg-white">
<div className="max-w-400 mx-auto px-6 xl:px-12 2xl:px-16"> <div className="max-w-400 mx-auto px-6 xl:px-12 2xl:px-16">
<div className="max-w-3xl mb-16"> <div className="mb-16">
<p className="text-sm uppercase tracking-wider text-gray-500 mb-4">Услуги</p> <p className="text-sm uppercase tracking-wider text-gray-500 mb-4">Услуги</p>
{title ? <h2 className="text-4xl lg:text-5xl text-gray-900 mb-6">{title}</h2> : null} {title ? <h2 className="text-4xl lg:text-5xl text-gray-900 mb-6">{title}</h2> : null}
{description ? <p className="text-xl text-gray-600">{description}</p> : null} {description ? <p className="text-xl text-gray-600">{description}</p> : null}

View File

@@ -33,7 +33,7 @@ export function Solutions({ data }: SolutionsProps) {
return ( return (
<section id="solutions" className="py-24 bg-gray-50"> <section id="solutions" className="py-24 bg-gray-50">
<div className="max-w-400 mx-auto px-6 xl:px-12 2xl:px-16"> <div className="max-w-400 mx-auto px-6 xl:px-12 2xl:px-16">
<div className="max-w-3xl mb-16"> <div className="mb-16">
<p className="text-sm uppercase tracking-wider text-gray-500 mb-4">Отраслевые решения</p> <p className="text-sm uppercase tracking-wider text-gray-500 mb-4">Отраслевые решения</p>
{title ? <h2 className="text-4xl lg:text-5xl text-gray-900 mb-6">{title}</h2> : null} {title ? <h2 className="text-4xl lg:text-5xl text-gray-900 mb-6">{title}</h2> : null}
{description ? <p className="text-xl text-gray-600">{description}</p> : null} {description ? <p className="text-xl text-gray-600">{description}</p> : null}