2 lines
1.6 KiB
JavaScript
2 lines
1.6 KiB
JavaScript
import{j as e,H as n,L as l}from"./app-C6SiEMGn.js";import{B as o}from"./createLucideIcon-CPpF-2ww.js";import{T as x,a as m,b as t,c as s,d as j,e as a,P as h,f as p}from"./table-DVbaU0dA.js";import{A as u,c}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";function B({carousel:d}){return e.jsx(e.Fragment,{children:e.jsxs(u,{breadcrumbs:[{title:"Carousel",href:c.index().url}],children:[e.jsx(n,{title:"Carousel"}),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:"Carousel"}),e.jsx(l,{href:c.add(),children:e.jsx(o,{className:"cursor-pointer",children:"Add Image"})})]}),e.jsxs(x,{children:[e.jsx(m,{children:e.jsxs(t,{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:"text-right",children:"Action"})]})}),e.jsx(j,{children:d.map((r,i)=>e.jsxs(t,{children:[e.jsx(a,{className:"font-medium",children:i+1}),e.jsx(a,{children:e.jsx("img",{src:r.image_url,alt:r.alt,className:"aspect-video w-24 rounded-md object-cover object-center"})}),e.jsx(a,{children:r.alt}),e.jsx(a,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[e.jsx(l,{href:"",children:e.jsx(h,{size:18})}),e.jsx(l,{href:"",children:e.jsx(p,{size:18,color:"#D2042D"})})]})})]},i))})]})]})]})})}export{B as default};
|