diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 7ebaf43..9e258e1 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -19,9 +19,11 @@ "motion": "^12.23.6", "react": "^19.1.0", "react-dom": "^19.1.0", + "react-icons": "^5.5.0", "react-intersection-observer": "^9.16.0", "react-router-dom": "^7.7.0", "shadcn": "^2.9.2", + "swiper": "^11.2.10", "tailwind-merge": "^3.3.1", "tailwindcss": "^4.1.11" }, @@ -5187,6 +5189,15 @@ "react": "^19.1.1" } }, + "node_modules/react-icons": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.5.0.tgz", + "integrity": "sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==", + "license": "MIT", + "peerDependencies": { + "react": "*" + } + }, "node_modules/react-intersection-observer": { "version": "9.16.0", "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.16.0.tgz", @@ -5843,6 +5854,25 @@ "node": ">=8" } }, + "node_modules/swiper": { + "version": "11.2.10", + "resolved": "https://registry.npmjs.org/swiper/-/swiper-11.2.10.tgz", + "integrity": "sha512-RMeVUUjTQH+6N3ckimK93oxz6Sn5la4aDlgPzB+rBrG/smPdCTicXyhxa+woIpopz+jewEloiEE3lKo1h9w2YQ==", + "funding": [ + { + "type": "patreon", + "url": "https://www.patreon.com/swiperjs" + }, + { + "type": "open_collective", + "url": "http://opencollective.com/swiper" + } + ], + "license": "MIT", + "engines": { + "node": ">= 4.7.0" + } + }, "node_modules/tailwind-merge": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.3.1.tgz", diff --git a/frontend/package.json b/frontend/package.json index 81d2068..fe2ecc6 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -21,9 +21,11 @@ "motion": "^12.23.6", "react": "^19.1.0", "react-dom": "^19.1.0", + "react-icons": "^5.5.0", "react-intersection-observer": "^9.16.0", "react-router-dom": "^7.7.0", "shadcn": "^2.9.2", + "swiper": "^11.2.10", "tailwind-merge": "^3.3.1", "tailwindcss": "^4.1.11" }, diff --git a/frontend/public/heroImg2.jpg b/frontend/public/heroImg2.jpg new file mode 100644 index 0000000..db1669f Binary files /dev/null and b/frontend/public/heroImg2.jpg differ diff --git a/frontend/public/heroImg3.jpg b/frontend/public/heroImg3.jpg new file mode 100644 index 0000000..42e3ce2 Binary files /dev/null and b/frontend/public/heroImg3.jpg differ diff --git a/frontend/public/heroImg4.jpg b/frontend/public/heroImg4.jpg new file mode 100644 index 0000000..9391662 Binary files /dev/null and b/frontend/public/heroImg4.jpg differ diff --git a/frontend/public/heroImg5.jpg b/frontend/public/heroImg5.jpg new file mode 100644 index 0000000..f5f196d Binary files /dev/null and b/frontend/public/heroImg5.jpg differ diff --git a/frontend/public/heroImg6.jpg b/frontend/public/heroImg6.jpg new file mode 100644 index 0000000..9f1c72c Binary files /dev/null and b/frontend/public/heroImg6.jpg differ diff --git a/frontend/public/heroImg7.jpg b/frontend/public/heroImg7.jpg new file mode 100644 index 0000000..f5fcf3a Binary files /dev/null and b/frontend/public/heroImg7.jpg differ diff --git a/frontend/src/Components/Hero.jsx b/frontend/src/Components/Hero.jsx index 9b58c1e..9cfdd4d 100644 --- a/frontend/src/Components/Hero.jsx +++ b/frontend/src/Components/Hero.jsx @@ -1,24 +1,199 @@ import { motion } from "framer-motion"; +import { Swiper, SwiperSlide } from "swiper/react"; +import { Autoplay, Pagination, Navigation } from "swiper/modules"; +import "swiper/css"; +import "swiper/css/pagination"; +import "swiper/css/navigation"; + +import { FaChevronLeft, FaChevronRight } from "react-icons/fa"; +// import { motion } from 'framer-motion'; + +const heroSlides = [ + { + title: "Welcome to DevSync", + subtitle: "Your all-in-one productivity dashboard for developers 🚀", + bg: "#A4C7E6", + image: "https://www.sectorlink.com/img/blog/web-devel-important.jpg", + }, + { + title: "Collaborate Effortlessly", + subtitle: "Real-time tools for teams to build, track, and ship faster.", + bg: "#F9C74F", + image: "https://www.sectorlink.com/img/blog/web-devel-important.jpg", + }, + { + title: "Built for Developers", + subtitle: "Customizable widgets, theme support & integrations.", + bg: "#90BE6D", + image: "https://www.sectorlink.com/img/blog/web-devel-important.jpg", + }, +]; + +const Component1 = () => ( +
+
+
+

+ Welcome to DevSync + +

+

+ Your all-in-one productivity dashboard for developers 🚀 +

+ + +
+
+ {/* */} + + +
+
+
+); + +// const Component2 = () => ( +//
+//
+//
+//

+// Collaborate Effortlessly +//

+//

+// Real-time tools for teams to build, track, and ship faster.{" "} +//

+ +// +//
+// {/*
+// +//
*/} +//
+//
+// ); + +const Component2 = () => ( +
+
+
+ +
+
+

+ Collaborate Effortlessly + +

+

+ Real-time tools for teams to build, track, and ship faster. +

+ + + +
+ +
+
+); + + + + +const Component3 = () => ( +
+
+ +
+

+ Built for Developers + +

+

+ Customizable widgets, theme support & integrations. +

+ + + +
+
+ +
+ +
+
+); + +const slides = [, , ]; const Hero = () => { return ( -
- -

- Welcome to DevSync -

-

- Your all-in-one productivity dashboard for developers 🚀 -

-
-
- +
+ + {slides.map((slide, index) => ( + + {/*
+ + +

+ {slide.title} +

+ + +

{slide.subtitle}

+ + +
+
*/} + {slide} +
+ ))} +
+
); };