Bob AI: Populate src/pages/ProductsPage.tsx (snippet builder, 2 sections)

This commit is contained in:
kudinDmitriyUp
2026-06-27 20:03:14 +00:00
parent 5d9a520107
commit 4b4398a054

View File

@@ -1,71 +1,21 @@
import { routes } from "@/routes";
import NavbarCentered from "@/components/ui/NavbarCentered";
import HeroBillboard from "@/components/sections/hero/HeroBillboard";
import FeaturesTaggedCards from "@/components/sections/features/FeaturesTaggedCards";
import FooterSimple from "@/components/sections/footer/FooterSimple";
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 GridOrCarousel from "@/components/ui/GridOrCarousel";
export default function ProductsPage() {
const productItems = [
{ tag: "Everyday", title: "Checking", description: "Flexible accounts designed for your daily transactions and easy access." },
{ tag: "Growth", title: "Savings", description: "Build your financial safety net with our competitive interest rates." },
{ tag: "Retirement", title: "CDs & IRA", description: "Secure, long-term savings options to help you plan for the future." },
{ tag: "Access", title: "Digital Banking", description: "Manage your money 24/7 from your computer or mobile device." },
{ tag: "Borrowing", title: "Lending", description: "Personal and auto loans tailored to fit your specific financial needs." },
{ tag: "Real Estate", title: "Mortgage & Home", description: "Financing solutions to help you buy, build, or refinance your home." },
{ tag: "Spending", title: "Credit Card", description: "Enhance your purchasing power while earning valuable rewards." },
{ tag: "Wealth", title: "Investing", description: "Professional guidance and tools to help you grow your portfolio." },
{ tag: "Extras", title: "Related Services", description: "Wire transfers, safe deposit boxes, notary services, and more." },
{ tag: "Help", title: "OLB Guides & Videos", description: "Step-by-step tutorials to master our online banking platform." },
{ tag: "Education", title: "Home Lending Resources", description: "Calculators and articles to guide you through the mortgage process." },
{ tag: "Payment", title: "Debit Card", description: "Secure and convenient access to your checking account funds worldwide." },
{ tag: "Family", title: "Greenlight®", description: "The smart debit card and money app designed specifically for kids and teens." },
{ tag: "Switching", title: "ClickSWITCH®", description: "The fastest and safest way to move your direct deposits and automatic payments." },
{ tag: "Onboarding", title: "Online Account Opening", description: "Start your journey with us by opening a new account in just a few minutes." }
];
return (
<div className="min-h-screen bg-background text-foreground flex flex-col">
<NavbarCentered
logo="BankBrand"
navItems={routes.map((r) => ({ name: r.label, href: r.path }))}
ctaButton={{ text: "Open Account", href: "/open" }}
/>
<main className="flex-grow">
<HeroBillboard
tag="Our Products"
title="Comprehensive Financial Solutions"
description="From everyday banking to long-term wealth building, explore our full suite of products designed to support your financial journey at every stage."
primaryButton={{ text: "Open an Account", href: "/open" }}
secondaryButton={{ text: "Find a Branch", href: "/locations" }}
/>
<FeaturesTaggedCards
tag="Explore"
title="Everything You Need"
description="Discover the right tools to manage, grow, and protect your money with our extensive range of financial products and services."
items={productItems}
/>
</main>
<FooterSimple
brand="BankBrand"
copyright="© 2024 BankBrand Financial. All rights reserved."
columns={[
{
title: "Support",
items: [
{ label: "Contact Us", href: "/contact" },
{ label: "Locations", href: "/locations" },
{ label: "Help Center", href: "/help" }
]
}
]}
links={[
{ label: "Privacy Policy", href: "/privacy" },
{ label: "Terms of Service", href: "/terms" }
]}
/>
</div>
<>
<div data-webild-section="HeroBillboard"><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"><AvatarGroup avatarsSrc={["https://img.freepik.com/free-photo/portrait-smiling-young-businesswoman-standing-office_171337-18542.jpg","https://img.freepik.com/free-photo/confident-businessman-posing-outside_74855-1975.jpg","https://img.freepik.com/free-photo/young-beautiful-woman-looking-camera-trendy-girl-casual-summer-white-t-shirt-jeans-shorts-positive-female-shows-facial-emotions-funny-model-isolated-yellow_158538-26582.jpg"]} label="Trusted by over 50,000 locals" className="mb-1" /><TextAnimation text="Banking Products Built for You" variant="slide-up" gradientText={true} tag="h1" className="md:max-w-8/10 text-7xl 2xl:text-8xl leading-[1.15] font-semibold text-center text-balance" /><TextAnimation text="Explore our full suite of banking products, from checking and savings to mortgages and investing. Experience personalized service and local expertise tailored to your financial goals." variant="slide-up" 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="Open an Account" href="/online-account-opening" variant="primary" /><Button text="Explore Products" href="#products" variant="secondary" animationDelay={0.1} /></div></div><ScrollReveal variant="fade-blur" delay={0.2} className="w-full p-2 xl:p-3 2xl:p-4 card rounded overflow-hidden"><ImageOrVideo imageSrc="https://img.freepik.com/free-photo/business-people-shaking-hands-meeting-room_53876-15185.jpg" className="aspect-4/5 md:aspect-video" /></ScrollReveal></div></section></div>
<div data-webild-section="FeaturesMediaCards"><section aria-label="Features 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>Our Products</p></div><TextAnimation text="Comprehensive Financial Solutions" 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="Discover our range of personal and business banking products designed to help you achieve your financial goals with local expertise." variant="slide-up" gradientText={false} tag="p" className="md:max-w-7/10 text-lg md:text-xl leading-snug text-center text-balance" /><div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3"><Button text="Open an Account" href="/online-account-opening" variant="primary" /><Button text="View All Services" href="/related-services" variant="secondary" animationDelay={0.1} /></div></div><ScrollReveal variant="slide-up"><GridOrCarousel><div key="Checking Accounts" className="flex flex-col gap-3 xl:gap-3.5 2xl:gap-4 p-3 xl:p-3.5 2xl:p-4 h-full card rounded"><div className="aspect-square rounded overflow-hidden button-secondary shadow shadow-foreground/5"><ImageOrVideo imageSrc="https://img.freepik.com/free-photo/close-up-person-paying-with-credit-card_23-2149174549.jpg" /></div><div className="flex flex-col gap-1 p-3 xl:p-3.5 2xl:p-4"><h3 className="text-2xl font-semibold leading-snug">Checking Accounts</h3><p className="text-base leading-snug">Flexible checking options with no hidden fees, designed for your everyday banking needs.</p></div></div>
<div key="Savings, CDs & IRA" className="flex flex-col gap-3 xl:gap-3.5 2xl:gap-4 p-3 xl:p-3.5 2xl:p-4 h-full card rounded"><div className="aspect-square rounded overflow-hidden button-secondary shadow shadow-foreground/5"><ImageOrVideo imageSrc="https://img.freepik.com/free-photo/saving-money-concept-with-coins-jar_23-2147696683.jpg" /></div><div className="flex flex-col gap-1 p-3 xl:p-3.5 2xl:p-4"><h3 className="text-2xl font-semibold leading-snug">Savings, CDs & IRA</h3><p className="text-base leading-snug">Grow your wealth securely with our competitive yield savings accounts and certificates of deposit.</p></div></div>
<div key="Mortgage & Home" className="flex flex-col gap-3 xl:gap-3.5 2xl:gap-4 p-3 xl:p-3.5 2xl:p-4 h-full card rounded"><div className="aspect-square rounded overflow-hidden button-secondary shadow shadow-foreground/5"><ImageOrVideo imageSrc="https://img.freepik.com/free-photo/happy-young-couple-with-keys-their-new-house_23-2148765519.jpg" /></div><div className="flex flex-col gap-1 p-3 xl:p-3.5 2xl:p-4"><h3 className="text-2xl font-semibold leading-snug">Mortgage & Home</h3><p className="text-base leading-snug">Find the perfect home loan with competitive rates and personalized guidance from local experts.</p></div></div>
<div key="Digital Banking" className="flex flex-col gap-3 xl:gap-3.5 2xl:gap-4 p-3 xl:p-3.5 2xl:p-4 h-full card rounded"><div className="aspect-square rounded overflow-hidden button-secondary shadow shadow-foreground/5"><ImageOrVideo imageSrc="https://img.freepik.com/free-photo/woman-using-mobile-phone-cafe_23-2148765520.jpg" /></div><div className="flex flex-col gap-1 p-3 xl:p-3.5 2xl:p-4"><h3 className="text-2xl font-semibold leading-snug">Digital Banking</h3><p className="text-base leading-snug">Manage your money anytime, anywhere with our secure and intuitive online and mobile banking tools.</p></div></div>
<div key="Lending Solutions" className="flex flex-col gap-3 xl:gap-3.5 2xl:gap-4 p-3 xl:p-3.5 2xl:p-4 h-full card rounded"><div className="aspect-square rounded overflow-hidden button-secondary shadow shadow-foreground/5"><ImageOrVideo imageSrc="https://img.freepik.com/free-photo/business-people-shaking-hands-meeting_23-2148765521.jpg" /></div><div className="flex flex-col gap-1 p-3 xl:p-3.5 2xl:p-4"><h3 className="text-2xl font-semibold leading-snug">Lending Solutions</h3><p className="text-base leading-snug">Flexible loan and line of credit options tailored to support your personal or business growth.</p></div></div>
<div key="Investing & Wealth" className="flex flex-col gap-3 xl:gap-3.5 2xl:gap-4 p-3 xl:p-3.5 2xl:p-4 h-full card rounded"><div className="aspect-square rounded overflow-hidden button-secondary shadow shadow-foreground/5"><ImageOrVideo imageSrc="https://img.freepik.com/free-photo/financial-advisor-meeting-with-clients_23-2148765522.jpg" /></div><div className="flex flex-col gap-1 p-3 xl:p-3.5 2xl:p-4"><h3 className="text-2xl font-semibold leading-snug">Investing & Wealth</h3><p className="text-base leading-snug">Comprehensive investment strategies and trust services to protect and grow your legacy.</p></div></div></GridOrCarousel></ScrollReveal></div></section></div>
</>
);
}
}