import{j as e}from"./query-DJMphkOq.js";import{a as n}from"./icons-B6XnNDpJ.js";import{u as h}from"./index-BaQQEgxi.js";import"./react-vendor-wls9bBVT.js";import"./supabase-BiHzSKx7.js";function f(){const{lang:c}=h(),a=c==="cy";return n.useEffect(()=>{document.title=a?"Porth Cwsmeriaid | CefniTech":"Customer Repair Portal | CefniTech";const o=(i,m,l=!1)=>{const d=l?`meta[property="${i}"]`:`meta[name="${i}"]`;let r=document.querySelector(d);r||(r=document.createElement("meta"),l?r.setAttribute("property",i):r.setAttribute("name",i),document.head.appendChild(r)),r.setAttribute("content",m)};o("description",a?"Gwiriwch statws eich atgyweiriad, gweld tocynnau cymorth, a rheoli eich manylion drwy borth ar-lein diogel CefniTech.":"Track your repair status, view support tickets, and manage your details through the CefniTech secure online customer portal."),o("robots","noindex, follow");let t=document.querySelector("link[rel='canonical']");t||(t=document.createElement("link"),t.rel="canonical",document.head.appendChild(t)),t.href="https://cefnitech.co.uk/customer-portal"},[a]),n.useEffect(()=>{const s=new URLSearchParams(window.location.search).get("path"),t=document.getElementById("mgrframe");t&&(t.src=s?"https://www.mygadgetrepairs.com/"+decodeURIComponent(s):"https://www.mygadgetrepairs.com/customer/?portal=2978ff70bdc1ab09")},[]),e.jsxs("div",{className:"bg-white dark:bg-gray-950",children:[e.jsxs("section",{className:"relative bg-gradient-to-br from-gray-900 via-gray-900 to-blue-950 overflow-hidden min-h-[280px] flex items-center",children:[e.jsx("div",{className:"absolute inset-0 opacity-5",style:{backgroundImage:"radial-gradient(circle at 2px 2px, white 1px, transparent 0)",backgroundSize:"32px 32px"}}),e.jsx("div",{className:"relative max-w-6xl mx-auto px-6 py-16 w-full",children:e.jsxs("div",{className:"max-w-xl",children:[e.jsx("p",{className:"text-blue-400 text-xs font-bold uppercase tracking-widest mb-4",children:a?"Porth Cwsmeriaid":"Customer Portal"}),e.jsx("h1",{className:"text-4xl md:text-5xl font-black text-white tracking-tight leading-[1.1] mb-4",children:a?"Porth Atgyweirio Cwsmeriaid":"Customer Repair Portal"}),e.jsx("p",{className:"text-gray-400 leading-relaxed max-w-md",children:a?"Gwiriwch statws eich atgyweiriad, gweld tocynnau cymorth, a rheoli eich manylion drwy ein porth ar-lein diogel.":"Check your repair status, view support tickets, and manage your details through our secure online portal."})]})})]}),e.jsx("section",{className:"w-full",children:e.jsx("div",{style:{position:"relative",minHeight:"100vh"},children:e.jsx("iframe",{id:"mgrframe",src:"about:blank",title:a?"Porth Cwsmeriaid CefniTech":"CefniTech Customer Portal",frameBorder:"0",style:{overflow:"hidden",height:"100%",width:"100%",position:"absolute",top:0,left:0,right:0,bottom:0},sandbox:"allow-scripts allow-forms allow-same-origin allow-top-navigation-by-user-activation allow-popups allow-modals",height:"100%",width:"100%"})})})]})}export{f as default};