diff --git a/public/images/bg-02-1920x916.jpg b/public/images/bg-02-1920x916.jpg index 61a465c..41156b5 100644 Binary files a/public/images/bg-02-1920x916.jpg and b/public/images/bg-02-1920x916.jpg differ diff --git a/public/images/featured-properties-17-480x287.jpg b/public/images/featured-properties-17-480x287.jpg index 4e8ed7e..e44d187 100644 Binary files a/public/images/featured-properties-17-480x287.jpg and b/public/images/featured-properties-17-480x287.jpg differ diff --git a/public/images/google-provider.svg b/public/images/google-provider.svg new file mode 100644 index 0000000..9f4467a --- /dev/null +++ b/public/images/google-provider.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index f073a3c..e266874 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -74,10 +74,10 @@ export default function Home() { data-margin="0" data-mouse-drag="false" > - - - - + + + +
$5000\mo @@ -119,10 +119,10 @@ export default function Home() { data-margin="0" data-mouse-drag="false" > - - - - + + + +
$2500\mo @@ -164,10 +164,10 @@ export default function Home() { data-margin="0" data-mouse-drag="false" > - - - - + + + +
9340\mo @@ -209,10 +209,10 @@ export default function Home() { data-margin="0" data-mouse-drag="false" > - - - - + + + +
$5550\mo @@ -255,9 +255,9 @@ export default function Home() { data-mouse-drag="false" > - - - + + +
$2520\mo @@ -299,10 +299,10 @@ export default function Home() { data-margin="0" data-mouse-drag="false" > - - - - + + + +
$5000\mo @@ -333,7 +333,7 @@ export default function Home() {
- + View all properties
diff --git a/src/components/GoogleReviewBox.tsx b/src/components/GoogleReviewBox.tsx index 626a489..3ec5546 100644 --- a/src/components/GoogleReviewBox.tsx +++ b/src/components/GoogleReviewBox.tsx @@ -1,3 +1,5 @@ +import StarRating from "./StarRating"; + export default function GoogleReviewBox() { return (
@@ -32,17 +34,8 @@ export default function GoogleReviewBox() {

- -
-

Karen Sanders

-

Pharmacist

-
+ +
@@ -58,17 +51,8 @@ export default function GoogleReviewBox() {

- -
-

Walter Williams

-

Lifeguard

-
+ +
@@ -84,17 +68,8 @@ export default function GoogleReviewBox() {

- -
-

Kate Anderson

-

Decorator

-
+ +
@@ -110,17 +85,8 @@ export default function GoogleReviewBox() {

- -
-

Peter Smith

-

Historian

-
+ +
diff --git a/src/components/StarRating.tsx b/src/components/StarRating.tsx new file mode 100644 index 0000000..b79e786 --- /dev/null +++ b/src/components/StarRating.tsx @@ -0,0 +1,67 @@ +import React from "react"; + +interface StarRatingProps { + value: number; + baseColor?: string; + filledColor?: string; + size?: number; +} + +const StarRating: React.FC = ({ + value, + baseColor = "#F2EFE7", + filledColor = "#FFD95F", + size = 24, +}) => { + const stars = Array.from({ length: 5 }, (_, i) => { + if (value >= i + 1) { + return ( + + + + ); + } else if (value > i && value < i + 1) { + return ( + + + + + + + + + + ); + } else { + return ( + + + + ); + } + }); + + return
{stars}
; +}; + +export default StarRating; diff --git a/src/components/layouts/Footer.tsx b/src/components/layouts/Footer.tsx index fc31032..5276344 100644 --- a/src/components/layouts/Footer.tsx +++ b/src/components/layouts/Footer.tsx @@ -10,7 +10,7 @@ export default function Footer() {
- +
@@ -25,7 +25,7 @@ export default function Footer() {
- +