diff --git a/package.json b/package.json index 631524e..d39522b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "dependencies": { "next": "15.3.0", "react": "^19.0.0", - "react-dom": "^19.0.0" + "react-dom": "^19.0.0", + "swiper": "^11.2.6" }, "devDependencies": { "@eslint/eslintrc": "^3", diff --git a/public/css/style.css b/public/css/style.css index c76ebdc..b5d9de5 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -13540,7 +13540,7 @@ html.rd-navbar-fixed-linked .page { align-self: stretch; align-items: stretch; width: 100%; - height: auto; + height: 100%; min-height: inherit; transition-property: transform; box-sizing: content-box; @@ -13767,8 +13767,8 @@ html.rd-navbar-fixed-linked .page { .swiper-slide { position: relative; display: flex; - align-items: center; - justify-content: center; + /* align-items: center; */ + /* justify-content: center; */ flex-shrink: 0; width: 100%; height: 100%; diff --git a/public/images/bg-header3.webp b/public/images/bg-header3.webp new file mode 100644 index 0000000..90c0c60 Binary files /dev/null and b/public/images/bg-header3.webp differ diff --git a/src/app/globals.css b/src/app/globals.css index f5a62ae..f1cf574 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -25,6 +25,8 @@ --color-colorFooterTextHover: var(--color-colorExt3); --color-colorFormInput: var(--color-colorExt2); --color-colorContactForm: var(--color-colorExt5); + --color-colorText1: var(--color-colorExt1); + --color-colorText2: var(--color-colorExt2); } @layer components { diff --git a/src/components/ContactFormBox.tsx b/src/components/ContactFormBox.tsx index a336007..fc953f3 100644 --- a/src/components/ContactFormBox.tsx +++ b/src/components/ContactFormBox.tsx @@ -1,6 +1,6 @@ export default function ContactFormBox() { return ( -
+
diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index be978e0..53e1e89 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -1,8 +1,48 @@ +"use client"; + +import { Swiper, SwiperSlide } from "swiper/react"; import ContactFormBox from "./ContactFormBox"; +import { Autoplay } from "swiper/modules"; export default function Hero() { return ( -
+
+ console.log("slide change")} + onSwiper={(swiper) => console.log(swiper)} + autoplay={{ delay: 4000 }} + loop + > + +
+
+
+
+
Real Estate, Refined
+
Where Southern Charm Meets Boutique Real Estate
+
+
+
+
+
+ +
+
+
+
+
Your Vision, Our Expertise
+
Discover a Smarter Way to Buy & Sell
+
+
+
+
+
+
+
); diff --git a/yarn.lock b/yarn.lock index ed1d16d..53e69f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1450,6 +1450,7 @@ __metadata: prettier: "npm:^3.5.3" react: "npm:^19.0.0" react-dom: "npm:^19.0.0" + swiper: "npm:^11.2.6" tailwindcss: "npm:^4" typescript: "npm:^5" languageName: unknown @@ -3705,6 +3706,13 @@ __metadata: languageName: node linkType: hard +"swiper@npm:^11.2.6": + version: 11.2.6 + resolution: "swiper@npm:11.2.6" + checksum: 10c0/36ba63e2d1c5045f647f0f07b3a25c164393fb89b17db63f57fa9f776eb61bc5cb2c34634f80cf69caaddc209a174d0cd7be23c580785534569ea4a098b3a42c + languageName: node + linkType: hard + "synckit@npm:^0.11.0": version: 0.11.4 resolution: "synckit@npm:0.11.4"