PageSourceSearch

https://www.utopiaplates.co.uk/_nuxt/ButtonLinkSlice.251ae887.js

js utopiaplates.co.uk collected 2026-10-01 07:32:01 UTC 1,358 bytes, 1 lines download raw bytes

1import{cf as p,c as n,o as i,a as f,u as r,h as _,w as x,f as b,t as y,n as a,i as d,_ as g}from"./entry.66bfb348.js";import{c as k}from"./cmsLinkPath.18f46215.js";const B={__name:"ButtonLinkSlice",props:p(),setup(s){const t=s,c=n(()=>{var o;const e=(o=t.slice.primary)==null?void 0:o.link;if(!(!e||e.isBroken))return e.url||k(e)||void 0}),l=n(()=>({"bg-black":t.slice.primary.button_color==="black"||!t.slice.primary.button_color,"bg-primary":t.slice.primary.button_color==="utopia-yellow","text-black":t.slice.primary.button_color==="utopia-yellow","text-white":t.slice.primary.button_color==="black"||!t.slice.primary.button_color})),m=n(()=>({"text-left":t.slice.primary.text_direction==="left","text-center":t.slice.primary.text_direction==="center","text-right":t.slice.primary.text_direction==="right"}));return(e,o)=>{const u=g;return i(),f("div",{class:a(["mx-auto max-w-xl py-8 text-center",r(m)])},[r(c)?(i(),_(u,{key:0,to:r(c),class:a([r(l),"hover:bg-primary-700 focus:ring-primary-500 focus:ring-offset-primary-50 mb-2 w-full rounded-sm bg-black px-8 py-3 text-center font-bold uppercase no-underline shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 md:w-48 md:text-left lg:mb-4 lg:mr-4 lg:w-max"]),target:"_blank"},{default:x(()=>[b(y(e.slice.primary.button_text),1)]),_:1},8,["to","class"])):d("",!0)],2)}}};export{B 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.