Merge version_2_1781616129603 into main
Merge version_2_1781616129603 into main
This commit was merged in pull request #1.
This commit is contained in:
@@ -4,8 +4,16 @@ import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
|
||||
import { Outlet } from 'react-router-dom';
|
||||
import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
import { motion, useScroll, useTransform, useSpring, useVelocity } from "motion/react";
|
||||
|
||||
export default function Layout() {
|
||||
const { scrollY } = useScroll();
|
||||
const scrollVelocity = useVelocity(scrollY);
|
||||
const smoothVelocity = useSpring(scrollVelocity, { damping: 50, stiffness: 400 });
|
||||
|
||||
const rotateX = useTransform(smoothVelocity, [-2000, 2000], [-5, 5]);
|
||||
const skewY = useTransform(smoothVelocity, [-2000, 2000], [-1, 1]);
|
||||
const scale = useTransform(smoothVelocity, [-2000, 0, 2000], [0.98, 1, 0.98]);
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Про нас",
|
||||
@@ -49,8 +57,10 @@ export default function Layout() {
|
||||
}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
<main className="flex-grow perspective-1000">
|
||||
<motion.div style={{ rotateX, skewY, scale, transformStyle: "preserve-3d" }} className="origin-center">
|
||||
<Outlet />
|
||||
</motion.div>
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterBrand
|
||||
|
||||
@@ -1,168 +1,33 @@
|
||||
import AboutTextSplit from '@/components/sections/about/AboutTextSplit';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn';
|
||||
import FeaturesBorderGlow from '@/components/sections/features/FeaturesBorderGlow';
|
||||
import HeroBillboardBrand from '@/components/sections/hero/HeroBillboardBrand';
|
||||
import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards';
|
||||
import TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard';
|
||||
import { Code2, Globe, Search, Settings } from "lucide-react";
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
// AUTO-GENERATED shell by per-section-migrate.
|
||||
// Section bodies live in ./<PageBase>/sections/<X>.tsx. Edit the section
|
||||
// files directly. Non-block content (wrappers, non-inlinable sections) is
|
||||
// preserved inline; extracted section blocks become <XSection/> refs.
|
||||
|
||||
export default function HomePage() {
|
||||
import React from 'react';
|
||||
import HeroSection from './HomePage/sections/Hero';
|
||||
import AboutSection from './HomePage/sections/About';
|
||||
import ServicesSection from './HomePage/sections/Services';
|
||||
import MetricsSection from './HomePage/sections/Metrics';
|
||||
import TestimonialsSection from './HomePage/sections/Testimonials';
|
||||
import FaqSection from './HomePage/sections/Faq';
|
||||
import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
export default function HomePage(): React.JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroBillboardBrand
|
||||
brand="BOOLEAN"
|
||||
description="Створюємо цифрові рішення, що перетворюють бізнес-задачі на вимірні результати. Ваша компанія — наш головний пріоритет."
|
||||
primaryButton={{
|
||||
text: "Обговорити проєкт",
|
||||
href: "#contact",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Наші послуги",
|
||||
href: "#services",
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/abstract-triangles-background_1048-16321.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<>
|
||||
<HeroSection />
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutTextSplit
|
||||
title="Хто ми"
|
||||
descriptions={[
|
||||
"BOOLEAN — студія цифрових рішень, яка допомагає бізнесу зростати. Ми не просто пишемо код, ми будуємо інструменти для вашої прибутковості.",
|
||||
"Замість того, щоб пропонувати технології заради технологій, ми занурюємося у ваш бізнес-процес, щоб знайти найкоротший шлях до вашої цілі.",
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<AboutSection />
|
||||
|
||||
<div id="services" data-section="services">
|
||||
<SectionErrorBoundary name="services">
|
||||
<FeaturesBorderGlow
|
||||
tag="Послуги"
|
||||
title="Як ми допомагаємо вашому бізнесу"
|
||||
description="Повний спектр послуг для автоматизації, продажу та управління вашою компанією."
|
||||
features={[
|
||||
{
|
||||
icon: Globe,
|
||||
title: "Веб-розробка",
|
||||
description: "Створення сайтів та додатків, що конвертують відвідувачів у покупців.",
|
||||
},
|
||||
{
|
||||
icon: Code2,
|
||||
title: "AI та Telegram",
|
||||
description: "Інтеграція AI та ботів для оптимізації роботи з клієнтами 24/7.",
|
||||
},
|
||||
{
|
||||
icon: Settings,
|
||||
title: "Автоматизація",
|
||||
description: "CRM/API інтеграції та оптимізація бізнес-процесів для вашого комфорту.",
|
||||
},
|
||||
{
|
||||
icon: Search,
|
||||
title: "SEO просування",
|
||||
description: "Підвищення видимості вашого бізнесу у пошукових системах.",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<ServicesSection />
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsMediaCards
|
||||
tag="Результати"
|
||||
title="Цифри, що говорять про успіх"
|
||||
description="Наша робота базується на вимірних результатах та ефективності."
|
||||
metrics={[
|
||||
{
|
||||
value: "100+",
|
||||
title: "Реалізованих проєктів",
|
||||
description: "Сайтів, ботів та CRM-систем, що працюють на бізнес.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/3d-render-futuristic-modern-network-communications-design_1048-12969.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<MetricsSection />
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialTrustCard
|
||||
quote="Співпраця з BOOLEAN дозволила нам автоматизувати відділ продажів та збільшити виторг на 30%. Професійний підхід та розуміння бізнес-цілей."
|
||||
rating={5}
|
||||
author="Олександр, Власник мережі магазинів"
|
||||
avatars={[
|
||||
{
|
||||
name: "Олена",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-entrepreneur-with-corporate-job-looking-camera-business-office-portrait-young-man-preparing-work-planning-development-industry-with-technology-computer_482257-29387.jpg",
|
||||
},
|
||||
{
|
||||
name: "Дмитро",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/confident-african-american-businessman-black-classic-jacket-thinking-about-business-while-holding-hand-chin-isolated-dark-background_613910-6615.jpg",
|
||||
},
|
||||
{
|
||||
name: "Марина",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-grey-background_613910-3695.jpg",
|
||||
},
|
||||
{
|
||||
name: "Андрій",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-businessman-sitting-desk-table-business-company-office_482257-16773.jpg",
|
||||
},
|
||||
{
|
||||
name: "Вікторія",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-portrait-caucasian-happy-teacher-glasses_74855-9736.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<TestimonialsSection />
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTwoColumn
|
||||
tag="FAQ"
|
||||
title="Часті запитання"
|
||||
description="Коротка відповідь на те, що важливо знати до початку роботи."
|
||||
items={[
|
||||
{
|
||||
question: "Як швидко ми отримуємо результат?",
|
||||
answer: "Ми узгоджуємо терміни на старті, фокусуючись на MVP, щоб ви почали отримувати користь якомога швидше.",
|
||||
},
|
||||
{
|
||||
question: "Чи допомагаєте ви з налаштуванням CRM?",
|
||||
answer: "Так, ми проводимо повну інтеграцію та навчання персоналу роботі з новими інструментами.",
|
||||
},
|
||||
{
|
||||
question: "Чи потрібні технічні знання від мене?",
|
||||
answer: "Ми беремо всю технічну частину на себе. Вам достатньо розуміти цілі вашого бізнесу.",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FaqSection />
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Контакти"
|
||||
text="Готові до трансформації вашого бізнесу? Давайте обговоримо ваш проєкт."
|
||||
primaryButton={{
|
||||
text: "Написати в Telegram",
|
||||
href: "https://t.me/boolean_studio",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Замовити дзвінок",
|
||||
href: "tel:+380000000000",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<ContactSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
22
src/pages/HomePage/sections/About.tsx
Normal file
22
src/pages/HomePage/sections/About.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "about" section.
|
||||
|
||||
import React from 'react';
|
||||
import AboutTextSplit from '@/components/sections/about/AboutTextSplit';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function AboutSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutTextSplit
|
||||
title="Хто ми"
|
||||
descriptions={[
|
||||
"BOOLEAN — студія цифрових рішень, яка допомагає бізнесу зростати. Ми не просто пишемо код, ми будуємо інструменти для вашої прибутковості.",
|
||||
"Замість того, щоб пропонувати технології заради технологій, ми занурюємося у ваш бізнес-процес, щоб знайти найкоротший шлях до вашої цілі.",
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
27
src/pages/HomePage/sections/Contact.tsx
Normal file
27
src/pages/HomePage/sections/Contact.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "contact" section.
|
||||
|
||||
import React from 'react';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function ContactSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Контакти"
|
||||
text="Готові до трансформації вашого бізнесу? Давайте обговоримо ваш проєкт."
|
||||
primaryButton={{
|
||||
text: "Написати в Telegram",
|
||||
href: "https://t.me/boolean_studio",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Замовити дзвінок",
|
||||
href: "tel:+380000000000",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
34
src/pages/HomePage/sections/Faq.tsx
Normal file
34
src/pages/HomePage/sections/Faq.tsx
Normal file
@@ -0,0 +1,34 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "faq" section.
|
||||
|
||||
import React from 'react';
|
||||
import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FaqSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTwoColumn
|
||||
tag="FAQ"
|
||||
title="Часті запитання"
|
||||
description="Коротка відповідь на те, що важливо знати до початку роботи."
|
||||
items={[
|
||||
{
|
||||
question: "Як швидко ми отримуємо результат?",
|
||||
answer: "Ми узгоджуємо терміни на старті, фокусуючись на MVP, щоб ви почали отримувати користь якомога швидше.",
|
||||
},
|
||||
{
|
||||
question: "Чи допомагаєте ви з налаштуванням CRM?",
|
||||
answer: "Так, ми проводимо повну інтеграцію та навчання персоналу роботі з новими інструментами.",
|
||||
},
|
||||
{
|
||||
question: "Чи потрібні технічні знання від мене?",
|
||||
answer: "Ми беремо всю технічну частину на себе. Вам достатньо розуміти цілі вашого бізнесу.",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
28
src/pages/HomePage/sections/Hero.tsx
Normal file
28
src/pages/HomePage/sections/Hero.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "hero" section.
|
||||
|
||||
import React from 'react';
|
||||
import HeroBillboardBrand from '@/components/sections/hero/HeroBillboardBrand';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function HeroSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroBillboardBrand
|
||||
brand="BOOLEAN"
|
||||
description="Створюємо цифрові рішення, що перетворюють бізнес-задачі на вимірні результати. Ваша компанія — наш головний пріоритет."
|
||||
primaryButton={{
|
||||
text: "Обговорити проєкт",
|
||||
href: "#contact",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Наші послуги",
|
||||
href: "#services",
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/abstract-triangles-background_1048-16321.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
28
src/pages/HomePage/sections/Metrics.tsx
Normal file
28
src/pages/HomePage/sections/Metrics.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "metrics" section.
|
||||
|
||||
import React from 'react';
|
||||
import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function MetricsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsMediaCards
|
||||
tag="Результати"
|
||||
title="Цифри, що говорять про успіх"
|
||||
description="Наша робота базується на вимірних результатах та ефективності."
|
||||
metrics={[
|
||||
{
|
||||
value: "100+",
|
||||
title: "Реалізованих проєктів",
|
||||
description: "Сайтів, ботів та CRM-систем, що працюють на бізнес.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/3d-render-futuristic-modern-network-communications-design_1048-12969.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
43
src/pages/HomePage/sections/Services.tsx
Normal file
43
src/pages/HomePage/sections/Services.tsx
Normal file
@@ -0,0 +1,43 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "services" section.
|
||||
|
||||
import React from 'react';
|
||||
import FeaturesBorderGlow from '@/components/sections/features/FeaturesBorderGlow';
|
||||
import { Code2, Globe, Search, Settings } from "lucide-react";
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function ServicesSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="services" data-section="services">
|
||||
<SectionErrorBoundary name="services">
|
||||
<FeaturesBorderGlow
|
||||
tag="Послуги"
|
||||
title="Як ми допомагаємо вашому бізнесу"
|
||||
description="Повний спектр послуг для автоматизації, продажу та управління вашою компанією."
|
||||
features={[
|
||||
{
|
||||
icon: Globe,
|
||||
title: "Веб-розробка",
|
||||
description: "Створення сайтів та додатків, що конвертують відвідувачів у покупців.",
|
||||
},
|
||||
{
|
||||
icon: Code2,
|
||||
title: "AI та Telegram",
|
||||
description: "Інтеграція AI та ботів для оптимізації роботи з клієнтами 24/7.",
|
||||
},
|
||||
{
|
||||
icon: Settings,
|
||||
title: "Автоматизація",
|
||||
description: "CRM/API інтеграції та оптимізація бізнес-процесів для вашого комфорту.",
|
||||
},
|
||||
{
|
||||
icon: Search,
|
||||
title: "SEO просування",
|
||||
description: "Підвищення видимості вашого бізнесу у пошукових системах.",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
42
src/pages/HomePage/sections/Testimonials.tsx
Normal file
42
src/pages/HomePage/sections/Testimonials.tsx
Normal file
@@ -0,0 +1,42 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "testimonials" section.
|
||||
|
||||
import React from 'react';
|
||||
import TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function TestimonialsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialTrustCard
|
||||
quote="Співпраця з BOOLEAN дозволила нам автоматизувати відділ продажів та збільшити виторг на 30%. Професійний підхід та розуміння бізнес-цілей."
|
||||
rating={5}
|
||||
author="Олександр, Власник мережі магазинів"
|
||||
avatars={[
|
||||
{
|
||||
name: "Олена",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-entrepreneur-with-corporate-job-looking-camera-business-office-portrait-young-man-preparing-work-planning-development-industry-with-technology-computer_482257-29387.jpg",
|
||||
},
|
||||
{
|
||||
name: "Дмитро",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/confident-african-american-businessman-black-classic-jacket-thinking-about-business-while-holding-hand-chin-isolated-dark-background_613910-6615.jpg",
|
||||
},
|
||||
{
|
||||
name: "Марина",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-grey-background_613910-3695.jpg",
|
||||
},
|
||||
{
|
||||
name: "Андрій",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-businessman-sitting-desk-table-business-company-office_482257-16773.jpg",
|
||||
},
|
||||
{
|
||||
name: "Вікторія",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-portrait-caucasian-happy-teacher-glasses_74855-9736.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user