Bob AI: fix build errors (attempt 1)
This commit is contained in:
@@ -1,32 +1,68 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "team" section.
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import GridOrCarousel from "@/components/ui/GridOrCarousel";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
|
||||
import React from 'react';
|
||||
import TeamGlassCards from '@/components/sections/team/TeamGlassCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
type TeamMember = {
|
||||
name: string;
|
||||
role: string;
|
||||
imageSrc?: string;
|
||||
};
|
||||
|
||||
export default function TeamSection() {
|
||||
const team: TeamMember[] = [
|
||||
{
|
||||
name: "Alex Rivera",
|
||||
role: "Principal Architect",
|
||||
},
|
||||
{
|
||||
name: "Jordan Lee",
|
||||
role: "Lead Designer",
|
||||
},
|
||||
{
|
||||
name: "Taylor Smith",
|
||||
role: "Project Manager",
|
||||
},
|
||||
{
|
||||
name: "Casey Jones",
|
||||
role: "Interior Specialist",
|
||||
}
|
||||
];
|
||||
|
||||
export default function TeamSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="team" data-section="team">
|
||||
<SectionErrorBoundary name="team">
|
||||
<TeamGlassCards
|
||||
tag="The Studio"
|
||||
title="Visionaries behind the lens"
|
||||
description="A collective of creative thinkers focused on digital craftsmanship."
|
||||
members={[
|
||||
{
|
||||
name: "Elias Noor",
|
||||
role: "Creative Director",
|
||||
},
|
||||
{
|
||||
name: "Sarah Noir",
|
||||
role: "Lead Designer",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-albino-woman_23-2150283438.jpg",
|
||||
},
|
||||
]}
|
||||
textAnimation="fade"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<section id="team" aria-label="Team section" className="">
|
||||
<div className="flex flex-col gap-8 w-content-width mx-auto">
|
||||
<div className="flex flex-col items-center gap-2">
|
||||
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||
<p>Team</p>
|
||||
</div>
|
||||
<TextAnimation
|
||||
text="Meet Our Experts"
|
||||
variant="slide-up"
|
||||
gradientText={true}
|
||||
tag="h2"
|
||||
className="text-5xl md:text-6xl font-semibold text-center text-balance"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<ScrollReveal variant="slide-up">
|
||||
<GridOrCarousel>
|
||||
{team.map((member, i) => (
|
||||
<div key={i} className="flex flex-col items-center gap-4 p-6 card rounded text-center">
|
||||
{member.imageSrc && (
|
||||
<div className="w-32 h-32 rounded-full overflow-hidden mb-2">
|
||||
<ImageOrVideo imageSrc={member.imageSrc} className="w-full h-full object-cover" />
|
||||
</div>
|
||||
)}
|
||||
<div className="flex flex-col gap-1">
|
||||
<h3 className="text-xl font-semibold">{member.name}</h3>
|
||||
<p className="text-accent">{member.role}</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</GridOrCarousel>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user