PageSourceSearch

https://laravel.com/build/assets/page-Yj2ARcRL.js

js laravel.com collected 2026-09-24 08:24:47 UTC 6,429 bytes, 2 lines download raw bytes

1import{j as e,L as a,u as i}from"./inertia-Dfj01zwH.js";import{D as n}from"./default-layout-CmMk04BW.js";import{P as d}from"./cn-C_8-Aw06.js";import"./index-BVvBGSus.js";import"./default-favicon-BfU9MQjQ.js";import"./form-consent-BEoM_t2W.js";const x={0:["Build a fully functional Laravel application","Learn Laravel fundamentals step by step","Understand routing, controllers, and views","Master database interactions with Eloquent"],1:["Perfect if you're new to PHP or need a refresher","Learn the PHP core in clear, bite-size lessons","Build confidence before diving into Laravel","Quick, practical examples you can follow along"]};function o({course:t,index:s}){const l=t.features.length>0?t.features:x[s]??[];return e.jsxs("div",{className:"relative flex min-h-[520px] w-full flex-col gap-8 lg:flex-row lg:gap-20",children:[e.jsx("div",{className:"relative z-10 flex w-full flex-shrink-0 items-start justify-start gap-8 lg:max-w-[618px] lg:items-center lg:gap-20 lg:pt-10",children:e.jsxs("div",{className:"flex max-w-full flex-1 flex-col items-start justify-start gap-8 lg:max-w-[628px] lg:gap-12",children:[e.jsxs("div",{className:"flex flex-col items-start justify-start gap-6 self-stretch lg:gap-10",children:[e.jsxs("div",{className:"flex flex-col items-start justify-start gap-4 self-stretch",children:[e.jsx(a,{href:`/learn/${t.slug}`,className:"justify-start text-3xl leading-8 font-normal text-pretty text-sand-dark-12 lg:text-4xl lg:leading-[52px]",prefetch:"hover",children:t.name}),e.jsxs("div",{className:"flex items-start justify-start gap-3",children:[e.jsxs("div",{className:"flex items-center justify-start gap-2",children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M15.4173 4.58317H17.9173V15.4165H15.4173M4.58398 15.4165H2.08398V4.58317H4.58398M4.58398 2.9165H15.4173V17.0832H4.58398V2.9165Z",stroke:"#F53003",strokeLinecap:"square"})}),e.jsxs("div",{className:"text-sm leading-tight font-normal text-sand-dark-11",children:[t.lesson_count," lessons"]})]}),e.jsxs("div",{className:"flex items-center justify-start gap-2",children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M10.0007 6.25016V10.0002L12.5007 12.5002M17.9173 10.0002C17.9173 14.3724 14.3729 17.9168 10.0007 17.9168C5.6284 17.9168 2.08398 14.3724 2.08398 10.0002C2.08398 5.62791 5.6284 2.0835 10.0007 2.0835C14.3729 2.0835 17.9173 5.62791 17.9173 10.0002Z",stroke:"#F53003",strokeLinecap:"square",strokeLinejoin:"round"})}),e.jsxs("div",{className:"text-sm leading-tight font-normal text-sand-dark-11",children:[t.total_duration," min"]})]})]})]}),e.jsx("div",{className:"w-full max-w-[481px] text-base leading-normal font-normal text-pretty text-sand-dark-11",children:t.description}),e.jsx("div",{className:"flex flex-col items-start justify-start gap-4 self-stretch",children:l.map(r=>e.jsxs("div",{className:"flex items-start justify-start gap-4 self-stretch lg:gap-5",children:[e.jsx("div",{className:"relative flex h-6 w-6 flex-shrink-0 items-center justify-center overflow-hidden",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",children:e.jsx("path",{d:"M2 7.46574L5.37838 10.2529L12 1.33398",stroke:"#F53003",strokeWidth:"1.5",strokeLinecap:"square"})})}),e.jsx("div",{className:"flex flex-1 flex-col items-start justify-center gap-2 pr-2 lg:pr-4",children:e.jsx("div",{className:"w-full text-base leading-normal font-normal text-pretty text-sand-dark-11",children:r})})]},r))})]}),e.jsxs(a,{href:`/learn/${t.slug}`,className:"mt-6 flex h-10 w-full max-w-80 min-w-60 items-center justify-center gap-2 rounded-sm border border-sand-dark-4 bg-sand-dark-4 py-2 pr-3 pl-4 transition-all hover:border-sand-dark-5 hover:bg-sand-dark-3 lg:mt-0 lg:w-60 lg:bg-sand-dark-2",prefetch:"hover",children:[e.jsx("div",{className:"flex-1 items-center text-sm leading-tight font-normal text-sand-dark-12",children:"Get started"}),e.jsx("svg",{className:"mr-1 stroke-sand-dark-10 lg:stroke-sand-dark-8",xmlns:"http://www.w3.org/2000/svg",width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",children:e.jsx("path",{d:"M1.33398 8.33317L4.66732 4.99984L1.33398 1.666
15",strokeWidth:"1.5",strokeLinecap:"square"})})]})]})}),e.jsx("div",{className:"relative order-first w-full min-w-0 overflow-hidden rounded lg:absolute lg:top-0 lg:right-0 lg:order-last lg:h-full lg:max-w-[739px] lg:flex-1",children:t.image_url&&e.jsx(a,{href:`/learn/${t.slug}`,"aria-label":`View ${t.name}`,title:`View ${t.name}`,className:"block h-full w-full transition-opacity hover:opacity-95",children:e.jsx("img",{className:"h-full w-full object-cover lg:mask-l-from-sand-dark-1 lg:mask-l-from-50% lg:mask-l-to-transparent lg:mask-l-to-70% xl:mask-none",src:t.image_url,alt:t.name})})})]})}function c(){const{courses:t}=i().props;return e.jsxs(e.Fragment,{children:[e.jsx(d,{title:"Learn",canonical:"learn"}),e.jsx("main",{children:e.jsx("div",{className:"container",children:e.jsxs("div",{className:"learn-page-no-border pb-24 lg:pb-30",children:[e.jsx("div",{className:"flex w-full max-w-[946px] flex-col items-start justify-start gap-8 pt-12 pb-20 lg:pb-30",children:e.jsxs("div",{className:"flex flex-col items-start justify-start gap-4",children:[e.jsx("h1",{className:"max-w-4xl text-4xl leading-12 font-normal text-pretty text-sand-dark-12 lg:text-[64px] lg:leading-[76.80px]",children:"Kickstart your journey with two mini video courses"}),e.jsx("div",{className:"w-full max-w-md justify-start text-base leading-normal font-normal text-pretty text-sand-dark-11",children:"Bite-sized lessons. Real-world projects. All in one place."})]})}),e.jsx("div",{className:"flex w-full max-w-7xl flex-col items-start justify-start gap-20",children:t.length>0?t.slice(0,2).map((s,l)=>e.jsxs("div",{className:"w-full",children:[e.jsx(o,{course:s,index:l}),l===0&&t.length>1&&e.jsx("div",{className:"mt-20 flex flex-col items-start justify-start gap-2 self-stretch pr-6",children:e.jsx("div",{className:"h-0 self-stretch border-t border-sand-dark-4"})})]},s.id)):e.jsx("div",{className:"w-full py-20 text-center",children:e.jsx("p",{className:"text-lg text-sand-dark-11",children:"No courses available at the moment. Check back soon!"})})})]})})})]})}c.layout=t=>e.jsx(n,{children:t});export{c as default};
2//# sourceMappingURL=page-Yj2ARcRL.js.map

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.