Files
soorya-carpet/public/build/assets/index-TN1BZ3jO.js
admin 9c703306ec
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
chore: build
2025-10-27 21:32:05 +05:45

2 lines
1.7 KiB
JavaScript

import{j as e,H as o,L as l}from"./app-Ajql0Lt4.js";import{B as n}from"./createLucideIcon-B_iAwCmA.js";import{T as x,a as m,b as i,c as s,d as h,e as r,P as j,f as p}from"./table-BXShFuwk.js";import{A as u,d as c}from"./app-layout-BTSySP9M.js";import"./app-B4XVefei.js";import"./sheet-iBbRuLZ4.js";import"./index-CS1SDu2T.js";import"./index-em-EQZzp.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";function B({product:d}){return e.jsxs(u,{breadcrumbs:[{title:"Products",href:c.product.index().url}],children:[e.jsx(o,{title:"Products"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"Products"}),e.jsx(l,{href:c.product.add(),children:e.jsx(n,{className:"cursor-pointer",children:"Add Image"})})]}),e.jsxs(x,{children:[e.jsx(m,{children:e.jsxs(i,{children:[e.jsx(s,{className:"w-[80px]",children:"S.N."}),e.jsx(s,{className:"w-48",children:"Image"}),e.jsx(s,{children:"Title"}),e.jsx(s,{className:"w-24",children:"Type"}),e.jsx(s,{className:"text-right",children:"Action"})]})}),e.jsx(h,{children:d.map((a,t)=>e.jsxs(i,{children:[e.jsx(r,{className:"font-medium",children:t+1}),e.jsx(r,{children:e.jsx("img",{src:a.image_url,alt:a.title,className:"aspect-video w-24 rounded-md object-cover object-center"})}),e.jsx(r,{children:a.title}),e.jsx(r,{children:a.type}),e.jsx(r,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[e.jsx(l,{href:"",children:e.jsx(j,{size:18})}),e.jsx(l,{href:"",children:e.jsx(p,{size:18,color:"#D2042D"})})]})})]},t))})]})]})]})}export{B as default};