Bob AI: Fix text blur in hero section
This commit is contained in:
@@ -1,52 +1,79 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "hero" section.
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
||||
import Button from "@/components/ui/Button";
|
||||
import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
import AvatarGroup from "@/components/ui/AvatarGroup";
|
||||
|
||||
import React from 'react';
|
||||
import HeroSplitVerticalMarquee from '@/components/sections/hero/HeroSplitVerticalMarquee';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
const primaryButton = {
|
||||
text: "Оценить стоимость ремонта по фото",
|
||||
href: "https://wa.me/49123456789"
|
||||
};
|
||||
const secondaryButton = {
|
||||
href: "#services",
|
||||
text: "Наши услуги"
|
||||
};
|
||||
|
||||
export default function HeroSection(): React.JSX.Element {
|
||||
type HeroBillboardProps = {
|
||||
tag?: string;
|
||||
title: string;
|
||||
description: string;
|
||||
primaryButton: { text: string; href: string };
|
||||
secondaryButton: { text: string; href: string };
|
||||
avatarsSrc?: string[];
|
||||
avatarsLabel?: string;
|
||||
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
|
||||
|
||||
const HeroInline = () => {
|
||||
return (
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroSplitVerticalMarquee
|
||||
tag="Expert Craftsmanship"
|
||||
title="Restoring Your Most Loved Items"
|
||||
description="At Akbolat, we treat your shoes, bags, and gear with the respect they deserve. Fast, affordable, and built to last."
|
||||
primaryButton={{
|
||||
text: "Get a Quote", href: "#contact"}}
|
||||
secondaryButton={{
|
||||
text: "See Services", href: "#services"}}
|
||||
leftItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-engraving-art-tools_23-2149186765.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bootmaker-workshop-making-shoes_171337-12278.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-buckle-strap-brown-canvas-camera-utility-bag_181624-16887.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-cute-business-boy-blue-classic-suit-posing-holding-brown-silver-suitcase-business-work-fashion_179666-1389.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-cobbler-modeling-mens-shoe_171337-12234.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/male-local-traveler-with-camera_23-2149016748.jpg"},
|
||||
]}
|
||||
rightItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-man-room-opening-door-with-hands-gloves_176474-2810.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/shoemaker-workshop-making-shoes_171337-12281.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/detail-hair-dresser-with-tools_23-2148108848.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/elderly-person-is-serving-boot-service-his-own-personal-workshop_613910-17409.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-engraving-art-tools_23-2149186779.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-blurry-worker-holding-tool_23-2149103833.jpg"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<section aria-label="Hero section" className="relative pt-25 pb-20 md:pt-30">
|
||||
<HeroBackgroundSlot />
|
||||
<div className="flex flex-col gap-12 md:gap-15 w-content-width mx-auto">
|
||||
<div className="flex flex-col items-center gap-3 text-center">
|
||||
{undefined && undefined.length > 0 ? (
|
||||
<AvatarGroup className="mb-1" />
|
||||
) : "Ваш надежный сосед-мастер" ? (
|
||||
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||
<p>{"Ваш надежный сосед-мастер"}</p>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
<TextAnimation
|
||||
text={"Быстрый и надежный ремонт обуви, сумок и изготовление ключей"}
|
||||
variant="fade"
|
||||
gradientText={false}
|
||||
tag="h1"
|
||||
className="md:max-w-8/10 text-7xl 2xl:text-8xl leading-[1.15] font-semibold text-center text-balance"
|
||||
/>
|
||||
|
||||
<TextAnimation
|
||||
text={"Спасаем ваши любимые вещи. Профессионально, недорого, с гарантией."}
|
||||
variant="fade"
|
||||
gradientText={false}
|
||||
tag="p"
|
||||
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-balance"
|
||||
/>
|
||||
|
||||
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
|
||||
<Button text={primaryButton.text} href={primaryButton.href} variant="primary"/>
|
||||
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary" animationDelay={0.1} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ScrollReveal variant="fade" delay={0.2} className="w-full p-2 xl:p-3 2xl:p-4 card rounded overflow-hidden">
|
||||
<ImageOrVideo imageSrc={"https://images.unsplash.com/photo-1581092160562-40aa08e78837?q=80&w=2000&auto=format&fit=crop"} className="aspect-4/5 md:aspect-video" />
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default function HeroSection() {
|
||||
return (
|
||||
<div data-webild-section="hero" id="hero">
|
||||
<HeroInline />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,34 +1,17 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "services" section.
|
||||
// Created by add_section_from_catalog (FeaturesDetailedCards).
|
||||
|
||||
import React from 'react';
|
||||
import FeaturesDetailedCards from '@/components/sections/features/FeaturesDetailedCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function ServicesSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="services" data-section="services">
|
||||
<SectionErrorBoundary name="services">
|
||||
<FeaturesDetailedCards
|
||||
tag="Our Services"
|
||||
title="Quality Solutions for Everyday Wear"
|
||||
description="Don't discard what can be fixed. From heel replacements to backpack stitching, we're here to extend the life of your valuables."
|
||||
items={[
|
||||
{
|
||||
title: "Premium Shoe Repair", description: "Heel replacement, resoling, and leather care with professional-grade materials.", tags: [
|
||||
"Leather", "Expertise"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-cobbler-doing-measurments-shoe_171337-12247.jpg"},
|
||||
{
|
||||
title: "Gear Restoration", description: "Heavy-duty stitching for bags, straps, and accessories to keep them looking new.", tags: [
|
||||
"Durable", "Strong"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-girl-sitting-plastic-orange-penny-shortboard-asphalt-cap_158538-13620.jpg"},
|
||||
{
|
||||
title: "Precision Key Copying", description: "Fast and accurate key duplication while you wait. Accurate, simple, reliable.", tags: [
|
||||
"Speed", "Accurate"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/orange-press-clothes-buttons-fabric-woman-with-sewing-tools_1157-46474.jpg"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<div data-webild-section="services" id="services">
|
||||
<FeaturesDetailedCards
|
||||
items={[{"description":"Набойки, замена подошвы (от 10€), прошивка.","title":"Ремонт обуви","tags":["Обувь","От 10€"],"imageSrc":"https://images.unsplash.com/photo-1595341888016-a392ef81b7de?q=80&w=1000&auto=format&fit=crop"},{"title":"Ремонт сумок и рюкзаков","description":"Восстановление ремешков, замена молний, работа с кожей.","imageSrc":"https://images.unsplash.com/photo-1590874103328-eac38a683ce7?q=80&w=1000&auto=format&fit=crop","tags":["Сумки","Рюкзаки"]},{"title":"Изготовление ключей","description":"Дубликаты за 5 минут. Быстро и надежно.","imageSrc":"https://images.unsplash.com/photo-1582139329536-e7284fece509?q=80&w=1000&auto=format&fit=crop","tags":["Ключи","5 минут"]}]}
|
||||
description="Четко и по делу. Мы предлагаем профессиональный ремонт и изготовление ключей."
|
||||
title="Что мы умеем делать лучше всего"
|
||||
tag="Наши услуги"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user