Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 84c72596e6 |
225
src/app/page.tsx
225
src/app/page.tsx
@@ -12,6 +12,12 @@ import ProductCardFour from '@/components/sections/product/ProductCardFour';
|
||||
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleAction = (action: string, recordId?: string) => {
|
||||
if (confirm(`Confirm ${action}${recordId ? ` for ID: ${recordId}` : ''}?`)) {
|
||||
console.log(`Action performed: ${action}`, recordId);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
@@ -29,26 +35,11 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "Why Us",
|
||||
id: "features",
|
||||
},
|
||||
{
|
||||
name: "Products",
|
||||
id: "products",
|
||||
},
|
||||
{
|
||||
name: "Bulk Orders",
|
||||
id: "bulk-orders",
|
||||
},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "Why Us", id: "features" },
|
||||
{ name: "Products", id: "products" },
|
||||
{ name: "Bulk Orders", id: "bulk-orders" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
]}
|
||||
brandName="Ramdev General Stores"
|
||||
/>
|
||||
@@ -59,14 +50,8 @@ export default function LandingPage() {
|
||||
logoText="Ramdev General Stores"
|
||||
description="Gadag’s Trusted Grocery Store – Everything You Need, All in One Place. Best prices. Bulk orders. Fast service."
|
||||
buttons={[
|
||||
{
|
||||
text: "📞 Call Now",
|
||||
href: "tel:+919999999999",
|
||||
},
|
||||
{
|
||||
text: "💬 WhatsApp Order",
|
||||
href: "https://wa.me/919999999999",
|
||||
},
|
||||
{ text: "📞 Call Now", href: "tel:+919999999999" },
|
||||
{ text: "💬 WhatsApp Order", href: "https://wa.me/919999999999" },
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/abstract-blur-restaurant_74190-5738.jpg"
|
||||
imageAlt="Ramdev General Stores storefront"
|
||||
@@ -81,23 +66,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "Competitive Pricing",
|
||||
description: "Best market rates on all your daily essentials.",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/sales-badges-labels_23-2147720678.jpg",
|
||||
imageAlt: "Pricing",
|
||||
},
|
||||
title: "Competitive Pricing", description: "Best market rates on all your daily essentials.", imageSrc: "http://img.b2bpic.net/free-vector/sales-badges-labels_23-2147720678.jpg", imageAlt: "Pricing"},
|
||||
{
|
||||
title: "Wide Product Range",
|
||||
description: "Everything from grains to household items in one place.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/abstract-blur-shopping-cart-supermarket-grocery-store-background_640221-329.jpg",
|
||||
imageAlt: "Variety",
|
||||
},
|
||||
title: "Wide Product Range", description: "Everything from grains to household items in one place.", imageSrc: "http://img.b2bpic.net/free-photo/abstract-blur-shopping-cart-supermarket-grocery-store-background_640221-329.jpg", imageAlt: "Variety"},
|
||||
{
|
||||
title: "Fast Service",
|
||||
description: "Quick billing and helpful service for every customer.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/back-home-with-eco-groceries-water-home-shopping_169016-70265.jpg",
|
||||
imageAlt: "Service",
|
||||
},
|
||||
title: "Fast Service", description: "Quick billing and helpful service for every customer.", imageSrc: "http://img.b2bpic.net/free-photo/back-home-with-eco-groceries-water-home-shopping_169016-70265.jpg", imageAlt: "Service"},
|
||||
]}
|
||||
title="Why Choose Us?"
|
||||
description="Trusted by Gadag families for years with quality and value."
|
||||
@@ -111,48 +84,12 @@ export default function LandingPage() {
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Premium Atta",
|
||||
price: "₹450",
|
||||
variant: "5kg Pack",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bee-honey-with-nuts-glass-cans_1398-4958.jpg",
|
||||
},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Refined Oil",
|
||||
price: "₹160",
|
||||
variant: "1L Bottle",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cooking-oil-brown-jute-background_58702-2239.jpg",
|
||||
},
|
||||
{
|
||||
id: "p3",
|
||||
name: "Quality Soaps",
|
||||
price: "₹45",
|
||||
variant: "Individual",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/ecological-top-view-self-care-products_23-2148889814.jpg",
|
||||
},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Spices & Tea",
|
||||
price: "₹80",
|
||||
variant: "Pack",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/herbs-with-green-tea-white-box-green-background_23-2147874194.jpg",
|
||||
},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Bulk Rice Bags",
|
||||
price: "₹1200",
|
||||
variant: "25kg Bag",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/white-rice-scattered-from-sack-table_23-2148180867.jpg",
|
||||
},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Daily Snacks",
|
||||
price: "₹20",
|
||||
variant: "Packet",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/assorted-snacks-plate-sausages-caviar-olives-wooden-table_114579-20950.jpg",
|
||||
},
|
||||
{ id: "p1", name: "Premium Atta", price: "₹450", variant: "5kg Pack", imageSrc: "http://img.b2bpic.net/free-photo/bee-honey-with-nuts-glass-cans_1398-4958.jpg", onFavorite: () => handleAction("toggle favorite", "p1") },
|
||||
{ id: "p2", name: "Refined Oil", price: "₹160", variant: "1L Bottle", imageSrc: "http://img.b2bpic.net/free-photo/cooking-oil-brown-jute-background_58702-2239.jpg", onFavorite: () => handleAction("toggle favorite", "p2") },
|
||||
{ id: "p3", name: "Quality Soaps", price: "₹45", variant: "Individual", imageSrc: "http://img.b2bpic.net/free-photo/ecological-top-view-self-care-products_23-2148889814.jpg", onFavorite: () => handleAction("toggle favorite", "p3") },
|
||||
{ id: "p4", name: "Spices & Tea", price: "₹80", variant: "Pack", imageSrc: "http://img.b2bpic.net/free-photo/herbs-with-green-tea-white-box-green-background_23-2147874194.jpg", onFavorite: () => handleAction("toggle favorite", "p4") },
|
||||
{ id: "p5", name: "Bulk Rice Bags", price: "₹1200", variant: "25kg Bag", imageSrc: "http://img.b2bpic.net/free-photo/white-rice-scattered-from-sack-table_23-2148180867.jpg", onFavorite: () => handleAction("toggle favorite", "p5") },
|
||||
{ id: "p6", name: "Daily Snacks", price: "₹20", variant: "Packet", imageSrc: "http://img.b2bpic.net/free-photo/assorted-snacks-plate-sausages-caviar-olives-wooden-table_114579-20950.jpg", onFavorite: () => handleAction("toggle favorite", "p6") },
|
||||
]}
|
||||
title="Our Products"
|
||||
description="Browse our daily essentials and bulk options."
|
||||
@@ -165,14 +102,8 @@ export default function LandingPage() {
|
||||
title="Planning a Wedding or Event?"
|
||||
description="We specialize in bulk grocery supply for weddings and large family events. Get the best wholesale pricing guaranteed. Request a custom quote today via WhatsApp or phone."
|
||||
buttons={[
|
||||
{
|
||||
text: "Request Bulk Quote",
|
||||
href: "#contact",
|
||||
},
|
||||
{
|
||||
text: "WhatsApp Us",
|
||||
href: "https://wa.me/919999999999",
|
||||
},
|
||||
{ text: "Request Bulk Quote", onClick: () => handleAction("bulk request") },
|
||||
{ text: "WhatsApp Us", href: "https://wa.me/919999999999" },
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/various-rice-scattered-from-bottles_23-2148180891.jpg"
|
||||
imageAlt="Bulk grocery supplies"
|
||||
@@ -185,60 +116,16 @@ export default function LandingPage() {
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Rajesh Kumar",
|
||||
role: "Local Resident",
|
||||
company: "Gadag",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-female-with-hair-bun-having-joyful-look-smiling-cheerfully-happy-with-some-positive-news_273609-9042.jpg",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Suresh P.",
|
||||
role: "Shop Owner",
|
||||
company: "Gadag",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5072.jpg",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Amit Deshmukh",
|
||||
role: "Local Resident",
|
||||
company: "Gadag",
|
||||
rating: 4,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-man-handling-money-funds-wealth-prosperity_23-2151660784.jpg",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Priya Sharma",
|
||||
role: "Homemaker",
|
||||
company: "Gadag",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/couple-doing-organic-food-shopping_482257-76126.jpg",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Vijay Kulkarni",
|
||||
role: "Regular",
|
||||
company: "Gadag",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-taking-care-home-delivering-groceries_52683-102843.jpg",
|
||||
},
|
||||
{ id: "1", name: "Rajesh Kumar", role: "Local Resident", company: "Gadag", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-female-with-hair-bun-having-joyful-look-smiling-cheerfully-happy-with-some-positive-news_273609-9042.jpg" },
|
||||
{ id: "2", name: "Suresh P.", role: "Shop Owner", company: "Gadag", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5072.jpg" },
|
||||
{ id: "3", name: "Amit Deshmukh", role: "Local Resident", company: "Gadag", rating: 4, imageSrc: "http://img.b2bpic.net/free-photo/view-man-handling-money-funds-wealth-prosperity_23-2151660784.jpg" },
|
||||
{ id: "4", name: "Priya Sharma", role: "Homemaker", company: "Gadag", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/couple-doing-organic-food-shopping_482257-76126.jpg" },
|
||||
{ id: "5", name: "Vijay Kulkarni", role: "Regular", company: "Gadag", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/man-taking-care-home-delivering-groceries_52683-102843.jpg" },
|
||||
]}
|
||||
kpiItems={[
|
||||
{
|
||||
value: "4.6⭐",
|
||||
label: "Google Rating",
|
||||
},
|
||||
{
|
||||
value: "60+",
|
||||
label: "Customer Reviews",
|
||||
},
|
||||
{
|
||||
value: "100%",
|
||||
label: "Local Trust",
|
||||
},
|
||||
{ value: "4.6⭐", label: "Google Rating" },
|
||||
{ value: "60+", label: "Customer Reviews" },
|
||||
{ value: "100%", label: "Local Trust" },
|
||||
]}
|
||||
title="What Our Customers Say"
|
||||
description="Trusted by over 60+ locals for our quality and reliability."
|
||||
@@ -258,19 +145,12 @@ export default function LandingPage() {
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactText
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "canvas-reveal",
|
||||
}}
|
||||
background={{ variant: "canvas-reveal" }}
|
||||
text="Visit us at Ramdev General Stores, Gadag. We are open until 9 PM daily for all your needs. Give us a call or visit us for any bulk order inquiries."
|
||||
buttons={[
|
||||
{
|
||||
text: "Call Now: +91 99999-99999",
|
||||
href: "tel:+919999999999",
|
||||
},
|
||||
{
|
||||
text: "Get Directions",
|
||||
href: "https://maps.google.com",
|
||||
},
|
||||
{ text: "Call Now: +91 99999-99999", href: "tel:+919999999999" },
|
||||
{ text: "Update Payment Status", onClick: () => handleAction("update payment status") },
|
||||
{ text: "Get Directions", href: "https://maps.google.com" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -280,33 +160,16 @@ export default function LandingPage() {
|
||||
logoText="Ramdev General Stores"
|
||||
columns={[
|
||||
{
|
||||
title: "Store Info",
|
||||
items: [
|
||||
{
|
||||
label: "Gadag, Karnataka",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Open until 9 PM",
|
||||
href: "#",
|
||||
},
|
||||
title: "Store Info", items: [
|
||||
{ label: "Gadag, Karnataka", href: "#" },
|
||||
{ label: "Open until 9 PM", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Links",
|
||||
items: [
|
||||
{
|
||||
label: "Home",
|
||||
href: "#hero",
|
||||
},
|
||||
{
|
||||
label: "Bulk Orders",
|
||||
href: "#bulk-orders",
|
||||
},
|
||||
{
|
||||
label: "Contact Us",
|
||||
href: "#contact",
|
||||
},
|
||||
title: "Links", items: [
|
||||
{ label: "Home", href: "#hero" },
|
||||
{ label: "Bulk Orders", href: "#bulk-orders" },
|
||||
{ label: "Contact Us", href: "#contact" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -316,4 +179,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user