"use client"
import{a as v,b as f,f as s}from"./chunk-JG7HARGV.mjs";import{a as c,c as d,d as g}from"./chunk-D3AZYWPA.mjs";import{i as a,l as p}from"./chunk-JP57AFGB.mjs";import h from"@vercel/analytics";import{ChevronRight as x}from"lucide-react";import k from"next/link";import{jsx as e,jsxs as m}from"react/jsx-runtime";function L({domain:r}){return m("div",{className:"grid w-[40rem] grid-cols-2",children:[m("div",{className:"p-5",children:[e("p",{className:a(c,"mb-2"),children:"Features"}),e("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:o,title:t,description:n,href:i})=>e(d,{href:s(i,r),...r!=="dub.co"&&{onClick:()=>{h.track("Referred from custom domain",{domain:r,medium:`navbar item (${i})`})}},icon:e(g,{icon:o}),title:t,description:n},i))})]}),m("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[m(k,{href:s("/blog/category/customers",r),className:a(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",e(x,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),e("div",{className:"grid grid-cols-1",children:f.map(({icon:o,iconClassName:t,title:n,description:i,href:l})=>e(d,{href:s(l,r),className:"-mx-2",icon:e(o,{className:a("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:n,description:i,descriptionLines:2},l))}),e("p",{className:a(c,"my-4"),children:"Compare"}),e("div",{className:"flex flex-col gap-1.5",children:p.map(({name:o,slug:t})=>m(k,{href:s(`/compare/${t}`,r),className:"block text-sm font-medium text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:["Dub vs. ",o]},t))})]})]})}export{L as a};
