The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.
TypeScript b2b-marketplacecomposable-commerceecommerceenterpriseheadless-commercemarketplacemedusamedusajsmulti-vendortypescript
import { Button } from '@/components/atoms/Button/Button';
import LocalizedClientLink from "@/components/molecules/LocalizedLink/LocalizedLink"
import Image from "next/image"
export const BannerSection = () => {
return (
<section className="bg-tertiary container text-tertiary">
<div className="grid grid-cols-1 lg:grid-cols-2 items-center">
<div className="py-6 px-6 flex flex-col h-full justify-between border border-secondary rounded-sm">
<div className="mb-8 lg:mb-48">
<span className="text-sm inline-block px-4 py-1 border border-secondary rounded-sm">
#COLLECTION
</span>
<h2 className="display-sm">
BOHO VIBES: WHERE COMFORT MEETS CREATIVITY
</h2>
<p className="text-lg text-tertiary max-w-lg">
Discover boho styles that inspire adventure and embrace the beauty
of the unconventional.
</p>
</div>
<LocalizedClientLink href="/collections/boho">
<Button size="large" className="w-fit bg-secondary/10">
EXPLORE
</Button>
</LocalizedClientLink>
</div>
<div className="relative aspect-[4/3] lg:aspect-auto lg:h-full flex justify-end rounded-sm">
<Image
loading="lazy"
fetchPriority="high"
src="/images/banner-section/Image.jpg"
alt="Boho fashion collection - Model wearing a floral dress with yellow boots"
width={700}
height={600}
className="object-cover object-top rounded-sm"
sizes="(min-width: 1024px) 50vw, 100vw"
/>
</div>
</div>
</section>
)
}