SANDRAMSC's picture
Removed placeholder text in features component
cdd3aa1
raw
history blame
1.87 kB
import { Badge } from "./ui/badge";
import {
Card,
CardTitle,
CardFooter,
CardHeader,
} from "@/components/ui/card";
import image4 from "../assets/looking-ahead.png";
//import { UploadDoc } from "./upload/streamlit_app.py";
interface FeatureProps {
title: string;
image: string;
}
const features: FeatureProps[] = [
{
title: "UPLOAD DOCUMENT",
image: image4,
},
];
const featureList: string[] = [
"STEP1: Do this",
"STEP2: Do that that",
"STEP3: Do that that that",
"STEP4: Do that that that that",
];
export const Features = () => {
return (
<section
id="features"
className="container py-24 sm:py-32 space-y-8"
>
<h2 className="text-3xl lg:text-4xl font-bold md:text-center">
Get Started{" "}
<span className="bg-gradient-to-b from-primary/60 to-primary text-transparent bg-clip-text">
NOW{" "}
</span>
Upload Your Document
</h2>
<div className="flex flex-wrap md:justify-center gap-4">
{featureList.map((feature: string) => (
<div key={feature}>
<Badge
variant="secondary"
className="text-sm"
>
{feature}
</Badge>
</div>
))}
</div>
<div className="grid md:grid-cols-2 lg:grid-cols-1">
{features.map(({ title, image }: FeatureProps) => (
<Card key={title}>
<CardHeader className="text-3xl lg:text-4xl font-bold md:text-center">
<CardTitle>{title}</CardTitle>
</CardHeader>
<CardFooter>
<img
src={image}
alt="About feature"
className="w-[150px] lg:w-[300px] mx-auto"
/>
{/* Upload sections */}
</CardFooter>
</Card>
))}
</div>
</section>
);
};