PageSourceSearch

https://alwaysintune.netlify.app/assets/Teachers-W9f69wkO.js

js alwaysintune.netlify.app collected 2026-10-03 10:26:30 UTC 2,390 bytes, 1 lines download raw bytes

1import{_ as c,B as d}from"./index-CVuSjWCq.js";import{a as i,j as s}from"./query-vendor-BB0JUlq_.js";import{L as m}from"./react-vendor-BIjsaQ6L.js";import"./ui-vendor-CwH6wFZJ.js";function p(){const[r,n]=i.useState([]);return i.useEffect(()=>{document.title="Our Teachers | InTune Music Tuition | West Lothian";const e=document.querySelector('meta[name="description"]');e&&e.setAttribute("content","Meet our expert music teachers at InTune Music Tuition in West Lothian. Qualified, friendly instructors for guitar, piano, drums, keyboard, bass, and singing lessons."),(async()=>{try{const{apiFetch:t}=await c(async()=>{const{apiFetch:o}=await import("./api-CyvozDRd.js");return{apiFetch:o}},[]),a=await t("/api/admin/teachers");a&&n(a)}catch(t){console.error(t)}})()},[]),s.jsxs("div",{className:"container mx-auto py-20",children:[s.jsx("h1",{className:"text-3xl font-bold",children:"Teachers"}),s.jsx("p",{className:"mt-2 text-foreground/70 max-w-2xl",children:"Meet our friendly, certified instructors. Below are profiles added by the admin."}),s.jsxs("div",{className:"mt-8 grid sm:grid-cols-2 gap-6",children:[r.length===0&&s.jsx("div",{className:"text-foreground/70",children:"No teachers listed yet. Please ask the site admin to add profiles."}),r.map(e=>s.jsxs("div",{className:"rounded-lg border overflow-hidden flex",children:[s.jsx("img",{src:e.image||"https://images.unsplash.com/photo-1524504388940-b1c1722653e1?w=400&q=60",alt:e.name,className:"w-28 h-28 object-cover"}),s.jsxs("div",{className:"p-3 flex-1",children:[s.jsx("div",{className:"font-semibold",children:e.name}),s.jsx("div",{className:"text-sm text-foreground/70",children:e.years?`${e.years} years experience`:"Experience: N/A"}),e.instruments&&e.instruments.length>0&&s.jsx("div",{className:"text-sm text-foreground/70",children:Array.isArray(e.instruments)?e.instruments.join(", "):typeof e.instruments=="string"?JSON.parse(e.instruments).join(", "):""}),e.email_public&&s.jsxs("div",{className:"text-sm text-foreground/70",children:["📧 ",e.email]}),e.phone_public&&e.phone&&s.jsxs("div",{className:"text-sm text-foreground/70",children:["📱 ",e.phone]}
1),e.about&&s.jsx("p",{className:"mt-2 text-sm text-foreground/70",children:e.about})]})]},e.user_id))]}),s.jsx("div",{className:"mt-6",children:s.jsx(m,{to:"/",children:s.jsx(d,{variant:"gradient",children:"Back to home"})})})]})}export{p 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.