Skip to content

Commit f29f0d6

Browse files
Add clinical proof banner
Refactored ClinicalProof to render a slim, white banner with 4 trust badges (JFDA CERTIFIED, 100% AUTHENTIC GUARANTEED, PHARMACIST VETTED, CRUELTY-FREE) using lucide icons, simplified layout, and tighter styling. Removed older detailed certifications and updated to a 2-column responsive flex grid for premium presentation. X-Lovable-Edit-ID: edt-1337a4d0-96cd-462c-be4e-28fe3ca542bf
2 parents 16fe321 + d55802b commit f29f0d6

1 file changed

Lines changed: 15 additions & 33 deletions

File tree

src/components/home/ClinicalProof.tsx

Lines changed: 15 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,23 @@
1-
import { Badge } from "@/components/ui/badge";
2-
import { ShieldCheck, Leaf, Heart, Award, FlaskConical } from "lucide-react";
1+
import { ShieldCheck, Award, FlaskConical, Leaf } from "lucide-react";
32

4-
const certifications = [
5-
{ icon: ShieldCheck, label: "JFDA Certified", detail: "Jordan Food & Drug Administration" },
6-
{ icon: Leaf, label: "Cruelty-Free", detail: "No animal testing — ever" },
7-
{ icon: Heart, label: "Dermatologist Tested", detail: "Clinically validated formulas" },
8-
{ icon: Award, label: "Authenticity Guaranteed", detail: "Direct from authorized distributors" },
9-
{ icon: FlaskConical, label: "Cold-Chain Verified", detail: "Temperature-controlled logistics" },
3+
const badges = [
4+
{ icon: ShieldCheck, label: "JFDA CERTIFIED" },
5+
{ icon: Award, label: "100% AUTHENTIC GUARANTEED" },
6+
{ icon: FlaskConical, label: "PHARMACIST VETTED" },
7+
{ icon: Leaf, label: "CRUELTY-FREE" },
108
];
119

1210
const ClinicalProof = () => {
1311
return (
14-
<section className="py-16 sm:py-20 border-y border-accent/15 bg-gradient-to-b from-background via-secondary/30 to-background">
15-
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
16-
<div className="text-center mb-12">
17-
<Badge variant="outline" className="mb-4 border-accent text-accent font-body text-xs tracking-[0.2em] px-4 py-1.5">
18-
CLINICAL PROOF & CERTIFICATION
19-
</Badge>
20-
<h2 className="font-heading text-2xl sm:text-3xl font-bold text-foreground">
21-
Trusted by <span className="text-primary">Science</span>, Verified by <span className="text-accent">Standards</span>
22-
</h2>
23-
<p className="mt-3 text-muted-foreground text-base max-w-xl mx-auto font-body">
24-
Every product in our pharmacy meets the highest clinical and ethical standards.
25-
</p>
26-
</div>
27-
28-
<div className="flex flex-wrap items-center justify-center gap-6 sm:gap-10">
29-
{certifications.map((cert) => (
30-
<div
31-
key={cert.label}
32-
className="group flex flex-col items-center text-center max-w-[140px]"
33-
>
34-
<div className="w-16 h-16 rounded-full border-2 border-accent/20 bg-card flex items-center justify-center mb-3 group-hover:border-accent/50 group-hover:shadow-emerald-glow transition-all duration-400">
35-
<cert.icon className="h-7 w-7 text-primary group-hover:text-accent transition-colors duration-400" />
36-
</div>
37-
<span className="font-heading text-sm font-semibold text-foreground mb-0.5">{cert.label}</span>
38-
<span className="text-[11px] text-muted-foreground font-body leading-snug">{cert.detail}</span>
12+
<section className="py-10 sm:py-12 bg-white border-t border-border/30">
13+
<div className="mx-auto max-w-6xl px-4 sm:px-6 lg:px-8">
14+
<div className="grid grid-cols-2 md:flex md:items-center md:justify-between gap-8 md:gap-12">
15+
{badges.map((badge) => (
16+
<div key={badge.label} className="flex items-center gap-3 justify-center md:justify-start">
17+
<badge.icon className="h-5 w-5 text-accent shrink-0" strokeWidth={1.6} />
18+
<span className="font-body text-[11px] sm:text-xs tracking-[0.15em] uppercase text-foreground font-medium">
19+
{badge.label}
20+
</span>
3921
</div>
4022
))}
4123
</div>

0 commit comments

Comments
 (0)