@dub/ui 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.mjs +1 -1
- package/dist/animated-size-container.d.ts +48 -48
- package/dist/badge.d.ts +1 -1
- package/dist/button.mjs +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/charts/index.d.ts +156 -0
- package/dist/charts/index.mjs +2 -0
- package/dist/chunk-2ECKTJTV.mjs +2 -0
- package/dist/chunk-2HOGE6HG.mjs +2 -0
- package/dist/chunk-2I2HNQZS.mjs +2 -0
- package/dist/chunk-2JN3SZ3B.mjs +2 -0
- package/dist/chunk-2LSRXXDX.mjs +2 -0
- package/dist/chunk-2RNIN6ZY.mjs +2 -0
- package/dist/chunk-2SL25K2Q.mjs +2 -0
- package/dist/chunk-2SQLCNNE.mjs +2 -0
- package/dist/chunk-2UTN6IZK.mjs +6 -0
- package/dist/chunk-33ECFKCV.mjs +2 -0
- package/dist/chunk-354GSIM7.mjs +2 -0
- package/dist/chunk-36HSK7U6.mjs +2 -0
- package/dist/chunk-36LOFUEW.mjs +2 -0
- package/dist/chunk-3BL2KJ5R.mjs +2 -0
- package/dist/chunk-3FKURQMW.mjs +2 -0
- package/dist/chunk-3NIJ7ELB.mjs +2 -0
- package/dist/chunk-3O25SFLK.mjs +2 -0
- package/dist/chunk-3P5K2NA4.mjs +2 -0
- package/dist/chunk-4HWIRBT6.mjs +2 -0
- package/dist/chunk-4UT3ACOW.mjs +2 -0
- package/dist/chunk-4XSN2Y4F.mjs +2 -0
- package/dist/chunk-5BTRQ455.mjs +2 -0
- package/dist/chunk-5CFJNFVC.mjs +2 -0
- package/dist/chunk-5MDTRWS5.mjs +2 -0
- package/dist/chunk-5VOOONEK.mjs +2 -0
- package/dist/chunk-5Y64Q5JH.mjs +2 -0
- package/dist/chunk-66IU26EY.mjs +2 -0
- package/dist/chunk-66QJUFOC.mjs +2 -0
- package/dist/chunk-6IOOALV7.mjs +2 -0
- package/dist/chunk-6JHR2A64.mjs +2 -0
- package/dist/chunk-6LCX33KU.mjs +2 -0
- package/dist/chunk-6LJ5Q3MG.mjs +2 -0
- package/dist/chunk-6P7L7ELD.mjs +2 -0
- package/dist/chunk-6VCDKSVF.mjs +2 -0
- package/dist/chunk-6VDMTZF3.mjs +2 -0
- package/dist/chunk-72EV3C4Y.mjs +6 -0
- package/dist/chunk-73CWYOTO.mjs +2 -0
- package/dist/chunk-73H2SLZX.mjs +2 -0
- package/dist/chunk-77PWZUMW.mjs +2 -0
- package/dist/chunk-7ARMYSBX.mjs +2 -0
- package/dist/chunk-7DWNPJNK.mjs +2 -0
- package/dist/chunk-7GUYWBRA.mjs +2 -0
- package/dist/chunk-7XSC4UCT.mjs +2 -0
- package/dist/chunk-7XSOQOCS.mjs +6 -0
- package/dist/chunk-A4YMPQZN.mjs +2 -0
- package/dist/chunk-A5JU5WYY.mjs +2 -0
- package/dist/chunk-AA4AOADM.mjs +6 -0
- package/dist/chunk-ATVD2WLZ.mjs +2 -0
- package/dist/chunk-AUXZMELI.mjs +2 -0
- package/dist/chunk-B2VUXR6K.mjs +2 -0
- package/dist/chunk-B7HQBYM2.mjs +2 -0
- package/dist/chunk-BH3YVAUL.mjs +2 -0
- package/dist/chunk-BOXQDBE7.mjs +2 -0
- package/dist/chunk-BRXSNJNL.mjs +2 -0
- package/dist/chunk-BZD5HLBP.mjs +2 -0
- package/dist/chunk-C2BIGRNF.mjs +2 -0
- package/dist/chunk-C6IESAG3.mjs +2 -0
- package/dist/chunk-C6S6CVNM.mjs +2 -0
- package/dist/chunk-CBRXGVSY.mjs +2 -0
- package/dist/chunk-D3EEBJKC.mjs +2 -0
- package/dist/chunk-D6PKQLE2.mjs +2 -0
- package/dist/chunk-DCXGQAWG.mjs +2 -0
- package/dist/chunk-DHJLWHX6.mjs +2 -0
- package/dist/chunk-DM2W2FCI.mjs +2 -0
- package/dist/chunk-DP6OZT73.mjs +2 -0
- package/dist/chunk-DPTLC5IZ.mjs +2 -0
- package/dist/chunk-DQG5LLHE.mjs +2 -0
- package/dist/chunk-DVBWEVWE.mjs +2 -0
- package/dist/chunk-DVR3KUDI.mjs +2 -0
- package/dist/chunk-DXH6A35E.mjs +2 -0
- package/dist/chunk-DXK7AZ47.mjs +2 -0
- package/dist/chunk-EDFEA2WG.mjs +2 -0
- package/dist/chunk-EJSANVXT.mjs +6 -0
- package/dist/chunk-EZS3HYBM.mjs +2 -0
- package/dist/chunk-F3PK24S5.mjs +2 -0
- package/dist/chunk-FE3IQIYS.mjs +2 -0
- package/dist/chunk-FKXVNEUD.mjs +2 -0
- package/dist/chunk-FO65IXJT.mjs +2 -0
- package/dist/chunk-FOPMPAOZ.mjs +2 -0
- package/dist/chunk-FPHUF4BY.mjs +2 -0
- package/dist/chunk-FRWEIS35.mjs +2 -0
- package/dist/chunk-FWAYR65J.mjs +2 -0
- package/dist/chunk-G4OD2RDL.mjs +6 -0
- package/dist/chunk-GYB4JOCF.mjs +2 -0
- package/dist/chunk-GYMAR7NH.mjs +2 -0
- package/dist/chunk-H52MXCL6.mjs +2 -0
- package/dist/chunk-H57RZYYH.mjs +2 -0
- package/dist/chunk-HGMHBUBD.mjs +2 -0
- package/dist/chunk-HH4RBXD6.mjs +2 -0
- package/dist/chunk-HHYP7SGG.mjs +2 -0
- package/dist/chunk-HP4PMEZ2.mjs +2 -0
- package/dist/chunk-HUN3QJA4.mjs +2 -0
- package/dist/chunk-IBXQNRVJ.mjs +2 -0
- package/dist/chunk-IKE3KMMI.mjs +2 -0
- package/dist/chunk-INE3CH73.mjs +2 -0
- package/dist/chunk-IS6CA527.mjs +2 -0
- package/dist/chunk-IUN3QSG7.mjs +2 -0
- package/dist/chunk-IVU65472.mjs +2 -0
- package/dist/chunk-IYERGOR2.mjs +2 -0
- package/dist/chunk-IYX6WFG2.mjs +2 -0
- package/dist/chunk-J3VT4F7U.mjs +2 -0
- package/dist/chunk-J7QUH2V5.mjs +2 -0
- package/dist/chunk-JG7VHWWE.mjs +2 -0
- package/dist/chunk-JOKYJTIA.mjs +2 -0
- package/dist/chunk-JQZW3VLB.mjs +2 -0
- package/dist/chunk-JSBJKIXG.mjs +2 -0
- package/dist/chunk-JSJEEIRO.mjs +2 -0
- package/dist/chunk-JYMBRXHQ.mjs +2 -0
- package/dist/chunk-K5FVVXE3.mjs +2 -0
- package/dist/chunk-KB4OZUHU.mjs +2 -0
- package/dist/chunk-KG7GYVNV.mjs +6 -0
- package/dist/chunk-KL4ETPR2.mjs +2 -0
- package/dist/chunk-KOKZKDPR.mjs +2 -0
- package/dist/chunk-KRE54R4V.mjs +2 -0
- package/dist/chunk-KRPWOFGZ.mjs +2 -0
- package/dist/chunk-KVEJNXMB.mjs +2 -0
- package/dist/chunk-L2X75V4V.mjs +2 -0
- package/dist/chunk-LBDMIW7S.mjs +6 -0
- package/dist/chunk-LC4HUADE.mjs +2 -0
- package/dist/chunk-LJHMFBUB.mjs +2 -0
- package/dist/chunk-LKO36VEM.mjs +6 -0
- package/dist/chunk-LNFFJT22.mjs +2 -0
- package/dist/chunk-LNYXD3LT.mjs +2 -0
- package/dist/chunk-LOYIZKXB.mjs +2 -0
- package/dist/chunk-LTXYZWOV.mjs +2 -0
- package/dist/chunk-LYXT4F3W.mjs +2 -0
- package/dist/chunk-M5KIJTFG.mjs +2 -0
- package/dist/chunk-MJ2P6CBB.mjs +6 -0
- package/dist/chunk-MJC223MV.mjs +2 -0
- package/dist/chunk-MSQFZ4CY.mjs +2 -0
- package/dist/chunk-MULY6ST7.mjs +2 -0
- package/dist/chunk-MVJ2C5SS.mjs +2 -0
- package/dist/chunk-MWQ5UCT5.mjs +2 -0
- package/dist/chunk-N5MJX4FR.mjs +2 -0
- package/dist/chunk-N7NUJSNM.mjs +2 -0
- package/dist/chunk-NCS67LZR.mjs +2 -0
- package/dist/chunk-ND5PQILC.mjs +2 -0
- package/dist/chunk-NFHRLY2B.mjs +2 -0
- package/dist/chunk-NMC562ZB.mjs +2 -0
- package/dist/chunk-NSVH6ON6.mjs +2 -0
- package/dist/chunk-NVQWOLE6.mjs +2 -0
- package/dist/chunk-OA2MRG25.mjs +2 -0
- package/dist/chunk-OAE6WUCN.mjs +2 -0
- package/dist/chunk-OCFKJYSM.mjs +2 -0
- package/dist/chunk-OEZ5OJNE.mjs +6 -0
- package/dist/chunk-OL6H47ST.mjs +2 -0
- package/dist/chunk-OQG4VIMK.mjs +2 -0
- package/dist/chunk-OQKJJM7K.mjs +2 -0
- package/dist/chunk-OTWIQJAR.mjs +2 -0
- package/dist/chunk-OWC2FKLC.mjs +2 -0
- package/dist/chunk-OYDAVVJ7.mjs +2 -0
- package/dist/chunk-P2QJXWDR.mjs +2 -0
- package/dist/chunk-P6YEQDLL.mjs +2 -0
- package/dist/chunk-PBIGB4XC.mjs +2 -0
- package/dist/chunk-PGH2352K.mjs +2 -0
- package/dist/chunk-PK5IFPTU.mjs +2 -0
- package/dist/chunk-PW6XVAH6.mjs +6 -0
- package/dist/chunk-Q762U6H4.mjs +2 -0
- package/dist/chunk-QEXQZ47C.mjs +2 -0
- package/dist/chunk-QIMSUMWR.mjs +2 -0
- package/dist/chunk-QJJL4F6M.mjs +2 -0
- package/dist/chunk-QM6GT5NH.mjs +6 -0
- package/dist/chunk-QNXH7C4R.mjs +2 -0
- package/dist/chunk-QRT5B26H.mjs +2 -0
- package/dist/chunk-R47TRTVS.mjs +2 -0
- package/dist/chunk-RAAECPRB.mjs +2 -0
- package/dist/chunk-RB4P3HZT.mjs +6 -0
- package/dist/chunk-RHDA2VO2.mjs +2 -0
- package/dist/chunk-RURMT663.mjs +6 -0
- package/dist/chunk-RVCKKHSV.mjs +2 -0
- package/dist/chunk-SHBCF7QJ.mjs +2 -0
- package/dist/chunk-SHMVJQCP.mjs +2 -0
- package/dist/chunk-ST4CFA3E.mjs +2 -0
- package/dist/chunk-SUQDTSW7.mjs +2 -0
- package/dist/chunk-TJKIUYZQ.mjs +2 -0
- package/dist/chunk-TL6BXJOB.mjs +2 -0
- package/dist/chunk-TMQVOAEV.mjs +2 -0
- package/dist/chunk-TNK4P5B6.mjs +2 -0
- package/dist/chunk-TQS6POFH.mjs +2 -0
- package/dist/chunk-TU5QJD2G.mjs +2 -0
- package/dist/chunk-TVIEJDOT.mjs +2 -0
- package/dist/chunk-U3PLYT2S.mjs +2 -0
- package/dist/chunk-U4QDY74H.mjs +2 -0
- package/dist/chunk-U4SM634N.mjs +6 -0
- package/dist/chunk-U4U2SEQH.mjs +2 -0
- package/dist/chunk-U63BJZF7.mjs +6 -0
- package/dist/chunk-UH2USHTJ.mjs +2 -0
- package/dist/chunk-UHIXHGGV.mjs +2 -0
- package/dist/chunk-UM7WJ76W.mjs +6 -0
- package/dist/chunk-UMYM62V4.mjs +6 -0
- package/dist/chunk-USLA4OL6.mjs +6 -0
- package/dist/chunk-UVBCSQZK.mjs +2 -0
- package/dist/chunk-UVXGLFKJ.mjs +2 -0
- package/dist/chunk-UZM2GVGU.mjs +2 -0
- package/dist/chunk-V4CONMAR.mjs +2 -0
- package/dist/chunk-V4JRTKIY.mjs +6 -0
- package/dist/chunk-VDBIRURA.mjs +2 -0
- package/dist/chunk-VNJGL6KK.mjs +2 -0
- package/dist/chunk-VVLXJ2A3.mjs +2 -0
- package/dist/chunk-W3JJVSL6.mjs +6 -0
- package/dist/chunk-W6NCEJQO.mjs +6 -0
- package/dist/chunk-W7C555QS.mjs +2 -0
- package/dist/chunk-WKJ7IAOL.mjs +2 -0
- package/dist/chunk-WOKW2YRN.mjs +2 -0
- package/dist/chunk-WR7KV6D2.mjs +2 -0
- package/dist/chunk-WTNYKET5.mjs +2 -0
- package/dist/chunk-WYY3IAA7.mjs +2 -0
- package/dist/chunk-X4NMGJT6.mjs +2 -0
- package/dist/chunk-X4YNGHT5.mjs +2 -0
- package/dist/chunk-XIPPVPEW.mjs +2 -0
- package/dist/chunk-XIRFOUI7.mjs +2 -0
- package/dist/chunk-XRGORMYH.mjs +2 -0
- package/dist/chunk-XXNNOATU.mjs +2 -0
- package/dist/chunk-Y5VGCJT3.mjs +2 -0
- package/dist/chunk-YANDYLVU.mjs +2 -0
- package/dist/chunk-YFUQ6W6V.mjs +2 -0
- package/dist/chunk-YHBCUTQJ.mjs +2 -0
- package/dist/chunk-YJLOZDW5.mjs +2 -0
- package/dist/chunk-YJZ5JWXJ.mjs +2 -0
- package/dist/chunk-YLRBZU2X.mjs +2 -0
- package/dist/chunk-YQR44VPZ.mjs +2 -0
- package/dist/chunk-YSFGOBVD.mjs +6 -0
- package/dist/chunk-YT4ZNZKU.mjs +42 -0
- package/dist/chunk-YWSYCEQF.mjs +2 -0
- package/dist/chunk-YXTF62XL.mjs +2 -0
- package/dist/chunk-ZG67UIBY.mjs +2 -0
- package/dist/chunk-ZH33FNUR.mjs +2 -0
- package/dist/chunk-ZLR5EIUH.mjs +2 -0
- package/dist/chunk-ZVRMZ2BI.mjs +2 -0
- package/dist/chunk-ZW5BOVJS.mjs +2 -0
- package/dist/chunk-ZW7YITEF.mjs +2 -0
- package/dist/combobox/index.mjs +1 -1
- package/dist/copy-button.mjs +1 -1
- package/dist/date-picker/date-range-picker.mjs +1 -1
- package/dist/date-picker/presets.mjs +1 -1
- package/dist/file-upload.mjs +1 -1
- package/dist/filter/filter-select.mjs +1 -1
- package/dist/footer.mjs +1 -1
- package/dist/form.mjs +1 -1
- package/dist/icons/continents/index.mjs +1 -1
- package/dist/icons/index.d.ts +445 -195
- package/dist/icons/index.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1101 -280
- package/dist/index.mjs +51 -1
- package/dist/input.mjs +1 -1
- package/dist/link-logo.mjs +1 -1
- package/dist/link-preview.mjs +1 -1
- package/dist/nav/content/product-content.mjs +1 -1
- package/dist/nav/content/resources-content.mjs +1 -1
- package/dist/nav/content/shared.mjs +1 -1
- package/dist/nav/content/solutions-content.mjs +1 -1
- package/dist/nav/nav-mobile.mjs +1 -1
- package/dist/nav/nav.mjs +1 -1
- package/dist/nav-wordmark.mjs +1 -1
- package/dist/status-badge.d.ts +1 -1
- package/dist/status-badge.mjs +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/table/table.mjs +1 -1
- package/dist/tooltip.mjs +1 -1
- package/dist/utm-builder.mjs +1 -1
- package/package.json +25 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as i,j as c}from"./chunk-LTXYZWOV.mjs";import{useId as l}from"react";import{jsx as r,jsxs as e}from"react/jsx-runtime";function h(o){let t=l();return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"336",height:"336",fill:"none",viewBox:"0 0 336 336",...o,className:i("pointer-events-none text-[var(--fg)] [--bg:white] [--fg:#222] [--grid:#e5e5e5] dark:[--bg:black] dark:[--fg:#fffa] dark:[--grid:#fff2]",o.className),children:[e("g",{clipPath:`url(#${t}-a)`,children:[r("path",{className:"text-[var(--grid)]",stroke:"currentColor",strokeWidth:"0.5",d:"M0 0h48v48H0zM48 0h48v48H48zM96 0h48v48H96zM144 0h48v48h-48zM192 0h48v48h-48zM240 0h48v48h-48zM288 0h48v48h-48zM0 48h48v48H0zM48 48h48v48H48zM96 48h48v48H96zM144 48h48v48h-48zM192 48h48v48h-48zM240 48h48v48h-48zM288 48h48v48h-48zM0 96h48v48H0zM48 96h48v48H48zM96 96h48v48H96zM144 96h48v48h-48zM192 96h48v48h-48zM240 96h48v48h-48zM288 96h48v48h-48zM0 144h48v48H0zM48 144h48v48H48zM96 144h48v48H96zM144 144h48v48h-48zM192 144h48v48h-48zM240 144h48v48h-48zM288 144h48v48h-48zM0 192h48v48H0zM48 192h48v48H48zM96 192h48v48H96zM144 192h48v48h-48zM192 192h48v48h-48zM240 192h48v48h-48zM288 192h48v48h-48zM0 240h48v48H0zM48 240h48v48H48zM96 240h48v48H96zM144 240h48v48h-48zM192 240h48v48h-48zM240 240h48v48h-48zM288 240h48v48h-48zM0 288h48v48H0zM48 288h48v48H48zM96 288h48v48H96zM144 288h48v48h-48zM192 288h48v48h-48zM240 288h48v48h-48zM288 288h48v48h-48z"}),r("circle",{cx:"192",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"192",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"192",cy:"108",r:"2",fill:"#EA580C"}),r("circle",{cx:"192",cy:"144",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-b)`,d:"M192 144v-35"}),r("circle",{cx:"192",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"192",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"192",cy:"192",r:"2",fill:"#EA580C"}),r("circle",{cx:"192",cy:"228",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-c)`,d:"M192 228v-35"}),r("circle",{cx:"144",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"144",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"144",cy:"108",r:"2",fill:"#EA580C"}),r("circle",{cx:"144",cy:"144",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-d)`,d:"M144 144v-35"}),r("circle",{cx:"144",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"144",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"144",cy:"192",r:"2",fill:"#EA580C"}),r("circle",{cx:"144",cy:"228",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-e)`,d:"M144 228v-35"}),r("circle",{cx:"96",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"96",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"96",cy:"108",r:"2",fill:"#EA580C"}),r("circle",{cx:"96",cy:"144",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-f)`,d:"M96 144v-35"}),r("circle",{cx:"96",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"96",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"96",cy:"192",r:"2",fill:"#EA580C"}),r("circle",{cx:"96",cy:"228",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-g)`,d:"M96 228v-35"}),r("circle",{cx:"240",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"240",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"240",cy:"108",r:"2",fill:"#EA580C"}),r("circle",{cx:"240",cy:"144",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-h)`,d:"M240 144v-35"}),r("circle",{cx:"240",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"240",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),r("circle",{cx:"240",cy:"192",r:"2",fill:"#EA580C"}),r("circle",{cx:"240",cy:"228",r:"2",fill:"#EA580C"}),r("path",{stroke:`url(#${t}-i)`,d:"M240 228v-35"}),r("circle",{cx:"48",cy:"168",r:"4",fill:"#EAB308",opacity:"0.1"}),r("circle",{cx:"48",cy:"168",r:"2",fill:"#EAB308"}),r("path",{stroke:`url(#${t}-j)`,d:"M13 168h34"}),r("circle",{cx:"4",cy:"4",r:"4",fill:"#EAB308",opacity:"0.1",transform:"matrix(-1 0 0 1 292 164)"}),r("circle",{cx:"2",cy:"2",r:"2",fill:"#EAB308",transform:"matrix(-1 0 0 1 290 166)"}),r("path",{stroke:`url(#${t}-k)`,d:"M323 168h-34"}),e("g",{children:[r("rect",{width:"24",height:"24",x:"228",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"228.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 92.222V96l2.889 2"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 89.555a6.444 6.444 0 0 1 0 12.889"}),r("path",{fill:"currentColor",fillOpacity:"0.5",d:"M235.276 100.891a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.389 96.333a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M235.276 91.776a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M237.367 102.288a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.879 98.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.879 93.868a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M237.368 90.38a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"228",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"228.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M238.889 243.778h-3.556a1.777 1.777 0 0 1-1.777-1.778v-4c0-.982.795-1.778 1.777-1.778h9.334c.982 0 1.777.796 1.777 1.778v.222"}),r("path",{fill:"currentColor",fillOpacity:"0.5",d:"M236.889 240.889a.889.889 0 1 0 0-1.778.889.889 0 0 0 0 1.778M240 240.889a.889.889 0 1 0 0-1.778.889.889 0 0 0 0 1.778"}),r("path",{fill:"currentColor",fillOpacity:"0.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M246 242.889h-3.556a.89.89 0 0 0-.888.889v1.777c0 .491.398.889.888.889H246a.89.89 0 0 0 .889-.889v-1.777a.89.89 0 0 0-.889-.889"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M242.889 242.889v-1.778a1.333 1.333 0 0 1 2.667 0v1.778"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"180",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"180.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M188.667 90h-2a.666.666 0 0 0-.667.667v2c0 .368.298.666.667.666h2a.666.666 0 0 0 .666-.666v-2a.666.666 0 0 0-.666-.667M197.333 90h-2a.666.666 0 0 0-.666.667v2c0 .368.298.666.666.666h2a.667.667 0 0 0 .667-.666v-2a.667.667 0 0 0-.667-.667M188.667 98.667h-2a.666.666 0 0 0-.667.666v2c0 .368.298.667.667.667h2a.667.667 0 0 0 .666-.667v-2a.666.666 0 0 0-.666-.666M198 98.667h-2a1.333 1.333 0 0 0-1.333 1.333v2M198 102v.01M192 92.667v2A1.334 1.334 0 0 1 190.667 96h-2M186 96h.01M192 90h.01M192 98.667v.01M194.667 96h.666M198 96v.01M192 102v-.667"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"180",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"180.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M192 246.445a6.445 6.445 0 1 0-.002-12.89 6.445 6.445 0 0 0 .002 12.89M192 238.222v-2M193.778 240h2M192 241.778v2M190.222 240h-2"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"132",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"132.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M148.667 90h-9.334c-.736 0-1.333.597-1.333 1.333v9.334c0 .736.597 1.333 1.333 1.333h9.334c.736 0 1.333-.597 1.333-1.333v-9.334c0-.736-.597-1.333-1.333-1.333"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M142 95.333a1.333 1.333 0 1 0 0-2.666 1.333 1.333 0 0 0 0 2.666M150 98l-2.057-2.057a1.334 1.334 0 0 0-1.886 0L140 102"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"132",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"132.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M138.889 234h4.375c.471 0 .924.188 1.257.521l5.111 5.111c.694.694.694 1.82 0 2.514l-3.486 3.486a1.78 1.78 0 0 1-2.514 0l-5.111-5.111a1.78 1.78 0 0 1-.521-1.257v-4.375c0-.491.398-.889.889-.889"}),r("path",{fill:"currentColor",fillOpacity:"0.5",d:"M141.556 238.667a1.112 1.112 0 1 0-.002-2.224 1.112 1.112 0 0 0 .002 2.224"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"84",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"84.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m96.889 93.778 2 2-2 2"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M98.889 95.778h-3.111c-.982 0-1.778.795-1.778 1.778V98"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m97.258 101.854 4.596-4.597a1.777 1.777 0 0 0 0-2.514l-4.596-4.597a1.78 1.78 0 0 0-2.514 0l-4.597 4.597a1.78 1.78 0 0 0 0 2.514l4.597 4.597c.694.694 1.82.694 2.514 0"})]}),e("g",{children:[r("rect",{width:"24",height:"24",x:"84",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"23",height:"23",x:"84.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M92.667 246.444a2.222 2.222 0 1 0 .001-4.443 2.222 2.222 0 0 0-.001 4.443M99.333 246.444a2.222 2.222 0 1 0 .002-4.443 2.222 2.222 0 0 0-.002 4.443M98.563 233.556h-5.126a.89.89 0 0 0-.88.763l-.335 2.348-2.666 2.666h12.888l-2.666-2.666-.335-2.348a.89.89 0 0 0-.88-.763M92.222 236.667h7.556"}),r("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M94.738 243.415a1.775 1.775 0 0 1 2.524 0"})]}),r("g",{filter:`url(#${t}-t)`,opacity:"0.16",children:r("ellipse",{cx:"62",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),r("g",{filter:`url(#${t}-u)`,opacity:"0.16",children:r("ellipse",{cx:"276",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),r("rect",{width:"240",height:"48",x:"48",y:"144",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),r("rect",{width:"240",height:"48",x:"48",y:"144",stroke:"currentColor",className:"text-[var(--grid)]",strokeOpacity:"0.5",strokeWidth:"0.5",rx:"8"}),e("g",{children:[r("rect",{width:"24",height:"24",x:"61",y:"156",fill:`url(#${t}-w)`,rx:"12"}),r("rect",{width:"25",height:"25",x:"60.5",y:"155.5",stroke:"#030712",strokeOpacity:"0.1",rx:"12.5"}),r("circle",{cx:"73",cy:"168",r:"6",fill:`url(#${t}-x)`})]}),r("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"12",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:r("tspan",{x:"97",y:"165.364",children:"d.to/try"})}),r("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"M104.931 176.792h-4.084a.78.78 0 0 1-.778-.778v-1.556"}),r("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"m103.278 175.139 1.653 1.653-1.653 1.653"}),r("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"9",letterSpacing:"-.02em",style:{whiteSpace:"pre"},children:r("tspan",{x:"110",y:"179.773",children:"app.dub.co/register"})}),r("path",{className:"text-[var(--fg)]",fill:"currentColor",fillOpacity:"0.04",d:"M229.25 164.6c0-1.684 0-2.932.081-3.92.08-.985.24-1.69.546-2.29a5.75 5.75 0 0 1 2.513-2.513c.6-.306 1.305-.466 2.29-.546.988-.081 2.236-.081 3.92-.081h26.8c1.684 0 2.932 0 3.92.081.985.08 1.69.24 2.29.546a5.75 5.75 0 0 1 2.513 2.513c.306.6.466 1.305.546 2.29.081.988.081 2.236.081 3.92v6.8c0 1.684 0 2.932-.081 3.92-.08.985-.24 1.69-.546 2.29a5.75 5.75 0 0 1-2.513 2.513c-.6.306-1.305.466-2.29.546-.988.081-2.236.081-3.92.081h-26.8c-1.684 0-2.932 0-3.92-.081-.985-.08-1.69-.24-2.29-.546a5.75 5.75 0 0 1-2.513-2.513c-.306-.6-.466-1.305-.546-2.29-.081-.988-.081-2.236-.081-3.92z"}),r("path",{className:"text-[var(--grid)]",stroke:"currentColor",strokeWidth:"0.5",d:"M229.25 164.6c0-1.684 0-2.932.081-3.92.08-.985.24-1.69.546-2.29a5.75 5.75 0 0 1 2.513-2.513c.6-.306 1.305-.466 2.29-.546.988-.081 2.236-.081 3.92-.081h26.8c1.684 0 2.932 0 3.92.081.985.08 1.69.24 2.29.546a5.75 5.75 0 0 1 2.513 2.513c.306.6.466 1.305.546 2.29.081.988.081 2.236.081 3.92v6.8c0 1.684 0 2.932-.081 3.92-.08.985-.24 1.69-.546 2.29a5.75 5.75 0 0 1-2.513 2.513c-.6.306-1.305.466-2.29.546-.988.081-2.236.081-3.92.081h-26.8c-1.684 0-2.932 0-3.92-.081-.985-.08-1.69-.24-2.29-.546a5.75 5.75 0 0 1-2.513-2.513c-.306-.6-.466-1.305-.546-2.29-.081-.988-.081-2.236-.081-3.92z"}),r("g",{stroke:"currentColor",strokeOpacity:"0.7",strokeLinecap:"round",strokeLinejoin:"round",clipPath:`url(#${t}-y)`,children:r("path",{d:"m240.395 167.185 4.876 1.673c.148.051.15.259.004.313l-2.186.822a.17.17 0 0 0-.097.098l-.822 2.186a.166.166 0 0 1-.313-.005l-1.674-4.876a.167.167 0 0 1 .212-.212zM243.019 170.021l2.808 2.808M240.165 163.167v1.333M242.995 164.338l-.943.943M237.338 169.995l.943-.943M236.166 167.166h1.333M237.338 164.338l.943.943"})}),r("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"10",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:r("tspan",{x:"251",y:"171.636",children:"51K"})})]}),e("defs",{children:[e("linearGradient",{id:`${t}-b`,x1:"192.5",x2:"192.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-c`,x1:"192.5",x2:"192.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-d`,x1:"144.5",x2:"144.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-e`,x1:"144.5",x2:"144.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-f`,x1:"96.5",x2:"96.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-g`,x1:"96.5",x2:"96.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-h`,x1:"240.5",x2:"240.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-i`,x1:"240.5",x2:"240.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EA580C"}),r("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),r("stop",{offset:"1",stopColor:"#EA580C"})]}),e("linearGradient",{id:`${t}-j`,x1:"13",x2:"47",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EAB308",stopOpacity:"0"}),r("stop",{offset:"1",stopColor:"#EAB308"})]}),e("linearGradient",{id:`${t}-k`,x1:"323",x2:"289",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#EAB308",stopOpacity:"0"}),r("stop",{offset:"1",stopColor:"#EAB308"})]}),e("linearGradient",{id:`${t}-w`,x1:"73",x2:"73",y1:"156",y2:"180",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#030712",stopOpacity:"0"}),r("stop",{offset:"1",stopColor:"#030712",stopOpacity:"0.05"})]}),e("filter",{id:`${t}-t`,width:"96",height:"46",x:"14",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),r("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),e("filter",{id:`${t}-u`,width:"96",height:"46",x:"228",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),r("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),r("clipPath",{id:`${t}-a`,children:r("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M0 0h336v336H0z"})}),r("clipPath",{id:`${t}-y`,children:r("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M235 162h12v12h-12z"})}),r("pattern",{id:`${t}-x`,width:"1",height:"1",patternContentUnits:"objectBoundingBox",children:r("use",{xlinkHref:`#${t}-z`,transform:"scale(.01563)"})}),r("image",{href:`${c}dub.co`,id:`${t}-z`,width:"64",height:"64"})]})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as g,e as b}from"./chunk-GYMAR7NH.mjs";import{a as c,c as l,f}from"./chunk-N4B7OYMT.mjs";import{a as h}from"./chunk-AY63N3KD.mjs";import{a as v}from"./chunk-LUCC6FPP.mjs";import{a as u}from"./chunk-SMHQYHDD.mjs";import{a as p}from"./chunk-4Y25GOWJ.mjs";import{i,m as n}from"./chunk-HVAJT6I7.mjs";import k from"next/link";import{jsx as e,jsxs as a}from"react/jsx-runtime";var w=[{title:"Dub API",description:"Programmatic link creation at scale",icon:u,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:p,href:"/docs/integrations"}];function S({domain:t}){return a("div",{className:"grid w-[1020px] grid-cols-[repeat(2,minmax(0,1fr)),0.8fr] gap-4 p-5",children:[a(k,{href:i("/home",t),className:"group relative flex flex-col rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[a("div",{className:"p-5 pb-0",children:[e("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Links"}),e("p",{className:"mt-3 max-w-56 text-sm text-neutral-500 dark:text-white/60",children:"Short links with superpowers for the modern marketer"})]}),e("div",{className:"relative grow overflow-hidden",children:e(v,{className:"absolute bottom-0 h-auto w-full [mask-image:linear-gradient(transparent,black_20%,black_80%,transparent)]"})}),e("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#f4950c,transparent)] opacity-[0.07] transition-opacity duration-150 group-hover:opacity-[0.2]"})]}),a("div",{className:"flex flex-col gap-4",children:[a(k,{href:i("/help/article/dub-analytics",t),className:"group relative flex flex-col overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[e(h,{className:"absolute bottom-0 h-auto w-full translate-y-[15%] [mask-image:linear-gradient(90deg,transparent,black)]"}),e("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#36D78F,transparent)] opacity-[0.07] transition-opacity duration-150 group-hover:opacity-[0.2]"}),a("div",{className:"h-56 p-5",children:[e("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Analytics"}),e("p",{className:"mt-3 max-w-48 text-sm text-neutral-500 dark:text-white/60",children:"Powerful real-time analytics with conversion tracking"})]})]}),e("div",{className:"grid grow grid-rows-2 gap-4",children:w.map(({title:r,description:o,icon:s,href:m})=>e(f,{title:r,description:o,icon:s,href:i(m,t)},r))})]}),a("div",{className:"pl-2 pt-2",children:[e("p",{className:n(c,"mb-2"),children:"Customer Stories"}),a("div",{className:"grid grid-cols-1",children:[g.map(({icon:r,iconClassName:o,title:s,description:m,href:d})=>e(l,{href:i(d,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:s}),className:"-mx-2",icon:e("div",{className:"shrink-0 rounded-[10px] border border-gray-200 bg-white/50 p-2 dark:border-white/20 dark:bg-white/10",children:e(r,{className:n("h-4 w-4 shrink-0 text-gray-600 transition-colors dark:text-white/60",o)})}),title:s,description:m},d)),e(l,{href:i("/customers",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Customer Stories"}),title:"View all stories",showArrow:!0})]}),e("p",{className:n(c,"mb-2 mt-5"),children:"Compare"}),e("div",{className:"flex flex-col",children:b.map(({name:r,slug:o})=>e(l,{href:i(`/compare/${o}`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:`Dub vs. ${r}`}),title:`Dub vs. ${r}`,showArrow:!0},o))})]})]})}export{S as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as l}from"./chunk-LTXYZWOV.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:l("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as w}from"./chunk-RURMT663.mjs";import{a as x,e as k,f as L}from"./chunk-FOPMPAOZ.mjs";import{a as C}from"./chunk-FHWV6EZK.mjs";import{a as v}from"./chunk-GLDAVYEQ.mjs";import{a as b}from"./chunk-5FM7X6BM.mjs";import{a as _}from"./chunk-5YWZRRD6.mjs";import{a as N}from"./chunk-ALEYOCBW.mjs";import{h as m,k as f,m as g,n as h}from"./chunk-NGCWPE34.mjs";import D from"next/image";import n from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as y}from"react";import I from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var P=[{name:"Twitter",icon:v,href:"https://twitter.com/dubdotco"},{name:"LinkedIn",icon:_,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:N,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:b,href:"https://www.youtube.com/@dubdotco"}],i={features:x.map(({title:o,href:r})=>({name:o,href:r})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Docs",href:"/docs"},{name:"Help Center",href:"/help"},{name:"Brand",href:"/brand"}],compare:k.map(({name:o,slug:r})=>({name:o,href:`/compare/${r}`})),legal:L.map(({name:o,slug:r})=>({name:o,href:`/legal/${r}`})),tools:h.map(({name:o,slug:r})=>({name:o,href:`/tools/${r}`}))},l="text-sm font-medium text-neutral-900",c="flex flex-col mt-2.5 gap-2.5",u="text-sm text-neutral-500 hover:text-neutral-700 transition-colors duration-75";function j({staticDomain:o,className:r}){let{domain:s="dub.co"}=E();return o&&(s=o),e(C,{className:g("relative z-10 overflow-hidden border border-b-0 border-neutral-200 bg-white/50 py-16 backdrop-blur-lg md:rounded-t-2xl",r),children:t("footer",{children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"flex flex-col gap-6",children:[e("div",{className:"grow",children:t(n,{href:m("/",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"Logo"}),className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(w,{className:"h-8 text-gray-800"})]})}),e("div",{className:"flex items-center gap-3",children:P.map(({name:a,icon:d,href:p})=>t("a",{href:p,target:"_blank",rel:"noreferrer",className:"group rounded-full p-1",children:[e("span",{className:"sr-only",children:a}),e(d,{className:"size-4 text-neutral-900 transition-colors duration-75 group-hover:text-neutral-600"})]},a))})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:l,children:"Product"}),e("ul",{role:"list",className:c,children:i.features.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:l,children:"Resources"}),e("ul",{role:"list",className:c,children:i.product.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:l,children:"Compare"}),e("ul",{role:"list",className:c,children:i.compare.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]}),t("div",{children:[e("h3",{className:l,children:"Legal"}),e("ul",{role:"list",className:c,children:i.legal.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:l,children:"Tools"}),e("ul",{role:"list",className:c,children:i.tools.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:u,children:a.name})},a.name))})]})]})]})]}),t("div",{className:"mt-12 grid grid-cols-1 items-center gap-8 sm:grid-cols-3",children:[e(z,{}),e(n,{href:m("/blog/soc2",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"SOC2"}),className:"flex sm:justify-center",children:e(D,{src:"https://assets.dub.co/misc/soc2.svg",alt:"AICPA SOC 2 Type II Certified",width:63,height:32,className:"h-8 transition-[filter] duration-75 hover:brightness-90"})}),t("p",{className:"text-xs text-neutral-500 sm:text-right",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]})]})})}function z(){let{data:o}=I("https://status.dub.co/api/v1/summary",f),[r,s]=y("bg-neutral-200"),[a,d]=y("Loading status...");return F(()=>{if(!o)return;let{ongoing_incidents:p}=o;if(p.length>0){let{current_worst_impact:A,name:S}=p[0],T=A==="degraded_performance"?"bg-yellow-500":"bg-red-500";d(S),s(T)}else d("All systems operational"),s("bg-green-500")},[o]),t(n,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center gap-2 rounded-lg border border-neutral-200 bg-white py-2 pl-2 pr-2.5 transition-colors hover:bg-neutral-50 active:bg-neutral-100",children:[t("div",{className:"relative size-2",children:[e("div",{className:g("absolute inset-0 m-auto size-2 animate-ping items-center justify-center rounded-full group-hover:animate-none",r,a==="Loading status..."&&"animate-none")}),e("div",{className:g("absolute inset-0 z-10 m-auto size-2 rounded-full",r)})]}),e("p",{className:"text-xs font-medium leading-none text-neutral-600",children:a})]})}export{j as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as y}from"./chunk-RURMT663.mjs";import{a as x,e as k,f as L}from"./chunk-FOPMPAOZ.mjs";import{a as C}from"./chunk-FHWV6EZK.mjs";import{a as v}from"./chunk-GLDAVYEQ.mjs";import{a as b}from"./chunk-5FM7X6BM.mjs";import{a as _}from"./chunk-5YWZRRD6.mjs";import{a as N}from"./chunk-ALEYOCBW.mjs";import{h as m,k as f,m as g,n as h}from"./chunk-NGCWPE34.mjs";import{ExternalLink as S}from"lucide-react";import D from"next/image";import n from"next/link";import{useParams as F}from"next/navigation";import{useEffect as I,useState as w}from"react";import P from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var z=[{name:"Twitter",icon:v,href:"https://twitter.com/dubdotco"},{name:"LinkedIn",icon:_,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:N,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:b,href:"https://www.youtube.com/@dubdotco"}],l={features:x.map(({title:r,href:o})=>({name:r,href:o})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Docs",href:"/docs"},{name:"Help Center",href:"/help"},{name:"Brand",href:"/brand"}],compare:k.map(({name:r,slug:o})=>({name:r,href:`/compare/${o}`})),legal:L.map(({name:r,slug:o})=>({name:r,href:`/legal/${o}`})),tools:h.map(({name:r,slug:o})=>({name:r,href:`/tools/${o}`}))},c="text-sm font-medium text-neutral-900",u="flex flex-col mt-2.5 gap-2.5",i="text-sm text-neutral-500 hover:text-neutral-700 transition-colors duration-75";function q({staticDomain:r,className:o}){let{domain:s="dub.co"}=F();return r&&(s=r),e(C,{className:g("relative z-10 overflow-hidden border border-b-0 border-neutral-200 bg-white/50 py-16 backdrop-blur-lg md:rounded-t-2xl",o),children:t("footer",{children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"flex flex-col gap-6",children:[e("div",{className:"grow",children:t(n,{href:m("/",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"Logo"}),className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(y,{className:"h-8 text-gray-800"})]})}),e("div",{className:"flex items-center gap-3",children:z.map(({name:a,icon:d,href:p})=>t("a",{href:p,target:"_blank",rel:"noreferrer",className:"group rounded-full p-1",children:[e("span",{className:"sr-only",children:a}),e(d,{className:"size-4 text-neutral-900 transition-colors duration-75 group-hover:text-neutral-600"})]},a))})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:c,children:"Product"}),e("ul",{role:"list",className:u,children:l.features.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:i,children:a.name})},a.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:c,children:"Resources"}),e("ul",{role:"list",className:u,children:l.product.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:i,children:a.name})},a.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:c,children:"Compare"}),e("ul",{role:"list",className:u,children:l.compare.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:i,children:a.name})},a.name))})]}),t("div",{children:[e("h3",{className:c,children:"Legal"}),t("ul",{role:"list",className:u,children:[l.legal.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:i,children:a.name})},a.name)),e("li",{children:t("a",{href:"https://security.dub.co",target:"_blank",rel:"noreferrer",className:i,children:["Trust Center ",e(S,{className:"size-3"})]})})]})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:c,children:"Tools"}),e("ul",{role:"list",className:u,children:l.tools.map(a=>e("li",{children:e(n,{href:m(a.href,s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:a.name}),className:i,children:a.name})},a.name))})]})]})]})]}),t("div",{className:"mt-12 grid grid-cols-1 items-center gap-8 sm:grid-cols-3",children:[e(W,{}),e(n,{href:m("/blog/soc2",s,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:s,utm_content:"SOC2"}),className:"flex sm:justify-center",children:e(D,{src:"https://assets.dub.co/misc/soc2.svg",alt:"AICPA SOC 2 Type II Certified",width:63,height:32,className:"h-8 transition-[filter] duration-75 hover:brightness-90"})}),t("p",{className:"text-xs text-neutral-500 sm:text-right",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]})]})})}function W(){let{data:r}=P("https://status.dub.co/api/v1/summary",f),[o,s]=w("bg-neutral-200"),[a,d]=w("Loading status...");return I(()=>{if(!r)return;let{ongoing_incidents:p}=r;if(p.length>0){let{current_worst_impact:T,name:A}=p[0],E=T==="degraded_performance"?"bg-yellow-500":"bg-red-500";d(A),s(E)}else d("All systems operational"),s("bg-green-500")},[r]),t(n,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center gap-2 rounded-lg border border-neutral-200 bg-white py-2 pl-2 pr-2.5 transition-colors hover:bg-neutral-50 active:bg-neutral-100",children:[t("div",{className:"relative size-2",children:[e("div",{className:g("absolute inset-0 m-auto size-2 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,a==="Loading status..."&&"animate-none")}),e("div",{className:g("absolute inset-0 z-10 m-auto size-2 rounded-full",o)})]}),e("p",{className:"text-xs font-medium leading-none text-neutral-600",children:a})]})}export{q as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as h}from"./chunk-DCXGQAWG.mjs";import{b as v}from"./chunk-U4U2SEQH.mjs";import{a as f,h as l,o as y}from"./chunk-LTXYZWOV.mjs";import*as s from"@radix-ui/react-tooltip";import R from"linkify-react";import{HelpCircle as B}from"lucide-react";import C from"next/link";import{useState as L}from"react";import{cva as P}from"class-variance-authority";import{forwardRef as k}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=P("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:l("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-neutral-600 hover:bg-neutral-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),b=k(({text:t,variant:e="primary",className:o,textWrapperClassName:i,loading:n,icon:m,shortcut:a,disabledTooltip:x,right:N,...u},w)=>x?p(d,{content:x,children:T("div",{className:l("flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e==null?void 0:e.endsWith("outline")},o),children:[m,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e==null?void 0:e.endsWith("outline")}),children:a})]})}):T("button",{ref:w,type:u.onClick?"button":"submit",className:l("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",u.disabled||n?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none":c({variant:e}),o),disabled:u.disabled||n,...u,children:[n?p(h,{}):m||null,t&&p("div",{className:l("min-w-0 truncate",a&&"flex-1 text-left",i),children:t}),a&&p("kbd",{className:l("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:a}),N]}));b.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function K({children:t}){return r(s.Provider,{delayDuration:150,children:t})}function d({children:t,content:e,side:o="top",disableHoverableContent:i,...n}){let[m,a]=L(!1);return g(s.Root,{open:m,onOpenChange:a,delayDuration:0,disableHoverableContent:i,children:[r(s.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),r(s.Portal,{children:r(s.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,...n,children:typeof e=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:e}):typeof e=="function"?e({setOpen:a}):e})})]})}function Q({title:t,cta:e,href:o,target:i,onClick:n}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:t}),e&&(o?r(C,{href:o,...i?{target:i}:{},className:l(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:e}):n?r(b,{onClick:n,text:e,variant:"primary",className:"h-9"}):null)]})}function U({title:t,cta:e,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function X({children:t}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(R,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function Y(t){return r(d,{...t,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Z({value:t,unit:e="total clicks",prefix:o,children:i,lastClicked:n}){return(!t||t<1e3)&&!n?i:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,f(t||0,{full:!0})," ",e]}),n&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",(void 0)(n,{withAgo:!0})]})]}),children:i})}function $({children:t,content:e,...o}){return r(d,{content:e,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(v,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}function ee({children:t,tooltipProps:e,...o}){return r(d,{...e,children:r("button",{type:"button",...o,className:l("flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",o.className),children:t})})}export{K as a,d as b,Q as c,U as d,X as e,Y as f,Z as g,$ as h,ee as i,c as j,b as k};
|