PageSourceSearch

https://nwfloors.co.uk/assets/DynamicPage-BHb5WVGL.js

js nwfloors.co.uk collected 2026-10-08 17:36:22 UTC 2,706 bytes, 10 lines download raw bytes

1import{o as x,u as m,bg as d,U as p,V as c,W as h,j as e,L as n,H as g,a as u}from"./index-D2rUcUpe.js";import{P as y}from"./PageSeo-DcLyJZY5.js";import{C as j}from"./circle-alert-BOt0H_67.js";import"./Helmet-D7MYuSoa.js";function w(){const{slug:t}=x(),{data:s,isLoading:l,isError:i}=m({queryKey:["/api/pages",t],queryFn:()=>fetch(`/api/pages/${t}`).then(o=>{if(!o.ok)throw new Error("Page not found");return o.json()})}),a=s?d(s.title,s.metaTitle,s.metaDescription):null,r=s?`/pages/${s.slug}`:"";return p(s&&a?[c(),h([{name:"Home",path:"/"},{name:s.title,path:r}])]:null),l?e.jsx("div",{className:"max-w-4xl mx-auto px-4 py-16",children:e.jsxs("div",{className:"animate-pulse space-y-4",children:[e.jsx("div",{className:"h-8 bg-gray-200 rounded w-1/3"}),e.jsx("div",{className:"h-4 bg-gray-200 rounded w-full"}),e.jsx("div",{className:"h-4 bg-gray-200 rounded w-5/6"}),e.jsx("div",{className:"h-4 bg-gray-200 rounded w-4/6"})]})}):i||!s?e.jsxs("div",{className:"max-w-4xl mx-auto px-4 py-16 text-center",children:[e.jsx(j,{className:"w-12 h-12 text-gray-400 mx-auto mb-4"}),e.jsx("h1",{className:"text-2xl font-semibold text-gray-700 mb-2",children:"Page not found"}),e.jsx("p",{className:"text-gray-500 mb-6",children:"This page doesn't exist or has been moved."}),e.jsx(n,{href:"/",className:"text-[#BCCDB9] hover:underline font-medium",children:"← Back to home"})]}):e.jsxs(e.Fragment,{children:[e.jsx(y,{title:a.title,description:a.description,path:r}),e.jsx("div",{className:"bg-gray-900 text-white py-12",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-4",children:[e.jsxs("nav",{className:"flex items-center gap-2 text-sm text-gray-400 mb-4",children:[e.jsxs(n,{href:"/",className:"hover:text-white flex items-center gap-1",children:[e.jsx(g,{className:"w-3 h-3"})," Home"]}),e.jsx(u,{className:"w-3 h-3"}),e.jsx("span",{className:"text-white",children:s.title})]}),e.jsx("h1",{className:"text-3xl md:text-4xl font-bold",children:s.title})]})}),e.jsx("div",{className:"max-w-4xl mx-auto px-4 py-10",children:e.jsx("div",{className:`prose prose-lg max-w-none
2            prose-headings:text-gray-900 prose-headings:font-semibold
3            prose-h2:text-2xl prose-h2:mt-8 prose-h2:mb-3
4            prose-h3:text-xl prose-h3:mt-6 prose-h3:mb-2
5            prose-p:text-gray-700 prose-p:leading-relaxed
6            prose-a:text-[#BCCDB9] prose-a:no-underline hover:prose-a:underline
7            prose-ul:text-gray-700 prose-ol:text-gray-700
8            prose-li:my-1
9            prose-strong:text-gray-900
10            prose-table:text-sm prose-th:bg-gray-100 prose-th:p-2 prose-td:p-2 prose-td:border prose-th:border`,dangerouslySetInnerHTML:{__html:s.content}})})]})}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.