1import{u as d,r as m,j as e,L as n,W as c}from"./index-DEq-r_Dw.js";import{A as x}from"./arrow-left-Czj5GGGX.js";import{C as p}from"./car-front-Fzpq29Ss.js";import{M as u}from"./map-pin-DKi7XUnI.js";const h="/stories/customer-stories/hyundai-starex-road-trip";function f(a){try{return JSON.parse(a||"[]").find(r=>r.published&&r.slug===h)}catch{return}}function w(){const{data:a}=d(),t=f(a?.stories_json),r=t?.title||"A Starex for the Journey",s=(t?.content||"").split(/\n\n+/).filter(Boolean),i=a?.contact_whatsapp||"601120752435",l=encodeURIComponent("Hello Highway Car Rental, I am planning a road trip and would like to enquire about a suitable rental vehicle.");return m.useEffect(()=>{document.title=`${r} | Highway Car Rental`},[r]),e.jsx("main",{className:"bg-background pb-16 pt-28 md:pt-32",children:e.jsxs("article",{className:"container mx-auto max-w-[1100px] px-6 lg:px-8",children:[e.jsxs(n,{href:"/stories",className:"mb-6 inline-flex items-center gap-2 text-sm font-bold text-primary hover:underline",children:[e.jsx(x,{className:"h-4 w-4"})," Back to Stories"]}),e.jsxs("header",{className:"overflow-hidden rounded-[2rem] border border-border bg-white shadow-sm",children:[e.jsxs("div",{className:"p-8 md:p-11 lg:px-14 lg:py-12",children:[e.jsx("p",{className:"mb-4 text-[11px] font-bold uppercase tracking-[0.2em] text-primary",children:"Customer Story"}),e.jsx("h1",{className:"max-w-4xl font-serif text-4xl font-bold leading-[1.08] tracking-tight text-foreground md:text-5xl",children:r}),e.jsx("p",{className:"mt-5 text-lg font-bold text-foreground",children:t?.customer||"Our Customer"}),e.jsxs("div",{className:"mt-6 flex flex-col gap-3 text-sm font-semibold text-muted-foreground sm:flex-row sm:gap-8",children:[e.jsxs("p",{className:"flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4 text-primary"})," ",t?.vehicle||"Hyundai Starex"]}),e.jsxs("p",{className:"flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4 text-primary"})," ",t?.journey||"KLIA · Kuala Lumpur · Melaka"]})]})]}),e.jsx("div",{className:"bg-muted px-4 py-6 sm:px-8 sm:py-8",children:e.jsx("img",{src:t?.imageUrl||"/images/customer-story-hyundai-starex-road-trip.png",alt:t?.imageAlt||"Customer standing beside a black Hyundai Starex",className:"mx-auto aspect-[3/4] w-full max-w-[480px] rounded-2xl object-cover object-center shadow-sm"})})]}),e.jsxs("div",{className:"mx-auto mt-8 max-w-[850px] rounded-[2rem] border border-border bg-white p-9 shadow-sm md:p-14",children:[e.jsx("p",{className:"mb-7 text-[11px] font-bold uppercase tracking-[0.2em] text-primary",children:"Road Trip"}),e.jsx("div",{className:"space-y-6 text-[17px] leading-8 text-muted-foreground md:text-xl md:leading-9",children:(s.length?s:["Our customer from Sabah flew into KLIA before renting a Hyundai Starex for their time in Kuala Lumpur and Melaka.","With its spacious interior and comfortable seating, the Starex was a practical choice for travelling with family and friends."]).map(o=>e.jsx("p",{children:o},o))})]}),e.jsxs("section",{className:"mx-auto mt-8 flex max-w-[850px] flex-col gap-6 rounded-[2rem] border border-border bg-white p-8 shadow-sm md:flex-row md:items-center md:justify-between md:p-10",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"font-serif text-2xl font-bold text-foreground",children:"Planning a road trip?"}),e.jsx("p",{className:"mt-2 text-base text-muted-foreground",children:"Find a vehicle that fits your journey."})]}),e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[e.jsx(n,{href:"/vehicles",className:"inline-flex h-12 items-center justify-center rounded-lg border border-primary px-6 text-[13px] font-bold text-primary transition-colors hover:bg-primary/5",children:"BROWSE VEHICLES"}),e.jsxs("a",{href:`https://wa.me/${i}?text=${l}`,target:"_blank",rel:"noreferrer",className:"inline-flex h-12 items-center justify-center gap-2 rounded-lg bg-primary px-6 text-[13px] font-bold text-primary-foreground transition-colors hover:bg-primary/90",children:[e.jsx(c,{className:"h-4 w-4"})," SEND RENTAL INQUIRY"]})]})]})]})})}export{w as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.