PageSourceSearch

https://aryk.fr/build/assets/Hero--vt341dS.js

js aryk.fr collected 2026-10-08 18:33:21 UTC 2,160 bytes, 1 lines download raw bytes

1import{r as o,j as e}from"./app-D7bY3VIr.js";import x from"./PrimaryButton-BEsfaPUo.js";import d from"./HeroRobot-CYdIH9Fl.js";import{u as g}from"./useTranslation-tvhqZ2qh.js";function w(){const{t}=g(),r=o.useRef(null),[l,a]=o.useState(0);return o.useEffect(()=>{const s=()=>{const i=window.scrollY||window.pageYOffset||0,n=window.innerHeight||document.documentElement.clientHeight||1,c=i/n,m=Math.min(1,Math.max(0,c));a(m)};return s(),window.addEventListener("scroll",s,{passive:!0}),()=>{window.removeEventListener("scroll",s)}},[]),e.jsxs("div",{ref:r,className:"relative h-screen w-full bg-blue-500 flex items-center justify-center overflow-hidden",children:[e.jsx("video",{className:"absolute z-0 inset-0 w-full h-full object-cover",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:e.jsx("source",{src:"/storage/assets/hero.mp4",type:"video/mp4"})}),e.jsx("div",{className:"absolute z-0 inset-0 bg-gradient-to-r from-gray-900/95 via-gray-900/90 to-gray-900/80 md:from-gray-900 md:via-gray-900/80 md:to-gray-900/75"}),e.jsxs("div",{className:"container mx-auto grid grid-cols-1 md:grid-cols-2 gap-8",children:[e.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 text-left flex flex-col justify-center",children:[e.jsxs("h2",{className:"text-white text-2xl sm:text-5xl md:text-6xl font-bold mb-6 leading-tight [text-shadow:0_2px_12px_rgba(0,0,0,0.9),0_0_40px_rgba(0,0,0,0.6)]",children:[t("common.hero.title"),e.jsx("br",{}),e.jsx("span",{className:"text-indigo-300 md:text-indigo-500 font-bold [text-shadow:0_2px_8px_rgba(0,0,0,0.95)]",children:t("common.hero.subtitle")})]}),e.jsxs("p",{className:"text-white text-md sm:text-xl md:text-2xl mb-8 leading-relaxed max-w-2xl mx-auto [text-shadow:0_1px_6px_rgba(0,0,0,0.9)]",children:[t("common.hero.description1"),e.jsx("br",{}),t("common.hero.description2")]}),e.jsx("div",{className:"flex items-center justify-start gap-4",children:e.jsx(x,{className:"px-8 py-4 text-base bg-indigo-500 hover:bg-indigo-600",children:t("common.hero.cta")})})]}),e.jsx("div",{className:"flex flex-col items-center justify-center",children:e.jsx(d,{containerRef:r,scrollProgress:l})})]})]})}export{w 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.