diff --git a/package-lock.json b/package-lock.json index a4a057d..58df27c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "PictoPy", - "version": "0.0.0", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "PictoPy", - "version": "0.0.0", + "version": "1.0.0", "dependencies": { "@radix-ui/react-icons": "^1.3.0", "@radix-ui/react-label": "^2.1.0", diff --git a/src/Pages/Demo/marqu.tsx b/src/Pages/Demo/marqu.tsx index 3ad016f..9cd7d1c 100644 --- a/src/Pages/Demo/marqu.tsx +++ b/src/Pages/Demo/marqu.tsx @@ -1,27 +1,31 @@ -import { motion } from "framer-motion"; +import { motion, useReducedMotion } from "framer-motion"; import { ImageIcon, FolderSync, Search, Code } from "lucide-react"; export default function TechMarquee() { + const shouldReduceMotion = useReducedMotion(); + const technologies = [ - { - text: "PictoAI", + { + text: "PictoAI", icon: , }, - { - text: "SmartSort", + { + text: "SmartSort", icon: , }, - { - text: "QuickView", + { + text: "QuickView", icon: , }, - { - text: "CodeAI", + { + text: "CodeAI", icon: , } ]; + const duplicatedTechnologies = Array(16).fill(technologies).flat(); + return (
- {[...technologies, ...technologies, ...technologies].map((tech, index) => ( + {duplicatedTechnologies.map((tech, index) => (
- - +
))}