From 945a64c3fb14662a164c5ebdbcf62b15916933ad Mon Sep 17 00:00:00 2001 From: Pooja675 Date: Tue, 28 Oct 2025 12:16:36 -0400 Subject: [PATCH] Fixed second handle to Budget Range slider --- Frontend/src/pages/Sponsorships.tsx | 329 +++++++++++++++++++++------- 1 file changed, 244 insertions(+), 85 deletions(-) diff --git a/Frontend/src/pages/Sponsorships.tsx b/Frontend/src/pages/Sponsorships.tsx index 67e813e..f68f5ee 100644 --- a/Frontend/src/pages/Sponsorships.tsx +++ b/Frontend/src/pages/Sponsorships.tsx @@ -1,9 +1,15 @@ -import React from "react" -import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "../components/ui/card" -import { ModeToggle } from "../components/mode-toggle" -import { UserNav } from "../components/user-nav" -import { Button } from "../components/ui/button" -import { Input } from "../components/ui/input" +import React, { useState } from "react"; +import { + Card, + CardContent, + CardDescription, + CardHeader, + CardTitle, +} from "../components/ui/card"; +import { ModeToggle } from "../components/mode-toggle"; +import { UserNav } from "../components/user-nav"; +import { Button } from "../components/ui/button"; +import { Input } from "../components/ui/input"; import { BarChart3, Briefcase, @@ -14,23 +20,37 @@ import { Rocket, Search, Users, -} from "lucide-react" -import { Link } from "react-router-dom" -import { Avatar, AvatarFallback, AvatarImage } from "../components/ui/avatar" -import { Badge } from "../components/ui/badge" -import { Tabs, TabsContent, TabsList, TabsTrigger } from "../components/ui/tabs" -import { Slider } from "../components/ui/slider" -import { Label } from "../components/ui/label" -import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../components/ui/select" +} from "lucide-react"; +import { Link } from "react-router-dom"; +import { Avatar, AvatarFallback, AvatarImage } from "../components/ui/avatar"; +import { Badge } from "../components/ui/badge"; +import { + Tabs, + TabsContent, + TabsList, + TabsTrigger, +} from "../components/ui/tabs"; +import { Slider } from "../components/ui/slider"; +import { Label } from "../components/ui/label"; +import { + Select, + SelectContent, + SelectItem, + SelectTrigger, + SelectValue, +} from "../components/ui/select"; export default function SponsorshipsPage() { + const [range, setRange] = useState([1000, 10000]) return (
- Inpact + + Inpact +
-

AI-Driven Sponsorship Matchmaking

+

+ AI-Driven Sponsorship Matchmaking +

+
- AI Matches - Active Deals - History + + AI Matches + + + Active Deals + + + History +
- - ES + + + ES +
-

EcoStyle

-

Sustainable fashion brand

+

+ EcoStyle +

+

+ Sustainable fashion brand +

- 98% Match + + 98% Match +

- EcoStyle is looking for lifestyle creators who can showcase their sustainable fashion line to - environmentally conscious audiences. Their products include eco-friendly clothing, - accessories, and home goods. + EcoStyle is looking for lifestyle creators who can + showcase their sustainable fashion line to + environmentally conscious audiences. Their products + include eco-friendly clothing, accessories, and home + goods.

Budget

-

$3,000 - $5,000

+

+ $3,000 - $5,000 +

Duration

-

1-2 months

+

+ 1-2 months +

-

Deliverables

-

1 post, 2 stories

+

+ Deliverables +

+

+ 1 post, 2 stories +

-

Audience Match

-

Very High

+

+ Audience Match +

+

+ Very High +

- - + -
@@ -230,45 +314,76 @@ export default function SponsorshipsPage() {
- - TG + + + TG +
-

TechGadgets

-

Consumer electronics company

+

+ TechGadgets +

+

+ Consumer electronics company +

- 95% Match + + 95% Match +

- TechGadgets is seeking tech-savvy creators to review and showcase their new line of smart home - products. They're looking for in-depth reviews that highlight features and user experience. + TechGadgets is seeking tech-savvy creators to review + and showcase their new line of smart home products. + They're looking for in-depth reviews that highlight + features and user experience.

Budget

-

$2,500 - $4,000

+

+ $2,500 - $4,000 +

Duration

-

2-3 weeks

+

+ 2-3 weeks +

-

Deliverables

-

Review video + posts

+

+ Deliverables +

+

+ Review video + posts +

-

Audience Match

+

+ Audience Match +

High

- - + -
@@ -281,46 +396,78 @@ export default function SponsorshipsPage() {
- - FL + + + FL +
-

FitLife Supplements

-

Health and wellness brand

+

+ FitLife Supplements +

+

+ Health and wellness brand +

- 92% Match + + 92% Match +

- FitLife is looking for health and fitness creators to promote their new line of plant-based - supplements. They want authentic content showing how their products integrate into a healthy - lifestyle. + FitLife is looking for health and fitness creators to + promote their new line of plant-based supplements. + They want authentic content showing how their products + integrate into a healthy lifestyle.

Budget

-

$1,800 - $3,500

+

+ $1,800 - $3,500 +

Duration

-

3 months

+

+ 3 months +

-

Deliverables

-

Monthly content

+

+ Deliverables +

+

+ Monthly content +

-

Audience Match

-

Very High

+

+ Audience Match +

+

+ Very High +

- - + -
@@ -332,22 +479,34 @@ export default function SponsorshipsPage() { - Active Sponsorships - Your current brand partnerships + + Active Sponsorships + + + Your current brand partnerships + -

Your active sponsorships will appear here.

+

+ Your active sponsorships will appear here. +

- Sponsorship History - Your past brand partnerships + + Sponsorship History + + + Your past brand partnerships + -

Your sponsorship history will appear here.

+

+ Your sponsorship history will appear here. +

@@ -356,5 +515,5 @@ export default function SponsorshipsPage() {
- ) -} \ No newline at end of file + ); +}