import{f as v,s as S,j as o,c as p,b as a,w as l,a as e,t as u,g as n,F as y,r as A,h as w,i as T,H as L,o as i,d as P,T as R}from"./entry.e017eb4f.js";import{_ as j}from"./Image.e40f281f.js";import{_ as B}from"./nuxt-link.0da3f327.js";import{_ as I}from"./List.6437a01d.js";import{u as N}from"./fetch.f410fe8a.js";import"./_plugin-vue_export-helper.c27b6911.js";import"./ShoppingBagIcon.938b35df.js";const C={class:"bg-white pb-8 lg:pb-16"},E={class:"mx-auto max-w-7xl overflow-hidden py-4 px-4 sm:py-8 sm:px-6 lg:px-8"},F={class:"border-b border-gray-200 pb-6 mb-6 lg:pb-10 lg:mb-12"},U=e("h1",{class:"text-4xl font-bold tracking-tight text-gray-900"}," Solis Traktoren Übersicht ",-1),D={class:"mt-4 text-base text-gray-500"},H={class:"mt-6 grid grid-cols-2 gap-3 text-center lg:grid-cols-4"},M={class:"font-semibold mt-2"},$={__name:"index",async setup(O){let s,c;const{data:r}=([s,c]=v(()=>N(o().public.API_URL+"/api/vehicles","$0Bjh5d4JJg")),s=await s,c(),s);r||S("Seite nicht gefunden");const g=[{name:"Kompakt Serie",url:"/modelle/kompakt-serie",image:o().public.API_URL+"/storage/vehicles/KnTOnSCN3CYAYffoowiSnBaT5gvEOyM8AOpRcn2t.jpg"},{name:"Limited Edition",url:"/modelle/limited-edition",image:o().public.API_URL+"/storage/vehicles/ADqdPaPe7rajEBr6d0R5xPuI3WgTXTkhW1vGKtbr.jpg"},{name:"Farm Serie",url:"/modelle/farm-serie",image:o().public.API_URL+"/storage/vehicles/mg4muNk8rlFxY70f1X0b21kuH6aDnE20lc60zvdD.jpg"},{name:"Schmalspur Serie",url:"/modelle/schmalspur-serie",image:o().public.API_URL+"/storage/vehicles/bgAGJAMm7Az8d8kFlSROkZMB27SQ9M3QHUax5910.jpg"}];return(V,J)=>{var m,d,_;const h=R,b=L,f=j,x=B,k=I;return i(),p("div",C,[a(b,null,{default:l(()=>[a(h,null,{default:l(()=>[P("Traktoren Übersicht | Solis")]),_:1})]),_:1}),e("div",E,[e("div",F,[U,e("p",D," Durchstöbern Sie alle "+u(((d=(m=n(r))==null?void 0:m.vehicles)==null?void 0:d.length)||0)+" Modelle unserer Solis Traktoren. ",1),e("div",H,[(i(),p(y,null,A(g,t=>a(x,{key:t.name,href:t.url,class:"block group overflow-hidden rounded-lg"},{default:l(()=>[a(f,{src:t.image,alt:t.name,class:"block w-full rounded-lg bg-gray-100 object-cover transform group-hover:scale-95 transition duration-300 ease-in-out"},null,8,["src","alt"]),e("div",M,u(t.name),1)]),_:2},1032,["href"])),64))])]),(_=n(r))!=null&&_.vehicles?(i(),w(k,{key:0,products:n(r).vehicles,sortable:""},null,8,["products"])):T("",!0)])])}}};export{$ as default};