PageSourceSearch

https://www.getdreams.com/assets/index-DB-KQZVU.js

js getdreams.com collected 2026-09-24 17:48:55 UTC 11,388 bytes, 1 lines download raw bytes

1import{Q as y,j as e,S as I,r as l,H as L,P as _,A as z,c as A,d as w,v as D,L as T,e as R,G as E,g as r}from"./index-C_mGSTKx.js";import{T as P,P as V}from"./TrustBar-ePi61E-q.js";import{D as B}from"./DreamsCounter-Cx139bWX.js";const c=[176,264,352],C=r("image-5dc795de890fb2e5aa847b04faa7480325d9a663-1024x1024-png",c),H=r("image-d45110dccc0975f683dbefa3e7a6fa117ea9ff95-192x192-png",c),q=r("image-9cbefab422be53ef4dad37492ba721dbe0cfccd9-192x192-png",c),m=[360,540,720,1040],o="(min-width: 1024px) 520px, (min-width: 768px) 460px, 360px",k=r("image-4a25fccc9dbbc4b9be929d5cacfea4477af408f9-946x1096-png",m),b=r("image-723461869bd4afab961353bcde43c6f31f32bbda-946x1096-png",m),N=r("image-3e20590ba13b81ee8cb401ec4ad8956cac636e2b-946x1096-png",m),F={spara:"Spara",lana:"Låna",investera:"Investera"};function W(){const{page:n}=y.useLoaderData();return n?.pageBuilderV2?.length?e.jsx(I,{sections:n.pageBuilderV2,locale:"sv"}):e.jsx(O,{})}function O(){const{articles:n,page:p}=y.useLoaderData(),x=p?.relatedArticles??[],g=x.length>0?x:n,[S,f]=l.useState(!1),[U,h]=l.useState(!1),v=l.useRef(null);return l.useEffect(()=>{if(typeof window>"u")return;const a=new URLSearchParams(window.location.search);if(a.get("get-app")==="1"){f(!0),a.delete("get-app");const t=a.toString(),s=window.location.pathname+(t?`?${t}`:"")+window.location.hash;window.history.replaceState({},"",s)}},[]),l.useEffect(()=>{if(typeof window>"u")return;const a=window.matchMedia("(max-width: 767px)").matches,t=i=>{const d=window;typeof d.Intercom=="function"&&d.Intercom("update",{hide_default_launcher:i})};t(!!a);let s=0;const u=window.setInterval(()=>{s+=1,a&&t(!0),s>10&&window.clearInterval(u)},300),j=()=>{const i=v.current,d=i?i.getBoundingClientRect().top<=window.innerHeight:window.scrollY>200;window.scrollY<=10?(h(!1),a&&t(!0)):d&&(h(!0),a&&t(!1))};return window.addEventListener("scroll",j,{passive:!0}),()=>{window.removeEventListener("scroll",j),window.clearInterval(u),a&&t(!1)}},[]),e.jsxs(e.Fragment,{children:[e.jsx(L,{title:e.jsx(e.Fragment,{children:"Vad drömmer du om?"}),titleClassName:"type-display-2",body:"Dreams hjälper dig spara, investera och samla lån så att du enkelt kan förverkliga alla dina drömmar.",ctaSlot:e.jsx(z,{locale:"sv",ctaId:"home_sv_hero",ctaLocation:"hero",children:e.jsx(A,{ctaId:"home_sv_hero",ctaLocation:"hero",children:"Ladda ner appen"})}),visual:e.jsx("div",{className:"flex w-full justify-center",children:e.jsx(_,{})})}),e.jsx("div",{ref:v,children:e.jsx(P,{locale:"sv"})}),e.jsx("section",{"data-header-theme":"dark",className:"bg-[var(--color-ink)] py-1200 text-[var(--color-paper)] md:py-1600",children:e.jsx("div",{className:"container-edit",children:e.jsx(V,{items:[{to:"/sv/spara",title:"Spara",stat:"+1500kr mer i genomsnitt",blurb:"Automatiska sparknep gör det kul och enkelt att spara mer än du tror"},{to:"/sv/lana",title:"Samla lån",stat:"93% har fått mer koll",blurb:"Appen ger bättre översikt och stöttar dig att bli skuldfri tidigare"},{to:"/sv/investera",title:"Investera",stat:"Enkelt med ISK",blurb:"Smidigt fondsparande hjälper dig uppfylla både små och stora drömmar"}]})})}),e.jsx("section",{className:"relative w-full overflow-hidden",style:{background:"#f6d147"},"aria-label":"Investera på autopilot",children:e.jsx("div",{className:"container-edit relative flex min-h-[560px] items-center py-800 lg:min-h-[672px] lg:h-[672px] lg:py-0",children:e.jsxs("div",{className:"grid w-full items-center gap-400 lg:grid-cols-2 lg:gap-1200",children:[e.jsx("div",{className:"order-2 flex justify-center lg:order-1 lg:justify-start",children:e.jsx("img",{src:k.src,srcSet:k.srcSet,sizes:o,alt:"Tre dröm-kort med bilder mot gul bakgrund",loading:"lazy",className:"block h-auto w-full max-w-[360px] object-contain md:max-w-[460px] lg:max-w-[520px]"})}),e.jsxs("div",{className:"order-1 text-[var(--color-ink)] lg:order-2",children:[e.jsxs("h2",{className:"font-display leading-[1.05] tracking-tight",style:{fontSize:"clamp(48px, 11vw, 71px)"},children:["Investera på",e.jsx("br",{}),"autopilot"]}),e.jsx("p",{className:"mt-500 max-w-md leading-relaxed md:mt-600",
1style:{fontSize:"clamp(16px, 4.2vw, 20px)"},children:"Vi hjälper dig spara, och investerar dina pengar enkelt och säkert."}),e.jsx("div",{className:"mt-600 md:mt-700",children:e.jsx(w,{href:"/sv/investera",variant:"outline-dark",ctaId:"home_sv_investera_card",ctaLocation:"product_card",children:"Läs mer"})})]})]})})}),e.jsx("section",{className:"relative w-full overflow-hidden",style:{background:"#a8c8f9"},"aria-label":"Så funkar det",children:e.jsx("div",{className:"container-edit relative flex min-h-[560px] items-center py-800 lg:min-h-[672px] lg:h-[672px] lg:py-0",children:e.jsxs("div",{className:"grid w-full items-center gap-400 lg:grid-cols-2 lg:gap-1200",children:[e.jsxs("div",{className:"text-[var(--color-ink)] lg:order-1",children:[e.jsx("h2",{className:"font-display leading-[1.05] tracking-tight",style:{fontSize:"clamp(48px, 11vw, 71px)"},children:"Så funkar det"}),e.jsx("p",{className:"mt-500 max-w-md leading-relaxed md:mt-600",style:{fontSize:"clamp(16px, 4.2vw, 20px)"},children:"Varje gång du sparar eller betalar av, dras pengarna automatiskt från din bank till ditt Dreamskonto. Pengarna förvaras tryggt av vår partner Svea Bank, med insättningsgaranti."})]}),e.jsx("div",{className:"flex justify-center lg:order-2 lg:justify-end",children:e.jsx("img",{src:b.src,srcSet:b.srcSet,sizes:o,alt:"Illustration: pengar flyttas från din bank via Dreams till Svea Bank",loading:"lazy",className:"block h-auto w-full max-w-[360px] object-contain md:max-w-[460px] lg:max-w-[520px]"})})]})})}),e.jsx("section",{className:"relative w-full overflow-hidden",style:{background:"#fdc4e3"},"aria-label":"Upplev Dreamseffekten",children:e.jsx("div",{className:"container-edit relative flex min-h-[560px] items-center py-1200 lg:min-h-[672px] lg:h-[672px] lg:py-0",children:e.jsxs("div",{className:"grid w-full items-center gap-800 lg:grid-cols-2 lg:gap-1200",children:[e.jsx("div",{className:"order-2 flex justify-center lg:order-1 lg:justify-start",children:e.jsx("img",{src:N.src,srcSet:N.srcSet,sizes:o,alt:"Två citatkort från Dreams-användare med mynt som regnar ner",loading:"lazy",className:"block h-auto w-full max-w-[360px] object-contain md:max-w-[460px] lg:max-w-[520px]"})}),e.jsxs("div",{className:"order-1 text-[var(--color-ink)] lg:order-2",children:[e.jsxs("h2",{className:"font-display leading-[1.05] tracking-tight",style:{fontSize:"clamp(48px, 11vw, 71px)"},children:["Upplev",e.jsx("br",{}),"Dreamseffekten"]}),e.jsx("p",{className:"mt-500 max-w-md leading-relaxed md:mt-600",style:{fontSize:"clamp(16px, 4.2vw, 20px)"},children:"Våra användare sparar i snitt 1 500 kronor mer varje månad. Sedan starten har ni sparat ihop över 12 miljarder och skapat över en miljon drömmar."})]})]})})}),e.jsx("section",{className:"bg-[var(--color-paper-soft)] py-1600 md:py-2400","aria-label":"Vad våra kunder säger",children:e.jsxs("div",{className:"container-edit",children:[e.jsxs("div",{className:"flex flex-col gap-700 md:flex-row md:items-end md:justify-between md:gap-1000",children:[e.jsxs("div",{className:"max-w-2xl",children:[e.jsx("h2",{className:"font-display leading-[1.05] tracking-tight text-[var(--color-ink)]",style:{fontSize:"clamp(40px, 8vw, 60px)"},children:"Älskad kundtjänst"}),e.jsx("p",{className:"mt-500 max-w-md leading-relaxed text-[var(--color-ink-soft)]",style:{fontSize:"clamp(16px, 4.2vw, 20px)"},children:"Riktiga ord från riktiga kunder om vårt supportteam."})]}),e.jsx("ul",{className:"flex items-start gap-500 md:gap-600",children:[{name:"Filippa",avatar:H,scale:1.35},{name:"Lizette",avatar:q,scale:1},{name:"Johanna",avatar:C,scale:1}].map(a=>e.jsxs("li",{className:"flex flex-col items-center gap-200",children:[e.jsx("span",{className:"block h-[72px] w-[72px] overflow-hidden rounded-full ring-4 ring-[var(--color-paper-soft)] md:h-[88px] md:w-[88px]",children:e.jsx("img",{src:a.avatar.src,srcSet:a.avatar.srcSet,sizes:"88px",alt:a.name,loading:"lazy",decoding:"async",className:"h-full w-full object-cover",style:{transform:`scale(${a.scale})`,transformOrigin:"center"}})}),e.jsx("span",{className:"text-xs font-medium text-[var(--color-ink)] md:text-sm",children:a.name})]},a.name))})]}),e.jsx("ul",{className:"mt-1000 grid gap-600 md:mt-1200 md:grid-cols-3 md:gap-700",children:[{quote:"Fick hjälp direkt, fantastisk support, agerade fort och var väldigt förstående över min oro för pengarna. Väldigt professionell och kunnig i sitt jobb 💐",meta:"1 år sedan"},{quote:"De var tålmodiga, förstående och väldigt engagerade. Jag kände mig väldigt omhändertagen som kund.",meta:"10 månader sedan"},{quote:"Alltid så fantastisk fin respons man får här på Dreams 🌟",meta:"2 dagar sedan"}].map((a,t)=>e.jsxs("li",{className:"flex h-full flex-col rounded-500 bg-[var(--color-paper)] p-700 shadow-[0_1px_2px_rgba(0,0,0,0.04)]",children:[e.jsx("p",{className:"text-md leading-relaxed text-[var(--color-ink)] md:text-lg",children:a.quote}),e.jsx("div",{className:"mt-500 flex items-center gap-300",children:e.jsx("span",{className:"text-xs text-[var(--color-ink-soft)]",children:a.meta})})]},t))})]})}),e.jsx("section",{"data-header-theme":"dark",className:"bg-[var(--color-ink)] py-1600 text-[var(--color-paper)] md:py-2400",children:e.jsxs("div",{className:"container-edit",children:[e.jsxs("div",{className:"flex flex-col gap-600 md:flex-row md:items-end md:justify-between md:gap-1000",children:[e.jsx("div",{children:e.jsxs("h2",{className:"font-display text-4xl tracking-tight md:text-6xl",children:["Letar du efter knep ",e.jsx("br",{className:"hidden md:block"})," som faktiskt funkar?"]})}),e.jsx("div",{className:"md:text-right",children:e.jsx(w,{href:"/sv/stories",variant:"outline-light",ctaId:"home_sv_stories_link",ctaLocation:"section_footer",children:"Alla berättelser"})})]}),g.length>0&&e.jsx("ul",{className:"mt-1000 grid gap-700 md:mt-1200 md:grid-cols-3 md:gap-800",children:g.map(a=>{const t=a.heroImage?.asset?D(a.heroImage).width(800).height(600).fit("crop").auto("format").url():null,
1s=a.pillar?F[a.pillar]??a.pillar:null;return e.jsx("li",{children:e.jsxs(T,{to:"/sv/stories/$slug",params:{slug:a.slug},className:"group flex h-full flex-col overflow-hidden rounded-500 border border-[var(--color-paper)]/15 transition-colors hover:border-[var(--color-paper)]/40",children:[t&&e.jsx("div",{className:"overflow-hidden",children:e.jsx("img",{src:t,alt:a.heroImage?.alt??"",loading:"lazy",className:"h-auto w-full object-cover transition-transform duration-500 group-hover:scale-[1.02]",style:{aspectRatio:"4 / 3"}})}),e.jsxs("div",{className:"flex flex-1 flex-col p-600 md:p-700",children:[s&&e.jsx("div",{className:"eyebrow text-[var(--color-paper)]/60",children:s}),e.jsx("h3",{className:"mt-300 font-display text-2xl tracking-tight md:text-3xl",children:a.title}),a.excerpt&&e.jsx("p",{className:"mt-300 text-sm leading-relaxed text-[var(--color-paper)]/70 md:text-base",children:a.excerpt}),e.jsx("span",{className:"mt-500 inline-flex items-center gap-200 text-sm font-medium text-[var(--color-paper)] transition-transform group-hover:translate-x-1",children:"Läs mer →"})]})]})},a._id)})})]})}),e.jsx(R,{items:p?.faqItems,heading:"Vanliga frågor"}),e.jsx(B,{}),e.jsx(E,{open:S,onClose:()=>f(!1),locale:"sv"})]})}export{W as component};

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.