PageSourceSearch

https://thetravelconsultant.vercel.app/_nuxt/DWyhs2tn.js

js thetravelconsultant.vercel.app collected 2026-10-03 07:53:12 UTC 4,755 bytes, 1 lines download raw bytes

1import{_ as A}from"./C9i9YQXo.js";import{_ as B}from"./CD4ztpId.js";import{_ as L}from"./BbgUwqB5.js";import{u as G,a as N,h as V,f as I}from"./Dq9c0wCC.js";import{f as P,u as R,D as $,g as j,h as U,c as r,a as t,F as g,l as y,b as i,i as o,j as D,w as u,k as M,n as z,r as F,e as n,o as a,t as T,d as H,s as O,_ as Y}from"./DHH4uiu3.js";import{u as Z}from"./CAyp0gSe.js";import{u as q}from"./2UjmmqtT.js";import{u as J}from"./BNn3X1Kx.js";import{a as K}from"./Db-OoRLQ.js";import"./CEIujGY2.js";import"./7pSshgDs.js";const Q={class:"tips-hero"},W={class:"tips-hero__pattern","aria-hidden":"true"},X={class:"tips-section"},tt={class:"tips-container"},et={key:0,class:"tips-loading"},st={key:1,class:"tips-error"},ot={key:2,class:"tips-grid"},at={class:"tip-content"},rt={class:"cta-section"},it={class:"tips-container"},nt={class:"cta-box"},lt=P({__name:"index",async setup(pt){let v,_;const w=R(),b=O();[v,_]=$(()=>Z("showTipsAndGuides")),await v,_();const x=q(),C=n(()=>({contact:x.data.value?.showContact!==!1})),l=J(),c=n(()=>l.data.value.entries||[]),f=n(()=>[{name:"Home",path:"/"},{name:"Travel Tips",path:"/travel-tips/"}]),h=F(!1);K({title:"Travel Tips & Advice | The Travel Consult",description:"Expert travel tips, advice, and guides to help you travel smarter, safer, and more confidently.",ogTitle:"Travel Tips & Advice | The Travel Consult",ogDescription:"Expert travel tips, advice, and guides to help you travel smarter, safer, and more confidently.",ogImage:n(()=>c.value[0]?.image||"/images/og-default.jpg"),twitterCard:"summary_large_image"}),G("/travel-tips/"),N(n(()=>{const p=b.public.siteUrl||"https://thetravelconsult.com",e=c.value[0]?.image||"";return[V({siteUrl:p,path:"/travel-tips/",name:"Travel Tips & Advice | The Travel Consult",description:"Expert travel tips, advice, and guides to help you travel smarter, safer, and more confidently.",image:e}),I(f.value,p)]}),"travel-tips-schema");function k(){window.scrollTo({top:0,behavior:"smooth"})}function m(){h.value=window.scrollY>300}return j(()=>{m(),window.addEventListener("scroll",m,{passive:!0})}),U(()=>{window.removeEventListener("scroll",m)}),(p,e)=>{const S=A,E=B,d=L;return a(),r("div",{key:o(w).path,class:"travel-tips-page"},[t("section",Q,[e[1]||(e[1]=t("div",{class:"tips-hero__aurora"},null,-1)),t("div",W,[(a(),r(g,null,y(8,s=>t("span",{key:s})),64))]),e[2]||(e[2]=t("div",{class:"tips-hero__wave","aria-hidden":"true"},[t("svg",{viewBox:"0 0 1200 40",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M0,20 C300,38 600,5 900,22 C1050,32 1150,14 1200,20 L1200,40 L0,40 Z",fill:"#f5f5f5"})])],-1)),i(S,{items:o(f),absolute:""},null,8,["items"]),e[3]||(e[3]=t("div",{class:"tips-hero__content"},[t("h1",null,"Travel Tips & Advice"),t("p",null,"Expert guidance to help you travel smarter, safer, and more confidently — from preparation to return.")],-1))]),t("section",X,[t("div",tt,[e[7]||(e[7]=t("h2",{class:"section-title"},"Essential Travel Guides",-1)),e[8]||(e[8]=t("p",{class:"section-subtitle"},"Curated advice for every type of traveler and journey.",-1)),o(l).pending.value?(a(),r("div",et,[...e[4]||(e[4]=[t("div",{class:"loading-spinner"},null,-1),t("p",null,"Loading travel tips...",-1)])])):o(l).error.value?(a(),r("div",st,[e[5]||(e[5]=t("p",null,"Unable to load travel tips. Please try again later.",-1)),t("button",{class:"btn-primary",onClick:e[0]||(e[0]=s=>o(l).refresh())},"Retry")])):(a(),r("div",ot,[(a(!0),r(g,null,y(o(c),s=>(a(),r("article",{key:s.slug,class:"tip-card"},[i(d,{to:`/${s.slug}/`,class:"tip-image-wrap"},{default:u(()=>[i(E,{src:s.banner?.image||s.image||"https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?w=800&h=500&fit=crop",alt:s.title,preset:"card"},null,8,["src","alt"])]),_:2},1032,["to"]),t("div",at,[i(d,{to:`/${s.slug}/`,class:"tip-title-link"},{default:u(()=>[t("h3",null,T(s.hero?.title||s.title),1)]),_:2},1032,["to"]),t("p",null,T(s.hero?.subtitle||s.excerpt||"Expert travel advice and tips for your next journey."),1),i(d,{to:`/${s.slug}/`,class:"tip-link"},{default:u(()=>[...e[6]||(e[6]=[H(" Read Guide → ",-1)])]),_:1},8,["to"])])]))),128))]))])]),t("section",rt,[t("div",it,[t("div",nt,[e[10]||(e[10]=t("h2",null,"Need Personalized Travel Advice?",-1)),e[11]||(e[11]=t("p",null,"Our travel consultants are ready to help you plan the perfect trip with expert recommendations tailored to your needs.",-1)),o(C).contact?(a(),D(d,{key:0,to:"/contact/",class:"btn btn-primary"},{default:u(()=>[...e[9]||(e[9]=[t("span",null,"Get in Touch",-1)])]),_:1})):M("",!0)])])]),t("button",{class:z(["tips-scroll-top",{"is-visible":o(h)}]),type:"button","aria-label":"Scroll to top",onClick:k}," ↑ ",2)])}}}),wt=Y(lt,[["__scopeId","data-v-710951c9"]]);export{wt 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.