Files
manoon-headless/src/components/home/TickerBar.tsx
Unchained 038a574c6e feat: Increase free shipping threshold from 3000 to 10000 RSD
Update free shipping minimum from 3,000 RSD to 10,000 RSD across:
- TickerBar component
- English translations (en.json)
- Serbian translations (sr.json)
- French translations (fr.json)
- German translations (de.json)
2026-03-29 19:47:26 +02:00

36 lines
830 B
TypeScript

"use client";
import { motion } from "framer-motion";
export default function TickerBar() {
const items = [
"Free shipping on orders over 10000 RSD",
"Natural ingredients",
"Cruelty-free",
"Handmade with love",
];
return (
<div className="bg-foreground text-white py-3 overflow-hidden">
<motion.div
className="flex whitespace-nowrap"
animate={{ x: ["0%", "-50%"] }}
transition={{
x: {
repeat: Infinity,
repeatType: "loop",
duration: 20,
ease: "linear",
},
}}
>
{[...items, ...items, ...items, ...items].map((item, index) => (
<span key={index} className="mx-8 text-sm tracking-wide">
{item}
</span>
))}
</motion.div>
</div>
);
}