From 9f244a74ef2ab3e9b307409791719c30948d23ce Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 9 Mar 2026 02:38:06 +0000 Subject: [PATCH 1/2] Update src/app/admin/create-bill/page.tsx --- src/app/admin/create-bill/page.tsx | 106 +++++++---------------------- 1 file changed, 24 insertions(+), 82 deletions(-) diff --git a/src/app/admin/create-bill/page.tsx b/src/app/admin/create-bill/page.tsx index 043c2fd..9bd8cbc 100644 --- a/src/app/admin/create-bill/page.tsx +++ b/src/app/admin/create-bill/page.tsx @@ -7,7 +7,7 @@ import FeatureBento from "@/components/sections/feature/FeatureBento"; import PricingCardTwo from "@/components/sections/pricing/PricingCardTwo"; import ContactText from "@/components/sections/contact/ContactText"; import FooterBase from "@/components/sections/footer/FooterBase"; -import { Sparkles, Zap, DollarSign, TrendingUp, Package, Scale, Users, Printer, CheckCircle, FileText, Weight, Send, Lightbulb, Settings, RefreshCw, Lock, Clock, BarChart3, Mail, Download, MessageSquare, Check, Crown, Lightbulb as LightbulbIcon } from "lucide-react"; +import { Sparkles, Zap, DollarSign, TrendingUp, Package, Scale, Users, Printer, CheckCircle, FileText, Weight, Send, Lightbulb, Settings, RefreshCw, Lock, Clock, BarChart3, Mail, Download, MessageSquare, Check, Crown } from "lucide-react"; export default function CreateBillPage() { const navItems = [ @@ -19,8 +19,7 @@ export default function CreateBillPage() { const footerColumns = [ { - title: "Product", - items: [ + title: "Product", items: [ { label: "Features", href: "#features" }, { label: "Pricing", href: "#pricing" }, { label: "How It Works", href: "#how-it-works" }, @@ -28,8 +27,7 @@ export default function CreateBillPage() { ] }, { - title: "Company", - items: [ + title: "Company", items: [ { label: "About Us", href: "/about" }, { label: "Blog", href: "/blog" }, { label: "Careers", href: "/careers" }, @@ -37,8 +35,7 @@ export default function CreateBillPage() { ] }, { - title: "Legal", - items: [ + title: "Legal", items: [ { label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }, { label: "Cookie Policy", href: "#" }, @@ -84,12 +81,10 @@ export default function CreateBillPage() { buttonAnimation="slide-up" mediaItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/low-carbon-footprint-eco-food_482257-96781.jpg?_wi=2", - imageAlt: "Admin dashboard with billing interface" + imageSrc: "http://img.b2bpic.net/free-photo/low-carbon-footprint-eco-food_482257-96781.jpg", imageAlt: "Admin dashboard with billing interface" }, { - imageSrc: "http://img.b2bpic.net/free-photo/woman-working-office-using-printer_23-2149456964.jpg?_wi=2", - imageAlt: "Professional bill printing" + imageSrc: "http://img.b2bpic.net/free-photo/woman-working-office-using-printer_23-2149456964.jpg", imageAlt: "Professional bill printing" } ]} mediaAnimation="slide-up" @@ -108,35 +103,23 @@ export default function CreateBillPage() { tagAnimation="slide-up" features={[ { - title: "Dynamic Price Management", - description: "Set real-time gold and silver prices per gram and update instantly across all bills", - bentoComponent: "icon-info-cards", - items: [ + title: "Dynamic Price Management", description: "Set real-time gold and silver prices per gram and update instantly across all bills", bentoComponent: "icon-info-cards", items: [ { icon: DollarSign, label: "Live Pricing", value: "Real-time Updates" }, { icon: TrendingUp, label: "Market Rates", value: "Always Current" }, { icon: Zap, label: "Quick Adjust", value: "Instant Changes" } ] }, { - title: "Bill Creation Steps", - description: "Add items with weight, metal type, description and customer details automatically", - bentoComponent: "3d-task-list", - title: "Bill Creation", - items: [ + title: "Bill Creation Steps", description: "Add items with weight, metal type, description and customer details automatically", bentoComponent: "3d-task-list", items: [ { icon: Package, label: "Select Item Type", time: "30 seconds" }, { icon: Scale, label: "Enter Weight", time: "1 minute" }, { icon: Users, label: "Customer Info", time: "1 minute" } ] }, { - title: "One-Click Printing", - description: "Professional bill templates ready to print with all transaction details", - bentoComponent: "phone", - statusIcon: Printer, + title: "One-Click Printing", description: "Professional bill templates ready to print with all transaction details", bentoComponent: "phone", statusIcon: Printer, alertIcon: CheckCircle, - alertTitle: "Bill Ready", - alertMessage: "Click to print your professional bill", - apps: [ + alertTitle: "Bill Ready", alertMessage: "Click to print your professional bill", apps: [ { name: "Print", icon: Printer }, { name: "Save", icon: Download }, { name: "Share", icon: Send }, @@ -148,12 +131,7 @@ export default function CreateBillPage() { ] }, { - title: "Complete Bill History", - description: "Access all past bills with search, filter and export capabilities", - bentoComponent: "timeline", - heading: "Bill Timeline", - subheading: "Track all transactions", - items: [ + title: "Complete Bill History", description: "Access all past bills with search, filter and export capabilities", bentoComponent: "timeline", heading: "Bill Timeline", subheading: "Track all transactions", items: [ { label: "Bill Created", detail: "Initial bill entry recorded" }, { label: "Bill Printed", detail: "Customer received bill copy" }, { label: "WhatsApp Sent", detail: "Automated thank you message" } @@ -178,10 +156,7 @@ export default function CreateBillPage() { tagAnimation="slide-up" features={[ { - title: "Setup Your Prices", - description: "Enter current gold and silver rates per gram on your first login", - bentoComponent: "orbiting-icons", - centerIcon: Settings, + title: "Setup Your Prices", description: "Enter current gold and silver rates per gram on your first login", bentoComponent: "orbiting-icons", centerIcon: Settings, items: [ { icon: DollarSign, ring: 1 }, { icon: TrendingUp, ring: 1 }, @@ -190,22 +165,15 @@ export default function CreateBillPage() { ] }, { - title: "Create a New Bill", - description: "Select item type, enter weight, add description and customer phone number", - bentoComponent: "3d-stack-cards", - items: [ + title: "Create a New Bill", description: "Select item type, enter weight, add description and customer phone number", bentoComponent: "3d-stack-cards", items: [ { icon: FileText, title: "Select Type", subtitle: "Gold or Silver", detail: "Choose metal type" }, { icon: Weight, title: "Enter Weight", subtitle: "In grams", detail: "Automatic calculation" }, { icon: Users, title: "Customer Details", subtitle: "Name & Phone", detail: "For notifications" } ] }, { - title: "Print & Send", - description: "Print bill instantly and automatically send thank you message to customer WhatsApp", - bentoComponent: "marquee", - centerIcon: Send, - variant: "icon", - icons: [Printer, Send, MessageSquare, Check, Download] + title: "Print & Send", description: "Print bill instantly and automatically send thank you message to customer WhatsApp", bentoComponent: "marquee", centerIcon: Send, + variant: "icon", icons: [Printer, Send, MessageSquare, Check, Download] } ]} textboxLayout="default" @@ -223,59 +191,33 @@ export default function CreateBillPage() { tagAnimation="slide-up" plans={[ { - id: "starter", - badge: "Starter", - badgeIcon: Sparkles, - price: "₹999/mo", - subtitle: "Perfect for small shops", - buttons: [ + id: "starter", badge: "Starter", badgeIcon: Sparkles, + price: "₹999/mo", subtitle: "Perfect for small shops", buttons: [ { text: "Start Free Trial", href: "/signup" }, { text: "Learn More", href: "#" } ], features: [ - "Up to 100 bills per month", - "Unlimited price updates", - "Bill history & search", - "Basic WhatsApp integration", - "Email support" + "Up to 100 bills per month", "Unlimited price updates", "Bill history & search", "Basic WhatsApp integration", "Email support" ] }, { - id: "professional", - badge: "Professional", - badgeIcon: Crown, - price: "₹2,999/mo", - subtitle: "Best for growing shops", - buttons: [ + id: "professional", badge: "Professional", badgeIcon: Crown, + price: "₹2,999/mo", subtitle: "Best for growing shops", buttons: [ { text: "Start Free Trial", href: "/signup" }, { text: "Learn More", href: "#" } ], features: [ - "Unlimited bills", - "Multi-user access", - "Advanced reports & analytics", - "WhatsApp automation", - "Priority support", - "Custom bill templates" + "Unlimited bills", "Multi-user access", "Advanced reports & analytics", "WhatsApp automation", "Priority support", "Custom bill templates" ] }, { - id: "enterprise", - badge: "Enterprise", - badgeIcon: Zap, - price: "₹7,999/mo", - subtitle: "For large operations", - buttons: [ + id: "enterprise", badge: "Enterprise", badgeIcon: Zap, + price: "₹7,999/mo", subtitle: "For large operations", buttons: [ { text: "Contact Sales", href: "/contact" }, { text: "Schedule Demo", href: "/demo" } ], features: [ - "Everything in Professional", - "Multi-location support", - "Advanced integrations", - "Dedicated account manager", - "24/7 phone support", - "Custom development" + "Everything in Professional", "Multi-location support", "Advanced integrations", "Dedicated account manager", "24/7 phone support", "Custom development" ] } ]} -- 2.49.1 From 63d04a708da5ee233fa5bac0053fb09f775b5e18 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 9 Mar 2026 02:38:06 +0000 Subject: [PATCH 2/2] Update src/app/page.tsx --- src/app/page.tsx | 283 ++++++++++++----------------------------------- 1 file changed, 68 insertions(+), 215 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 853cccc..9416a55 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -60,9 +60,7 @@ export default function HomePage() { { name: "Pricing", id: "pricing" }, ]} button={{ - text: "Get Started", - href: "/login", - }} + text: "Get Started", href: "/login"}} animateOnLoad={true} /> @@ -78,24 +76,16 @@ export default function HomePage() { background={{ variant: "plain" }} buttons={[ { - text: "Start Free Trial", - href: "/login", - }, + text: "Start Free Trial", href: "/login"}, { - text: "View Demo", - href: "#how-it-works", - }, + text: "View Demo", href: "#how-it-works"}, ]} buttonAnimation="slide-up" mediaItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/low-carbon-footprint-eco-food_482257-96781.jpg?_wi=1", - imageAlt: "billing software dashboard interface admin panel", - }, + imageSrc: "http://img.b2bpic.net/free-photo/low-carbon-footprint-eco-food_482257-96781.jpg", imageAlt: "billing software dashboard interface admin panel"}, { - imageSrc: "http://img.b2bpic.net/free-photo/woman-working-office-using-printer_23-2149456964.jpg?_wi=1", - imageAlt: "printing invoice bill receipt paper professional", - }, + imageSrc: "http://img.b2bpic.net/free-photo/woman-working-office-using-printer_23-2149456964.jpg", imageAlt: "printing invoice bill receipt paper professional"}, ]} mediaAnimation="slide-up" rating={5} @@ -114,124 +104,78 @@ export default function HomePage() { tagAnimation="slide-up" features={[ { - title: "Dynamic Price Management", - description: "Set real-time gold and silver prices per gram and update instantly across all bills", - bentoComponent: "icon-info-cards", - items: [ + title: "Dynamic Price Management", description: "Set real-time gold and silver prices per gram and update instantly across all bills", bentoComponent: "icon-info-cards", items: [ { icon: DollarSign, - label: "Live Pricing", - value: "Real-time Updates", - }, + label: "Live Pricing", value: "Real-time Updates"}, { icon: TrendingUp, - label: "Market Rates", - value: "Always Current", - }, + label: "Market Rates", value: "Always Current"}, { icon: Zap, - label: "Quick Adjust", - value: "Instant Changes", - }, + label: "Quick Adjust", value: "Instant Changes"}, ], }, { - title: "Bill Creation Steps", - description: "Add items with weight, metal type, description and customer details automatically", - bentoComponent: "3d-task-list", - title: "Bill Steps", - items: [ + title: "Bill Creation Steps", description: "Add items with weight, metal type, description and customer details automatically", bentoComponent: "3d-task-list", items: [ { icon: Package, - label: "Select Item Type", - time: "30 seconds", - }, + label: "Select Item Type", time: "30 seconds"}, { icon: Scale, - label: "Enter Weight", - time: "1 minute", - }, + label: "Enter Weight", time: "1 minute"}, { icon: Users, - label: "Customer Info", - time: "1 minute", - }, + label: "Customer Info", time: "1 minute"}, ], }, { - title: "One-Click Printing", - description: "Professional bill templates ready to print with all transaction details", - bentoComponent: "phone", - statusIcon: Printer, + title: "One-Click Printing", description: "Professional bill templates ready to print with all transaction details", bentoComponent: "phone", statusIcon: Printer, alertIcon: CheckCircle, - alertTitle: "Bill Ready", - alertMessage: "Click to print your professional bill", - apps: [ + alertTitle: "Bill Ready", alertMessage: "Click to print your professional bill", apps: [ { - name: "Print", - icon: Printer, + name: "Print", icon: Printer, }, { - name: "Save", - icon: Download, + name: "Save", icon: Download, }, { - name: "Share", - icon: Send, + name: "Share", icon: Send, }, { - name: "Email", - icon: Mail, + name: "Email", icon: Mail, }, { - name: "History", - icon: Clock, + name: "History", icon: Clock, }, { - name: "Settings", - icon: Settings, + name: "Settings", icon: Settings, }, { - name: "Reports", - icon: BarChart3, + name: "Reports", icon: BarChart3, }, { - name: "Profile", - icon: User, + name: "Profile", icon: User, }, ], }, { - title: "Complete Bill History", - description: "Access all past bills with search, filter and export capabilities", - bentoComponent: "timeline", - heading: "Bill Timeline", - subheading: "Track all transactions", - items: [ + title: "Complete Bill History", description: "Access all past bills with search, filter and export capabilities", bentoComponent: "timeline", heading: "Bill Timeline", subheading: "Track all transactions", items: [ { - label: "Bill Created", - detail: "Initial bill entry recorded", - }, + label: "Bill Created", detail: "Initial bill entry recorded"}, { - label: "Bill Printed", - detail: "Customer received bill copy", - }, + label: "Bill Printed", detail: "Customer received bill copy"}, { - label: "WhatsApp Sent", - detail: "Automated thank you message", - }, + label: "WhatsApp Sent", detail: "Automated thank you message"}, ], - completedLabel: "Completed", - }, + completedLabel: "Completed"}, ]} textboxLayout="default" animationType="slide-up" useInvertedBackground={false} buttons={[ { - text: "Explore All Features", - href: "#pricing", - }, + text: "Explore All Features", href: "#pricing"}, ]} buttonAnimation="slide-up" /> @@ -247,10 +191,7 @@ export default function HomePage() { tagAnimation="slide-up" features={[ { - title: "Setup Your Prices", - description: "Enter current gold and silver rates per gram on your first login", - bentoComponent: "orbiting-icons", - centerIcon: Settings, + title: "Setup Your Prices", description: "Enter current gold and silver rates per gram on your first login", bentoComponent: "orbiting-icons", centerIcon: Settings, items: [ { icon: DollarSign, @@ -271,37 +212,21 @@ export default function HomePage() { ], }, { - title: "Create a New Bill", - description: "Select item type, enter weight, add description and customer phone number", - bentoComponent: "3d-stack-cards", - items: [ + title: "Create a New Bill", description: "Select item type, enter weight, add description and customer phone number", bentoComponent: "3d-stack-cards", items: [ { icon: FileText, - title: "Select Type", - subtitle: "Gold or Silver", - detail: "Choose metal type", - }, + title: "Select Type", subtitle: "Gold or Silver", detail: "Choose metal type"}, { icon: Weight, - title: "Enter Weight", - subtitle: "In grams", - detail: "Automatic calculation", - }, + title: "Enter Weight", subtitle: "In grams", detail: "Automatic calculation"}, { icon: Users, - title: "Customer Details", - subtitle: "Name & Phone", - detail: "For notifications", - }, + title: "Customer Details", subtitle: "Name & Phone", detail: "For notifications"}, ], }, { - title: "Print & Send", - description: "Print bill instantly and automatically send thank you message to customer WhatsApp", - bentoComponent: "marquee", - centerIcon: Send, - variant: "icon", - icons: [Printer, Send, MessageSquare, Check, Download], + title: "Print & Send", description: "Print bill instantly and automatically send thank you message to customer WhatsApp", bentoComponent: "marquee", centerIcon: Send, + variant: "icon", icons: [Printer, Send, MessageSquare, Check, Download], }, ]} textboxLayout="default" @@ -320,78 +245,37 @@ export default function HomePage() { tagAnimation="slide-up" plans={[ { - id: "starter", - badge: "Starter", - badgeIcon: Sparkles, - price: "₹999/mo", - subtitle: "Perfect for small shops", - buttons: [ + id: "starter", badge: "Starter", badgeIcon: Sparkles, + price: "₹999/mo", subtitle: "Perfect for small shops", buttons: [ { - text: "Start Free Trial", - href: "/signup", - }, + text: "Start Free Trial", href: "/signup"}, { - text: "Learn More", - href: "#", - }, + text: "Learn More", href: "#"}, ], features: [ - "Up to 100 bills per month", - "Unlimited price updates", - "Bill history & search", - "Basic WhatsApp integration", - "Email support", - ], + "Up to 100 bills per month", "Unlimited price updates", "Bill history & search", "Basic WhatsApp integration", "Email support"], }, { - id: "professional", - badge: "Professional", - badgeIcon: Crown, - price: "₹2,999/mo", - subtitle: "Best for growing shops", - buttons: [ + id: "professional", badge: "Professional", badgeIcon: Crown, + price: "₹2,999/mo", subtitle: "Best for growing shops", buttons: [ { - text: "Start Free Trial", - href: "/signup", - }, + text: "Start Free Trial", href: "/signup"}, { - text: "Learn More", - href: "#", - }, + text: "Learn More", href: "#"}, ], features: [ - "Unlimited bills", - "Multi-user access", - "Advanced reports & analytics", - "WhatsApp automation", - "Priority support", - "Custom bill templates", - ], + "Unlimited bills", "Multi-user access", "Advanced reports & analytics", "WhatsApp automation", "Priority support", "Custom bill templates"], }, { - id: "enterprise", - badge: "Enterprise", - badgeIcon: Zap, - price: "₹7,999/mo", - subtitle: "For large operations", - buttons: [ + id: "enterprise", badge: "Enterprise", badgeIcon: Zap, + price: "₹7,999/mo", subtitle: "For large operations", buttons: [ { - text: "Contact Sales", - href: "/contact", - }, + text: "Contact Sales", href: "/contact"}, { - text: "Schedule Demo", - href: "/demo", - }, + text: "Schedule Demo", href: "/demo"}, ], features: [ - "Everything in Professional", - "Multi-location support", - "Advanced integrations", - "Dedicated account manager", - "24/7 phone support", - "Custom development", - ], + "Everything in Professional", "Multi-location support", "Advanced integrations", "Dedicated account manager", "24/7 phone support", "Custom development"], }, ]} textboxLayout="default" @@ -407,13 +291,9 @@ export default function HomePage() { animationType="entrance-slide" buttons={[ { - text: "Start Your Free Trial", - href: "/signup", - }, + text: "Start Your Free Trial", href: "/signup"}, { - text: "Schedule a Demo", - href: "/demo", - }, + text: "Schedule a Demo", href: "/demo"}, ]} background={{ variant: "plain" }} useInvertedBackground={true} @@ -427,66 +307,39 @@ export default function HomePage() { copyrightText="© 2025 GoldBill Pro | Billing Solutions for Gold & Silver Shops" columns={[ { - title: "Product", - items: [ + title: "Product", items: [ { - label: "Features", - href: "#features", - }, + label: "Features", href: "#features"}, { - label: "Pricing", - href: "#pricing", - }, + label: "Pricing", href: "#pricing"}, { - label: "How It Works", - href: "#how-it-works", - }, + label: "How It Works", href: "#how-it-works"}, { - label: "Security", - href: "#", - }, + label: "Security", href: "#"}, ], }, { - title: "Company", - items: [ + title: "Company", items: [ { - label: "About Us", - href: "/about", - }, + label: "About Us", href: "/about"}, { - label: "Blog", - href: "/blog", - }, + label: "Blog", href: "/blog"}, { - label: "Careers", - href: "/careers", - }, + label: "Careers", href: "/careers"}, { - label: "Contact", - href: "#", - }, + label: "Contact", href: "#"}, ], }, { - title: "Legal", - items: [ + title: "Legal", items: [ { - label: "Privacy Policy", - href: "#", - }, + label: "Privacy Policy", href: "#"}, { - label: "Terms of Service", - href: "#", - }, + label: "Terms of Service", href: "#"}, { - label: "Cookie Policy", - href: "#", - }, + label: "Cookie Policy", href: "#"}, { - label: "Support", - href: "/support", - }, + label: "Support", href: "/support"}, ], }, ]} -- 2.49.1