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