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