PageSourceSearch

https://www.campervan4hire.com/assets/blog-post-CwWzD6h6.js

js campervan4hire.com collected 2026-10-09 23:41:08 UTC 5,339 bytes, 6 lines download raw bytes

1import{g as i}from"./blog-BPnNm30Z.js";import{m as r,b as d}from"./pageMeta-BwxCBeST.js";import{j as e}from"./index-D0EyjebO.js";import{u as x,N as m,L as l}from"./chunk-JZWAC4HX-Df8zZ7hg.js";import{c as o}from"./createLucideIcon-CIqMA-Rj.js";import{C as c}from"./clock-BmWl9d0T.js";import{m as p}from"./proxy-CLaxf6Q8.js";import{C as h}from"./compass-D2IH8eIF.js";import{M as u}from"./map-pin-Bddabp1r.js";/**
2 * @license lucide-react v0.487.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const g=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],f=o("arrow-left",g);function j({block:s}){switch(s.type){case"h2":return e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-[#362516] mt-12 mb-4 leading-tight",children:s.text});case"p":return e.jsx("p",{className:"text-[#362516]/80 leading-relaxed text-lg mb-5",children:s.text});case"ul":return e.jsx("ul",{className:"space-y-3 mb-6",children:s.items.map(t=>e.jsxs("li",{className:"flex items-start gap-3 text-[#362516]/80 text-lg leading-relaxed",children:[e.jsx("span",{className:"mt-2.5 w-1.5 h-1.5 rounded-full bg-[#FF7245] shrink-0"}),t]},t))});case"destination":return e.jsxs("div",{className:"mt-10 mb-8 bg-[#F6F5F1] rounded-3xl p-7 md:p-9 border border-black/5",children:[e.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[e.jsx("span",{className:"text-4xl md:text-5xl font-bold text-[#FF7245]/25 leading-none shrink-0",children:String(s.num).padStart(2,"0")}),e.jsxs("div",{className:"pt-1",children:[e.jsx("h3",{className:"text-xl md:text-2xl font-bold text-[#362516] leading-tight",children:s.name}),e.jsxs("span",{className:"mt-2 inline-flex items-center gap-1.5 text-[10px] font-bold tracking-widest uppercase text-[#362516]/60 bg-white px-3 py-1 rounded-full",children:[e.jsx(u,{size:12,className:"text-[#FF7245]"}),s.drive," drive"]})]})]}),s.body.map(t=>e.jsx("p",{className:"text-[#362516]/80 leading-relaxed mb-3",children:t},t)),s.listLabel&&s.items&&e.jsxs("div",{className:"mt-5",children:[e.jsx("p",{className:"text-xs font-bold tracking-widest uppercase text-[#FF7245] mb-3",children:s.listLabel}),e.jsx("div",{className:"flex flex-wrap gap-2",children:s.items.map(t=>e.jsx("span",{className:"px-3 py-1.5 rounded-lg text-xs font-medium text-[#362516] bg-white border border-black/5",children:t},t))})]}),s.footer&&e.jsx("p",{className:"mt-5 text-[#362516] font-semibold",children:s.footer})]});default:return null}}function B(){const{slug:s}=x(),t=s?i(s):void 0;return t?e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsxs("section",{className:"relative pt-28 md:pt-32",children:[e.jsxs("div",{className:"max-w-4xl mx-auto px-4",children:[e.jsxs(l,{to:"/blog",className:"inline-flex items-center gap-2 text-xs font-bold tracking-widest uppercase text-[#362516]/60 hover:text-[#FF7245] transition-colors mb-8",children:[e.jsx(f,{size:15}),"The journal"]}),e.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[e.jsx("span",{className:"text-[10px] font-bold tracking-widest uppercase text-[#FF7245] bg-[#FF7245]/10 px-3 py-1 rounded-full",children:t.category}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-[10px] font-bold tracking-widest uppercase text-[#362516]/50",children:[e.jsx(c,{size:13,className:"text-[#FF7245]"}),t.readTime]})]}),e.jsx("h1",{className:"text-3xl md:text-5xl font-bold text-[#362516] leading-[1.1] mb-4",children:t.title}),e.jsxs("p",{className:"text-sm text-[#362516]/60 mb-8",children:["By ",t.author," ·"," ",e.jsx("time",{dateTime:t.published,children:new Date(t.published).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric",timeZone:"UTC"})})]})]}),e.jsx("div",{className:"max-w-5xl mx-auto px-4",children:e.jsx("div",{className:"overflow-hidden rounded-tl-3xl rounded-tr-sm rounded-br-3xl rounded-bl-sm shadow-lg",children:e.jsx("img",{src:t.heroImage,alt:t.title,fetchPriority:"high",className:"w-full h-64 md:h-[26rem] object-cover"})})})]}),e.jsx(p.article,{initial:{y:20},animate:{y:0},transition:{duration:.5},className:"max-w-3xl mx-auto px-4 py-14 md:py-20",children:t.blocks.map((a,n)=>e.jsx(j,{block:a},n))}),e.jsx("section",{className:"px-4 pb-24",children:e.jsxs("div",{className:"max-w-5xl mx-auto rounded-3xl bg-[#362516] px-8 md:px-14 py-14 text-center",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-[#F6F5F1] mb-4 leading-tight",children:"Ready to start your own adventure?"}),e.jsx("p",{className:"text-[#F6F5F1]/70 max-w-xl mx-auto mb-8 leading-relaxed",children:"Browse our handcrafted campervans, check live availability and start planning your next road trip today."}),e.jsxs(l,{to:"/hire",className:"inline-flex items-center justify-center px-10 py-4 bg-[#FF7245] text-white text-sm font-bold tracking-widest uppercase rounded-tl-2xl rounded-tr-sm rounded-br-2xl rounded-bl-sm hover:scale-105 transition-transform shadow-md",children:[e.jsx(h,{size:18,className:"mr-2"}),"Hire a camper"]})]})})]}):e.jsx(m,{to:"/blog",replace:!0})}const C=({location:s,params:t})=>{const a=t.slug?i(t.slug):void 0;return a?r(s.pathname,d({path:`/blog/${a.slug}
6`,title:a.title,description:a.excerpt,image:a.heroImage,author:a.author,published:a.published})):r(s.pathname)};export{B as default,C as meta};

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.