Bob AI: Removed the specified image from the portfolio and adjusted

This commit is contained in:
kudinDmitriyUp
2026-06-18 16:31:34 +00:00
parent be8f8d43fd
commit df610cf511

View File

@@ -1,57 +1,151 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "portfolio" 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 TextAnimation from "@/components/ui/TextAnimation";
import ImageOrVideo from "@/components/ui/ImageOrVideo";
import ScrollReveal from "@/components/ui/ScrollReveal";
import { cls } from "@/lib/utils";
import React from 'react';
import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
const items = [
{
title: "Corporate Rebrand",
description: "Global identity shift for tech firm.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781799797754-ue2qa78d.png"
},
{
title: "Logo Architecture",
description: "Iconic marks for modern brands.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781799823757-ixxp1501.png"
},
{
title: "Tech Platform UI",
description: "Next-gen web design experience.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781799881010-xyd0zrwo.png"
},
{
title: "Premium Packaging",
description: "Luxury goods aesthetic design.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781799895823-vzrt40vi.png"
},
{
title: "Motion Identity",
description: "Dynamic digital motion assets.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781800156879-qoykxxn1.png"
},
{
title: "Editorial Grid",
description: "Print and digital magazine layouts.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781800015669-szffa47j.png"
}
];
type FeatureItem = {
title: string;
description: string;
href?: string;
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
interface FeaturesImageBentoProps {
tag: string;
title: string;
description: string;
primaryButton?: { text: string; href: string };
secondaryButton?: { text: string; href: string };
items: [FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem];
}
const PortfolioInline = () => {
const gridClasses = [
"md:col-span-2",
"md:col-span-4",
"md:col-span-3",
"md:col-span-3",
"md:col-span-4",
"md:col-span-2",
];
const staggerDelays = [
0,
0.1,
0,
0.1,
0,
0.1,
];
export default function PortfolioSection(): React.JSX.Element {
return (
<div id="portfolio" data-section="portfolio">
<SectionErrorBoundary name="portfolio">
<FeaturesImageBento
tag="Selected Work"
title="Our Creative Portfolio"
description="A curated collection of branding, UI, and packaging design projects."
items={[
{
title: "Corporate Rebrand",
description: "Global identity shift for tech firm.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781799797754-ue2qa78d.png",
},
{
title: "Logo Architecture",
description: "Iconic marks for modern brands.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781799823757-ixxp1501.png",
},
{
title: "Tech Platform UI",
description: "Next-gen web design experience.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781799881010-xyd0zrwo.png",
},
{
title: "Premium Packaging",
description: "Luxury goods aesthetic design.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781799895823-vzrt40vi.png",
},
{
title: "Motion Identity",
description: "Dynamic digital motion assets.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781800156879-qoykxxn1.png",
},
{
title: "Editorial Grid",
description: "Print and digital magazine layouts.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781800015669-szffa47j.png",
},
{
title: "Spatial Branding",
description: "Environmental and event graphics.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3D8oNa3nvt8Cz2KlfMhFTVX9fbI/uploaded-1781800051699-8kgxzui2.png",
},
]}
/>
</SectionErrorBoundary>
<section aria-label="Features image bento section" className="py-20">
<div className="flex flex-col gap-8 md:gap-10">
<div className="flex flex-col items-center w-content-width mx-auto gap-2">
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
<p>{"Selected Work"}</p>
</div>
<TextAnimation
text={"Our Creative Portfolio"}
variant="slide-up"
gradientText={true}
tag="h2"
className="md:max-w-8/10 text-6xl 2xl:text-7xl leading-[1.15] font-semibold text-center text-balance"
/>
<TextAnimation
text={"A curated collection of branding, UI, and packaging design projects."}
variant="slide-up"
gradientText={false}
tag="p"
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-center text-balance"
/>
{(undefined || undefined) && (
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
{undefined && <Button text={undefined.text} href={undefined.href} variant="primary"/>}
{undefined && <Button text={undefined.text} href={undefined.href} variant="secondary" animationDelay={0.1} />}
</div>
)}
</div>
<div className="w-content-width mx-auto grid grid-cols-1 md:grid-cols-6 gap-3">
{items.map((item, index) => {
const content = (
<div className="relative h-80 xl:h-100 2xl:h-120 overflow-hidden">
<ImageOrVideo
imageSrc={item.imageSrc}
videoSrc={item.videoSrc}
className="rounded group-hover:scale-105 transition-transform duration-500"
/>
<div className="absolute inset-x-5 bottom-5 xl:inset-x-6 xl:bottom-6 2xl:inset-x-7 2xl:bottom-7 flex flex-col text-background">
<span className="text-2xl font-semibold leading-snug truncate">{item.title}</span>
<span className="text-base leading-snug truncate">{item.description}</span>
</div>
</div>
);
return (
<ScrollReveal key={index} variant="fade" delay={staggerDelays[index]} className={cls("col-span-1 group", gridClasses[index])}>
{item.href ? (
<a href={item.href} className="block overflow-hidden rounded">
{content}
</a>
) : (
<div className="overflow-hidden rounded">
{content}
</div>
)}
</ScrollReveal>
);
})}
</div>
</div>
</section>
);
};
export default function PortfolioSection() {
return (
<div data-webild-section="portfolio" id="portfolio">
<PortfolioInline />
</div>
);
}