diff --git a/package-lock.json b/package-lock.json index 74732b7f..4b8a2ac4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,9 @@ "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "embla-carousel-react": "^8.6.0", + "framer-motion": "^12.23.12", "lucide-react": "^0.525.0", + "motion": "^12.23.12", "next-themes": "^0.4.6", "react": "^18", "react-dom": "^18", @@ -6755,6 +6757,33 @@ "url": "https://github.com/sponsors/rawify" } }, + "node_modules/framer-motion": { + "version": "12.23.12", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.23.12.tgz", + "integrity": "sha512-6e78rdVtnBvlEVgu6eFEAgG9v3wLnYEboM8I5O5EXvfKC8gxGQB8wXJdhkMy10iVcn05jl6CNw7/HTsTCfwcWg==", + "license": "MIT", + "dependencies": { + "motion-dom": "^12.23.12", + "motion-utils": "^12.23.6", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@emotion/is-prop-valid": "*", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/is-prop-valid": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -8247,6 +8276,47 @@ "node": ">=16 || 14 >=14.17" } }, + "node_modules/motion": { + "version": "12.23.12", + "resolved": "https://registry.npmjs.org/motion/-/motion-12.23.12.tgz", + "integrity": "sha512-8jCD8uW5GD1csOoqh1WhH1A6j5APHVE15nuBkFeRiMzYBdRwyAHmSP/oXSuW0WJPZRXTFdBoG4hY9TFWNhhwng==", + "license": "MIT", + "dependencies": { + "framer-motion": "^12.23.12", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@emotion/is-prop-valid": "*", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/is-prop-valid": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, + "node_modules/motion-dom": { + "version": "12.23.12", + "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.23.12.tgz", + "integrity": "sha512-RcR4fvMCTESQBD/uKQe49D5RUeDOokkGRmz4ceaJKDBgHYtZtntC/s2vLvY38gqGaytinij/yi3hMcWVcEF5Kw==", + "license": "MIT", + "dependencies": { + "motion-utils": "^12.23.6" + } + }, + "node_modules/motion-utils": { + "version": "12.23.6", + "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.23.6.tgz", + "integrity": "sha512-eAWoPgr4eFEOFfg2WjIsMoqJTW6Z8MTUCgn/GZ3VRpClWBdnbjryiA3ZSNLyxCTmCQx4RmYX6jX1iWHbenUPNQ==", + "license": "MIT" + }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", diff --git a/package.json b/package.json index 7e4a5817..6d15381e 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,9 @@ "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "embla-carousel-react": "^8.6.0", + "framer-motion": "^12.23.12", "lucide-react": "^0.525.0", + "motion": "^12.23.12", "next-themes": "^0.4.6", "react": "^18", "react-dom": "^18", diff --git a/src/components/home/ContentSection.tsx b/src/components/home/ContentSection.tsx index bf700652..712f8036 100644 --- a/src/components/home/ContentSection.tsx +++ b/src/components/home/ContentSection.tsx @@ -1,3 +1,4 @@ +import { motion } from 'framer-motion'; import Image from 'next/image'; import AverageStar from '@/components/wineDetail/AverageStar'; @@ -6,11 +7,21 @@ import { ImageCard } from '../common/card/ImageCard'; export const ContentSection = () => { return ( -
- Sentinel Carbernet Sauvignon 2016 -
-+ Sentinel Carbernet Sauvignon 2016 +
+- Ciel du Cheval Vaineyard Collaboration -
-+ Ciel du Cheval Vaineyard Collaboration +
+Palazzo della Torre 2017
-Palazzo della Torre 2017
+- Sentinel Carbernet Sauvignon 2016 -
-+ Sentinel Carbernet Sauvignon 2016 +
+- Sentinel Carbernet Sauvignon 2016 -
-+ Sentinel Carbernet Sauvignon 2016 +
+