diff --git a/src/app/page.tsx b/src/app/page.tsx index bee0907..ac3a572 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,13 +11,13 @@ import { Sparkles } from "lucide-react"; import Link from 'next/link'; const navItems = [ - { label: "Home", href: "/" }, - { label: "Products", href: "/products" }, - { label: "Get a Quote", href: "/quote" }, - { label: "Compare", href: "/compare" }, - { label: "Claims", href: "/claims" }, - { label: "About", href: "/about" }, - { label: "Contact", href: "/contact" } + { name: "Home", id: "/" }, + { name: "Products", id: "/products" }, + { name: "Get a Quote", id: "/quote" }, + { name: "Compare", id: "/compare" }, + { name: "Claims", id: "/claims" }, + { name: "About", id: "/about" }, + { name: "Contact", id: "/contact" } ]; const assetMap = [ @@ -92,14 +92,14 @@ export default function HomePage() { background={{ variant: "canvas-reveal" }} tag="ROYAL SYNDICATE INSURANCE BROKERS" tagIcon={Sparkles} - tagAnimation="entrance-slide" + tagAnimation="icon-arrow" buttons={[ { text: "Get a Quote", href: "/quote" }, { text: "Compare Packages", href: "/compare" } ]} - buttonAnimation="entrance-slide" + buttonAnimation="icon-arrow" mediaItems={[ - { imageSrc: getAssetUrl('http://img.b2bpic.net/free-vector/data-protection-landing-page-template_23-2148117792.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-vector/data-protection-landing-page-template_23-2148117792.jpg') } + { imageSrc: getAssetUrl('asset://hero-shield'), imageAlt: getAssetAlt('asset://hero-shield') } ]} useInvertedBackground={false} /> @@ -110,15 +110,16 @@ export default function HomePage() { title="Coverage for Every Chapter of Life" description="Protect what matters most with our comprehensive insurance solutions." products={[ - { id: "car", name: "Car Insurance", price: "Learn More", imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/green-abstract-background_23-2151820762.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/green-abstract-background_23-2151820762.jpg') }, - { id: "travel", name: "Travel Insurance", price: "Learn More", imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/abstract-neon-lights-wonder-wheel_23-2148328063.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/abstract-neon-lights-wonder-wheel_23-2148328063.jpg') }, - { id: "health", name: "Health Insurance", price: "Learn More", imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/3d-render-network-communications-background-with-connecting-lines-dots_1048-14022.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/3d-render-network-communications-background-with-connecting-lines-dots_1048-14022.jpg') }, - { id: "home", name: "Home Insurance", price: "Learn More", imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/home-sign-icon-left-side-white-background_187299-40319.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/home-sign-icon-left-side-white-background_187299-40319.jpg') }, - { id: "personal-accident", name: "Personal Accident", price: "Learn More", imageSrc: getAssetUrl('http://img.b2bpic.net/free-vector/20-insurance-solid-glyph-icon-presentation_1142-25697.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-vector/20-insurance-solid-glyph-icon-presentation_1142-25697.jpg') }, - { id: "business", name: "Business Insurance", price: "Learn More", imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/cybersecurity-concept-illustration_23-2151883575.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/cybersecurity-concept-illustration_23-2151883575.jpg') } + { id: "car", name: "Car Insurance", price: "Learn More", imageSrc: getAssetUrl('asset://product-car-insurance'), imageAlt: getAssetAlt('asset://product-car-insurance') }, + { id: "travel", name: "Travel Insurance", price: "Learn More", imageSrc: getAssetUrl('asset://product-travel-insurance'), imageAlt: getAssetAlt('asset://product-travel-insurance') }, + { id: "health", name: "Health Insurance", price: "Learn More", imageSrc: getAssetUrl('asset://product-health-insurance'), imageAlt: getAssetAlt('asset://product-health-insurance') }, + { id: "home", name: "Home Insurance", price: "Learn More", imageSrc: getAssetUrl('asset://product-home-insurance'), imageAlt: getAssetAlt('asset://product-home-insurance') }, + { id: "personal-accident", name: "Personal Accident", price: "Learn More", imageSrc: getAssetUrl('asset://product-personal-accident'), imageAlt: getAssetAlt('asset://product-personal-accident') }, + { id: "business", name: "Business Insurance", price: "Learn More", imageSrc: getAssetUrl('asset://product-business-insurance'), imageAlt: getAssetAlt('asset://product-business-insurance') } ]} gridVariant="three-columns-all-equal-width" animationType="slide-up" + textboxLayout="default" useInvertedBackground={false} /> @@ -128,10 +129,10 @@ export default function HomePage() { title="Why Choose RSB Insurance?" description="Experience unparalleled service, innovative solutions, and unwavering reliability." features={[ - { title: "Instant Quotes", description: "Get your premium calculated in seconds with our advanced online tools.", media: { imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/3d-paper-craft-art-charging-battery_53876-75046.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/3d-paper-craft-art-charging-battery_53876-75046.jpg') } }, - { title: "AI Advisor", description: "Leverage AI-powered advice to find the perfect coverage tailored for you.", media: { imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/reading-night_1098-13414.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/reading-night_1098-13414.jpg') } }, - { title: "Trusted Partners", description: "Access policies from Pakistan's leading insurers: SGI, IGI & Shaheen.", media: { imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/3d-render-helping-center-design-icon_460848-8047.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/3d-render-helping-center-design-icon_460848-8047.jpg') } }, - { title: "SECP Regulated", description: "Operates under strict SECP regulations, ensuring transparency and trust.", media: { imageSrc: getAssetUrl('http://img.b2bpic.net/free-vector/collection-creative-copyright-stamps_23-2148690704.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-vector/collection-creative-copyright-stamps_23-2148690704.jpg') } } + { title: "Instant Quotes", description: "Get your premium calculated in seconds with our advanced online tools.", media: { imageSrc: getAssetUrl('asset://feature-instant-quotes'), imageAlt: getAssetAlt('asset://feature-instant-quotes') }, items: [], reverse: false }, + { title: "AI Advisor", description: "Leverage AI-powered advice to find the perfect coverage tailored for you.", media: { imageSrc: getAssetUrl('asset://feature-ai-advisor'), imageAlt: getAssetAlt('asset://feature-ai-advisor') }, items: [], reverse: false }, + { title: "Trusted Partners", description: "Access policies from Pakistan's leading insurers: SGI, IGI & Shaheen.", media: { imageSrc: getAssetUrl('asset://feature-trusted-partners'), imageAlt: getAssetAlt('asset://feature-trusted-partners') }, items: [], reverse: false }, + { title: "SECP Regulated", description: "Operates under strict SECP regulations, ensuring transparency and trust.", media: { imageSrc: getAssetUrl('asset://feature-secp-regulated'), imageAlt: getAssetAlt('asset://feature-secp-regulated') }, items: [], reverse: false } ]} textboxLayout="default" animationType="slide-up" @@ -154,10 +155,10 @@ export default function HomePage() { title="Insurance Insights" description="Guides, tips and news for Pakistani policyholders." blogs={[ - { id: "blog-health-insurance-pakistan", category: "Health Insurance", title: "Why Every Pakistani Needs Health Insurance in 2024", excerpt: "Healthcare costs in Pakistan have risen dramatically. Health insurance is no longer a luxury, it is a necessity.", imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/composition-paper-style-isolation-still-life_23-2148998889.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/composition-paper-style-isolation-still-life_23-2148998889.jpg'), authorName: "RSB Insurance Team", authorAvatar: getAssetUrl('http://img.b2bpic.net/free-photo/close-up-portrait-handsome-man-black-shirt-poses-against-dark-background-standing-studio_613910-15100.jpg'), date: "December 10, 2024" }, - { id: "blog-best-car-insurance-pakistan", category: "Car Insurance", title: "How to Choose the Best Car Insurance in Pakistan", excerpt: "Buying a car in Pakistan is one of the largest financial investments. Protecting that investment starts with the right insurance.", imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/person-using-ar-technology-their-daily-occupation_23-2151137524.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/person-using-ar-technology-their-daily-occupation_23-2151137524.jpg'), authorName: "RSB Insurance Team", authorAvatar: getAssetUrl('http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-posing_23-2149445820.jpg'), date: "November 28, 2024" }, - { id: "blog-travel-insurance-tips", category: "Travel Insurance", title: "Top 5 Travel Tips + Why Travel Insurance is Essential", excerpt: "Pakistan's travelers are increasingly exploring the world. But traveling without insurance is a gamble most people cannot afford.", imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/brunette-girl-using-her-cellphone-as-she-is-exploring-new-city_1157-17780.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/brunette-girl-using-her-cellphone-as-she-is-exploring-new-city_1157-17780.jpg'), authorName: "RSB Insurance Team", authorAvatar: getAssetUrl('http://img.b2bpic.net/free-photo/medium-shot-young-man-posing-indoors_23-2149518285.jpg'), date: "November 15, 2024" }, - { id: "blog-home-insurance-flooding", category: "Home Insurance", title: "Does Your Home Insurance Cover Monsoon Flooding?", excerpt: "Pakistan experiences severe monsoon flooding. The vast majority of homeowners have zero insurance coverage. Be protected.", imageSrc: getAssetUrl('http://img.b2bpic.net/free-photo/still-life-cozy-house-with-toys_23-2149718496.jpg'), imageAlt: getAssetAlt('http://img.b2bpic.net/free-photo/still-life-cozy-house-with-toys_23-2149718496.jpg'), authorName: "RSB Insurance Team", authorAvatar: getAssetUrl('http://img.b2bpic.net/free-photo/close-up-portrait-handsome-man-black-shirt-poses-against-dark-background-standing-studio_613910-15100.jpg'), date: "October 30, 2024" } + { id: "blog-health-insurance-pakistan", category: "Health Insurance", title: "Why Every Pakistani Needs Health Insurance in 2024", excerpt: "Healthcare costs in Pakistan have risen dramatically. Health insurance is no longer a luxury, it is a necessity.", imageSrc: getAssetUrl('asset://blog-1-health-insurance'), imageAlt: getAssetAlt('asset://blog-1-health-insurance'), authorName: "RSB Insurance Team", authorAvatar: getAssetUrl('asset://team-member-1'), date: "December 10, 2024" }, + { id: "blog-best-car-insurance-pakistan", category: "Car Insurance", title: "How to Choose the Best Car Insurance in Pakistan", excerpt: "Buying a car in Pakistan is one of the largest financial investments. Protecting that investment starts with the right insurance.", imageSrc: getAssetUrl('asset://blog-2-car-insurance'), imageAlt: getAssetAlt('asset://blog-2-car-insurance'), authorName: "RSB Insurance Team", authorAvatar: getAssetUrl('asset://team-member-2'), date: "November 28, 2024" }, + { id: "blog-travel-insurance-tips", category: "Travel Insurance", title: "Top 5 Travel Tips + Why Travel Insurance is Essential", excerpt: "Pakistan's travelers are increasingly exploring the world. But traveling without insurance is a gamble most people cannot afford.", imageSrc: getAssetUrl('asset://blog-3-travel-insurance'), imageAlt: getAssetAlt('asset://blog-3-travel-insurance'), authorName: "RSB Insurance Team", authorAvatar: getAssetUrl('asset://team-member-3'), date: "November 15, 2024" }, + { id: "blog-home-insurance-flooding", category: "Home Insurance", title: "Does Your Home Insurance Cover Monsoon Flooding?", excerpt: "Pakistan experiences severe monsoon flooding. The vast majority of homeowners have zero insurance coverage. Be protected.", imageSrc: getAssetUrl('asset://blog-4-home-insurance'), imageAlt: getAssetAlt('asset://blog-4-home-insurance'), authorName: "RSB Insurance Team", authorAvatar: getAssetUrl('asset://team-member-1'), date: "October 30, 2024" } ]} textboxLayout="default" animationType="slide-up" @@ -170,8 +171,8 @@ export default function HomePage() {