Update src/app/page.tsx

This commit is contained in:
2026-03-05 10:54:02 +00:00
parent 50745ddfb7
commit 9339d5ec10

View File

@@ -72,11 +72,8 @@ export default function HomePage() {
buttonAnimation="slide-up"
background={{ variant: "radial-gradient" }}
dashboard={{
title: "DMK Investment Hub",
logoIcon: Building2,
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-view-beautiful-green-landscape-with-pathway-cloudy-sky_181624-17759.jpg?_wi=1",
searchPlaceholder: "Search plots by location...",
buttons: [
title: "DMK Investment Hub", logoIcon: Building2,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AWSjQjaEBq6KDTjvSpAHKacoHI/uploaded-1772707974057-nfslkd3p.jpg", searchPlaceholder: "Search plots by location...", buttons: [
{ text: "View Map", href: "#" },
{ text: "Download Catalog", href: "#" },
],
@@ -87,43 +84,30 @@ export default function HomePage() {
],
stats: [
{
title: "Active Plots",
values: [45, 52, 67],
description: "Available for investment",
},
title: "Active Plots", values: [45, 52, 67],
description: "Available for investment"},
{
title: "Avg Price/Plot",
values: [350000, 425000, 520000],
valuePrefix: "KES ",
description: "Price range across locations",
},
title: "Avg Price/Plot", values: [350000, 425000, 520000],
valuePrefix: "KES ", description: "Price range across locations"},
{
title: "Happy Investors",
values: [240, 315, 420],
description: "Satisfied clients",
},
title: "Happy Investors", values: [240, 315, 420],
description: "Satisfied clients"},
],
chartTitle: "Investment Growth",
chartData: [
chartTitle: "Investment Growth", chartData: [
{ value: 35 },
{ value: 55 },
{ value: 70 },
{ value: 65 },
{ value: 85 },
],
listTitle: "Latest Investments",
listItems: [
listTitle: "Latest Investments", listItems: [
{
icon: CheckCircle,
title: "Maai Mahiu Confirmed",
status: "Completed",
},
title: "Maai Mahiu Confirmed", status: "Completed"},
{ icon: Clock, title: "Suswa Project", status: "In Progress" },
{
icon: AlertCircle,
title: "Tala Premium Plots",
status: "Available",
},
title: "Tala Premium Plots", status: "Available"},
],
}}
/>
@@ -138,21 +122,11 @@ export default function HomePage() {
tagAnimation="slide-up"
negativeCard={{
items: [
"Unreliable land brokers",
"Unclear property titles",
"Hidden costs and fees",
"No transparency",
],
"Unreliable land brokers", "Unclear property titles", "Hidden costs and fees", "No transparency"],
}}
positiveCard={{
items: [
"Genuine Title Deeds verified",
"Strategic prime locations near SGR",
"Affordable prices with transparency",
"Flexible payment plans",
"Professional site visits",
"Dedicated customer support",
],
"Genuine Title Deeds verified", "Strategic prime locations near SGR", "Affordable prices with transparency", "Flexible payment plans", "Professional site visits", "Dedicated customer support"],
}}
animationType="slide-up"
textboxLayout="default"
@@ -173,36 +147,16 @@ export default function HomePage() {
useInvertedBackground={false}
products={[
{
id: "1",
name: "Maai Mahiu Premium Plot",
price: "KES 350,000",
imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-rural-landscape-crops-field_23-2148346099.jpg?_wi=1",
imageAlt: "Maai Mahiu investment plot",
initialQuantity: 1,
id: "1", name: "Maai Mahiu Premium Plot", price: "KES 350,000", imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-rural-landscape-crops-field_23-2148346099.jpg?_wi=1", imageAlt: "Maai Mahiu investment plot", initialQuantity: 1,
},
{
id: "2",
name: "Suswa SGR Zone Plot",
price: "KES 425,000",
imageSrc: "http://img.b2bpic.net/free-photo/colorful-abandoned-market-stalls-somewhere-along-highway-utah_333098-80.jpg?_wi=1",
imageAlt: "Suswa plot near SGR station",
initialQuantity: 1,
id: "2", name: "Suswa SGR Zone Plot", price: "KES 425,000", imageSrc: "http://img.b2bpic.net/free-photo/colorful-abandoned-market-stalls-somewhere-along-highway-utah_333098-80.jpg?_wi=1", imageAlt: "Suswa plot near SGR station", initialQuantity: 1,
},
{
id: "3",
name: "Tala Strategic Plot",
price: "KES 380,000",
imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-rural-landscape-crops-field_23-2148346099.jpg?_wi=2",
imageAlt: "Tala location investment property",
initialQuantity: 1,
id: "3", name: "Tala Strategic Plot", price: "KES 380,000", imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-rural-landscape-crops-field_23-2148346099.jpg?_wi=2", imageAlt: "Tala location investment property", initialQuantity: 1,
},
{
id: "4",
name: "Kangundo Road Development",
price: "KES 520,000",
imageSrc: "http://img.b2bpic.net/free-photo/low-angle-shot-highway-surrounded-by-mountains-hills_181624-14892.jpg?_wi=1",
imageAlt: "Kangundo road premium plot",
initialQuantity: 1,
id: "4", name: "Kangundo Road Development", price: "KES 520,000", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-shot-highway-surrounded-by-mountains-hills_181624-14892.jpg?_wi=1", imageAlt: "Kangundo road premium plot", initialQuantity: 1,
},
]}
gridVariant="four-items-2x2-equal-grid"
@@ -242,59 +196,23 @@ export default function HomePage() {
useInvertedBackground={false}
testimonials={[
{
id: "1",
name: "Peter Njoroge",
role: "Property Investor",
company: "Nairobi",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=1",
imageAlt: "Peter Njoroge",
},
id: "1", name: "Peter Njoroge", role: "Property Investor", company: "Nairobi", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=1", imageAlt: "Peter Njoroge"},
{
id: "2",
name: "Grace Kipchoge",
role: "Business Owner",
company: "Kiambu",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-fashionable-well-dressed-man-with-beard-posing-outdoors_1328-3268.jpg?_wi=1",
imageAlt: "Grace Kipchoge",
},
id: "2", name: "Grace Kipchoge", role: "Business Owner", company: "Kiambu", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-fashionable-well-dressed-man-with-beard-posing-outdoors_1328-3268.jpg?_wi=1", imageAlt: "Grace Kipchoge"},
{
id: "3",
name: "David Kariuki",
role: "Investment Manager",
company: "Nakuru",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=2",
imageAlt: "David Kariuki",
},
id: "3", name: "David Kariuki", role: "Investment Manager", company: "Nakuru", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=2", imageAlt: "David Kariuki"},
{
id: "4",
name: "Sarah Mwangi",
role: "Entrepreneur",
company: "Mombasa",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/man-portrait-posing-loft-modern-space_158595-5367.jpg?_wi=1",
imageAlt: "Sarah Mwangi",
},
id: "4", name: "Sarah Mwangi", role: "Entrepreneur", company: "Mombasa", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/man-portrait-posing-loft-modern-space_158595-5367.jpg?_wi=1", imageAlt: "Sarah Mwangi"},
{
id: "5",
name: "James Omondi",
role: "Corporate Executive",
company: "Eldoret",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/closeup-young-female-professional-making-eye-contact-against-colored-background_662251-651.jpg",
imageAlt: "James Omondi",
},
id: "5", name: "James Omondi", role: "Corporate Executive", company: "Eldoret", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/closeup-young-female-professional-making-eye-contact-against-colored-background_662251-651.jpg", imageAlt: "James Omondi"},
{
id: "6",
name: "Mary Achieng",
role: "Investment Advisor",
company: "Kisumu",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/man-portrait-posing-loft-modern-space_158595-5367.jpg?_wi=2",
imageAlt: "Mary Achieng",
},
id: "6", name: "Mary Achieng", role: "Investment Advisor", company: "Kisumu", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/man-portrait-posing-loft-modern-space_158595-5367.jpg?_wi=2", imageAlt: "Mary Achieng"},
]}
gridVariant="three-columns-all-equal-width"
animationType="slide-up"
@@ -330,4 +248,4 @@ export default function HomePage() {
</div>
</ThemeProvider>
);
}
}