Added seperator

This commit is contained in:
SwiftyOS
2024-10-16 09:34:16 +02:00
parent 4c40b5f187
commit e377711c7e
2 changed files with 5 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ export const FeaturedSection: React.FC<FeaturedSectionProps> = ({
Featured agents
</h2>
<div className="flex flex-col items-center justify-center gap-6 sm:flex-row sm:flex-wrap">
<div className="flex flex-col items-center justify-center gap-6 sm:flex-row sm:flex-wrap md:flex-nowrap">
{featuredAgents.slice(0, 2).map((agent, index) => (
<FeaturedStoreCard
key={index}

View File

@@ -5,6 +5,7 @@ import { FeaturedSection } from "./FeaturedSection";
import { TopAgentsSection } from "./TopAgentsSection";
import { BecomeACreator } from "../../BecomeACreator";
import { FeaturedCreators } from "./FeaturedCreators";
import { Separator } from "../../../ui/separator";
interface PageProps {
userName: string;
@@ -85,11 +86,14 @@ export const Page: React.FC<PageProps> = ({
featuredAgents={featuredAgents}
onCardClick={handleCardClick}
/>
<Separator />
<TopAgentsSection topAgents={topAgents} onCardClick={handleCardClick} />
<Separator />
<FeaturedCreators
featuredCreators={featuredCreators}
onCardClick={handleCardClick}
/>
<Separator />
<BecomeACreator
title="Want to contribute?"
heading="We're always looking for more Creators!"