"use client"
import{a as g,b as f,f as m}from"./chunk-TWHF5JOO.mjs";import{a as c,c as p,d as x}from"./chunk-PDBLQ6Y7.mjs";import{a as v}from"./chunk-33OWFWSC.mjs";import{i as s,l as d}from"./chunk-CNXDEFCQ.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(c,"mb-2"),children:"Features"}),e("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:g.map(({icon:i,title:t,description:n,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:n},a))})]}),o("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[o(h,{href:m("/blog/category/customers",r),className:s(c,"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:f.map(({icon:i,iconClassName:t,title:n,description:a,href:l})=>e(p,{href:m(l,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:n,description:a,descriptionLines:2},l))}),e("p",{className:s(c,"my-4"),children:"Compare"}),e("div",{className:"flex flex-col gap-1.5",children:d.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};
