Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

simplify to 3 steps

Steven Tey74d5395c5741
diff --git a/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/[[...guide]]/page.tsx b/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/[[...guide]]/page.tsx
index a509ce30ef..8e51076e5c 100644
--- a/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/[[...guide]]/page.tsx
+++ b/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/[[...guide]]/page.tsx
@@ -31,14 +31,12 @@ export default async function ConnectGuidesPage({
}
return (
- <StepPage title="Connecting Dub">
+ <StepPage title="Set up conversion tracking">
<div>
<p className="mb-6 text-sm text-neutral-600">
- Ensure Dub is connected to your app, so you can track your clicks,
- leads, and sales on your program.{" "}
- <span className="font-medium">
- A developer might be required to complete.
- </span>
+ Connect Dub to your application and start tracking lead and sale
+ conversion events.{" "}
+ <span className="font-medium">Estimated time: 1 hour</span>
</p>
{selectedGuide && markdownContent ? (
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/tracking-guide/[[...guide]]/layout.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/guides/[[...guide]]/layout.tsx
similarity index 100%
rename from apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/tracking-guide/[[...guide]]/layout.tsx
rename to apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/guides/[[...guide]]/layout.tsx
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/tracking-guide/[[...guide]]/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/guides/[[...guide]]/page.tsx
similarity index 100%
rename from apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/tracking-guide/[[...guide]]/page.tsx
rename to apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/guides/[[...guide]]/page.tsx
diff --git a/apps/web/integration-guides/golang.md b/apps/web/integration-guides/golang.md
deleted file mode 100644
index c85e5e9154..0000000000
--- a/apps/web/integration-guides/golang.md
+++ /dev/null
@@ -1,35 +0,0 @@
-## Installation
-
-```bash
-go get github.com/dubinc/dub-go
-```
-
-## Basic Usage
-
-Here's how you can use the Dub Go SDK:
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "log"
- "os"
-
- dub "github.com/dubinc/dub-go"
-)
-
-func main() {
- // Initialize the Dub SDK with your API key
- d := dub.New(
- dub.WithSecurity(os.Getenv("DUB_API_KEY")), // optional, defaults to DUB_API_KEY
- )
-}
-```
-
-Additional resources:
-
-1. [NPM Package](https://d.to/go/sdk)
-2. [SDK Reference](https://github.com/dubinc/dub-go/blob/main/README.md)
-3. [Examples](https://github.com/dubinc/examples/tree/main/go)
diff --git a/apps/web/integration-guides/php.md b/apps/web/integration-guides/php.md
deleted file mode 100644
index 7b87c5fb06..0000000000
--- a/apps/web/integration-guides/php.md
+++ /dev/null
@@ -1,31 +0,0 @@
-## Installation
-
-```bash
-composer require dub/dub-php
-```
-
-## Basic Usage
-
-Here's how you can use the Dub PHP SDK:
-
-```php
-<?php
-
-declare(strict_types=1);
-
-require 'vendor/autoload.php';
-
-use Dub\Dub;
-use Dub\Models\Operations;
-
-// Initialize the Dub SDK with your API key
-$dub = Dub::builder()
- ->setSecurity(getenv('DUB_API_KEY')) // optional, defaults to DUB_API_KEY
- ->build();
-```
-
-Additional resources:
-
-1. [NPM Package](https://d.to/php/sdk)
-2. [SDK Reference](https://github.com/dubinc/dub-php/blob/main/README.md)
-3. [Examples](https://github.com/dubinc/examples/tree/main/php)
diff --git a/apps/web/integration-guides/python.md b/apps/web/integration-guides/python.md
deleted file mode 100644
index 2b2eb809de..0000000000
--- a/apps/web/integration-guides/python.md
+++ /dev/null
@@ -1,26 +0,0 @@
-## Installation
-
-```bash
-pip install dub
-```
-
-## Basic Usage
-
-Here's how you can use the Dub Python SDK:
-
-```python
-import os
-import dub
-from dub.models import operations
-
-# Initialize the Dub SDK with your API key
-d = dub.Dub(
- token=os.environ['DUB_API_KEY'], # optional, defaults to DUB_API_KEY
-)
-```
-
-Additional resources:
-
-1. [NPM Package](https://d.to/python/sdk)
-2. [SDK Reference](https://github.com/dubinc/dub-python/blob/main/README.md)
-3. [Examples](https://github.com/dubinc/examples/tree/main/python)
diff --git a/apps/web/integration-guides/ruby.md b/apps/web/integration-guides/ruby.md
deleted file mode 100644
index 12df47f918..0000000000
--- a/apps/web/integration-guides/ruby.md
+++ /dev/null
@@ -1,27 +0,0 @@
-## Installation
-
-```bash
-gem install dub
-```
-
-## Basic Usage
-
-Here's how you can use the Dub Ruby SDK:
-
-```ruby
-require 'dub'
-
-# Initialize the Dub SDK with your API key
-dub = ::OpenApiSDK::Dub.new
-dub.config_security(
- ::OpenApiSDK::Shared::Security.new(
- token: ENV['DUB_API_KEY'], # optional, defaults to DUB_API_KEY
- )
-)
-```
-
-Additional resources:
-
-1. [NPM Package](https://d.to/ruby/sdk)
-2. [SDK Reference](https://github.com/dubinc/dub-ruby/blob/main/README.md)
-3. [Examples](https://github.com/dubinc/examples/tree/main/ruby)
diff --git a/apps/web/integration-guides/typescript.md b/apps/web/integration-guides/typescript.md
deleted file mode 100644
index 16b3d2bfd5..0000000000
--- a/apps/web/integration-guides/typescript.md
+++ /dev/null
@@ -1,35 +0,0 @@
-## Installation
-
-Install the Dub TypeScript SDK using your package manager of choice:
-
-```bash npm
-npm install dub
-```
-
-```bash pnpm
-pnpm add dub
-```
-
-```bash yarn
-# zod is a peer dependency
-yarn add dub zod
-```
-
-## Basic Usage
-
-Here's how you can use the Dub TypeScript SDK:
-
-```typescript
-import { Dub } from "dub";
-
-// Initialize the Dub SDK with your API key
-const dub = new Dub({
- token: process.env.DUB_API_KEY, // optional, defaults to DUB_API_KEY
-});
-```
-
-Additional resources:
-
-1. [NPM Package](https://d.to/ts/sdk)
-2. [SDK Reference](https://github.com/dubinc/dub-ts/blob/main/README.md)
-3. [Examples](https://github.com/dubinc/examples/tree/main/typescript)
diff --git a/apps/web/ui/guides/guide-list.tsx b/apps/web/ui/guides/guide-list.tsx
index 058599f5f8..c54a36e485 100644
--- a/apps/web/ui/guides/guide-list.tsx
+++ b/apps/web/ui/guides/guide-list.tsx
@@ -62,7 +62,7 @@ export function GuideList() {
}
};
- const showConnectLaterButton = pathname.includes("connect");
+ const showConnectLaterButton = pathname.includes("/program/new/connect");
return (
<div>
@@ -99,17 +99,16 @@ export function GuideList() {
<ProgramSheetAccordionContent>
<div className="space-y-6">
- <p className="text-sm font-medium leading-5 text-neutral-700">
+ <p className="text-sm font-medium text-neutral-600">
{section.description}
</p>
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3">
{(guidesByType[section.type] || []).map((guide) => (
<Link
- prefetch={true}
- href={`${pathname}/${guide.key}`}
key={guide.title}
- className="group relative flex h-[140px] cursor-pointer flex-col items-center justify-center gap-3 rounded-lg bg-neutral-100 px-2 py-4 text-center"
+ href={`${pathname}/${guide.key}`}
+ className="group relative flex h-[140px] cursor-pointer flex-col items-center justify-center gap-3 rounded-lg bg-neutral-100 px-2 py-4 text-center transition-colors hover:bg-neutral-200/75"
>
<div className="flex h-16 w-full items-center justify-center">
<guide.icon className="size-10" />
@@ -120,9 +119,9 @@ export function GuideList() {
{guide.title}
</div>
- {guide.subDescription && (
+ {guide.subtitle && (
<div className="w-full text-sm font-medium leading-5 text-neutral-500">
- {guide.subDescription}
+ {guide.subtitle}
</div>
)}
</div>
@@ -137,9 +136,7 @@ export function GuideList() {
onClick={() => handleComplete(section.type)}
/>
- {["server-sdk", "track-leads", "track-sales"].includes(
- section.type,
- ) && (
+ {["track-leads", "track-sales"].includes(section.type) && (
<p className="flex items-center justify-center gap-2 text-center text-sm font-medium leading-5 text-neutral-500">
<Shopify className="inline size-4" />
If you're using Shopify, you can skip this step.{" "}
@@ -165,7 +162,7 @@ export function GuideList() {
<div className="mt-6 flex items-center justify-end gap-4">
<Link href={`/${workspaceSlug}/program/new/overview`}>
<Button
- text="I'll connect Dub later"
+ text="I'll set up conversion tracking later"
className="h-8 w-fit rounded-lg"
variant="secondary"
/>
diff --git a/apps/web/ui/guides/guide.tsx b/apps/web/ui/guides/guide.tsx
index 61bef6a1a6..baf6096741 100644
--- a/apps/web/ui/guides/guide.tsx
+++ b/apps/web/ui/guides/guide.tsx
@@ -8,10 +8,9 @@ import { guides, IntegrationType } from "./integrations";
import { Markdown } from "./markdown";
const integrationTypeToTitle: Record<IntegrationType, string> = {
- "client-sdk": "Set up client-side script",
- "server-sdk": "Set up server-side SDK",
- "track-leads": "Tracking lead events",
- "track-sales": "Tracking sale events",
+ "client-sdk": "Install client-side script",
+ "track-leads": "Track lead events",
+ "track-sales": "Track sale events",
};
export function Guide({ markdown }: { markdown: string }) {
diff --git a/apps/web/ui/guides/integrations.ts b/apps/web/ui/guides/integrations.ts
index a2441c852c..f2020c15a7 100644
--- a/apps/web/ui/guides/integrations.ts
+++ b/apps/web/ui/guides/integrations.ts
@@ -3,32 +3,23 @@ import { Auth0 } from "@/ui/layout/sidebar/conversions/icons/auth0";
import { BetterAuth } from "@/ui/layout/sidebar/conversions/icons/better-auth";
import { Clerk } from "@/ui/layout/sidebar/conversions/icons/clerk";
import { Framer } from "@/ui/layout/sidebar/conversions/icons/framer";
-import { Go } from "@/ui/layout/sidebar/conversions/icons/go";
import { NextAuth } from "@/ui/layout/sidebar/conversions/icons/next-auth";
-import { Php } from "@/ui/layout/sidebar/conversions/icons/php";
-import { Python } from "@/ui/layout/sidebar/conversions/icons/python";
import { React } from "@/ui/layout/sidebar/conversions/icons/react";
-import { Ruby } from "@/ui/layout/sidebar/conversions/icons/ruby";
import { Shopify } from "@/ui/layout/sidebar/conversions/icons/shopify";
import { Stripe } from "@/ui/layout/sidebar/conversions/icons/stripe";
import { Supabase } from "@/ui/layout/sidebar/conversions/icons/supabase";
-import { Typescript } from "@/ui/layout/sidebar/conversions/icons/typescript";
import { Webflow } from "@/ui/layout/sidebar/conversions/icons/webflow";
import { Wordpress } from "@/ui/layout/sidebar/conversions/icons/wordpress";
import { CodeEditor } from "../layout/sidebar/conversions/icons/code-editor";
-export type IntegrationType =
- | "client-sdk"
- | "server-sdk"
- | "track-leads"
- | "track-sales";
+export type IntegrationType = "client-sdk" | "track-leads" | "track-sales";
export type IntegrationGuide = {
type: IntegrationType;
key: string;
title: string;
description?: string;
- subDescription?: string;
+ subtitle?: string;
icon: any;
recommended?: boolean;
content?: string;
@@ -42,27 +33,21 @@ export const sections: {
}[] = [
{
type: "client-sdk",
- title: "Set up client-side script",
+ title: "Install client-side script",
description:
- "The step allows Dub to track clicks, automatically fetch the partner and discount data for a given link. Select the guide for instructions.",
- },
- {
- type: "server-sdk",
- title: "Set up server-side SDK",
- description:
- "Install the server-side SDK of your choice and select the guide for instructions.",
+ "First, you need to install Dub's client-side script, which enables Dub to track click events and store them as a first-party cookie on your site.",
},
{
type: "track-leads",
title: "Track lead events",
description:
- "The step allows your app to send lead events to Dub. Select the guide for instructions.",
+ "Then, you'll track a lead event (e.g. when a user signs up for an account on your application) using our server-side SDKs or REST API.",
},
{
type: "track-sales",
title: "Track sale events",
description:
- "The step allows your app to send sale events to Dub. Select the guide for instructions.",
+ "Finally, you can use our Stripe integration or server-side SDKs to track sale events (e.g. when a user purchases a product on your application).",
},
];
@@ -106,56 +91,12 @@ export const guides: IntegrationGuide[] = [
{
type: "client-sdk",
key: "manual-client-sdk",
- title: "Manual",
+ title: "Manual Installation",
description: "Manual Installation",
icon: CodeEditor,
url: "https://dub.co/docs/sdks/client-side/installation-guides/manual",
},
- // Server SDK
- {
- type: "server-sdk",
- key: "typescript",
- title: "TypeScript",
- icon: Typescript,
- url: "https://dub.co/docs/sdks/typescript",
- },
- {
- type: "server-sdk",
- key: "golang",
- title: "Go",
- icon: Go,
- url: "https://dub.co/docs/sdks/go",
- },
- {
- type: "server-sdk",
- key: "python",
- title: "Python",
- icon: Python,
- url: "https://dub.co/docs/sdks/python",
- },
- {
- type: "server-sdk",
- key: "ruby",
- title: "Ruby",
- icon: Ruby,
- url: "https://dub.co/docs/sdks/ruby",
- },
- {
- type: "server-sdk",
- key: "php",
- title: "PHP",
- icon: Php,
- url: "https://dub.co/docs/sdks/php",
- },
- {
- type: "server-sdk",
- key: "rest-api",
- title: "REST API",
- icon: CodeEditor,
- url: "https://dub.co/docs/api-reference/introduction",
- },
-
// Track Leads
{
type: "track-leads",
@@ -202,10 +143,10 @@ export const guides: IntegrationGuide[] = [
{
type: "track-leads",
key: "manual-track-leads",
- title: "Manual",
+ title: "Custom Integration",
description: "Manual Lead Tracking",
icon: CodeEditor,
- url: "https://dub.co/docs/api-reference/endpoint/track-lead",
+ url: "https://dub.co/docs/conversions/leads/introduction",
},
// {
// type: "track-leads",
@@ -219,7 +160,7 @@ export const guides: IntegrationGuide[] = [
type: "track-sales",
key: "stripe-checkout",
title: "Stripe",
- subDescription: "Checkout",
+ subtitle: "Checkout",
description: "Stripe Checkout",
icon: Stripe,
url: "https://dub.co/docs/conversions/sales/stripe#option-2%3A-using-stripe-checkout-recommended",
@@ -228,7 +169,7 @@ export const guides: IntegrationGuide[] = [
type: "track-sales",
key: "stripe-payment-links",
title: "Stripe",
- subDescription: "Payment Links",
+ subtitle: "Payment Links",
description: "Stripe Payment Links",
icon: Stripe,
url: "https://dub.co/docs/conversions/sales/stripe#option-1%3A-using-stripe-payment-links",
@@ -237,7 +178,7 @@ export const guides: IntegrationGuide[] = [
type: "track-sales",
key: "stripe-customers",
title: "Stripe",
- subDescription: "Customers",
+ subtitle: "Customers",
description: "Stripe Customers",
icon: Stripe,
url: "https://dub.co/docs/conversions/sales/stripe#option-3%3A-using-stripe-customers",
@@ -245,10 +186,10 @@ export const guides: IntegrationGuide[] = [
{
type: "track-sales",
key: "manual-track-sales",
- title: "Manual",
+ title: "Custom Integration",
description: "Manual Sale Tracking",
icon: CodeEditor,
- url: "https://dub.co/docs/api-reference/endpoint/track-sale",
+ url: "https://dub.co/docs/conversions/sales/introduction",
},
// {
// type: "track-sales",
diff --git a/apps/web/ui/layout/sidebar/conversions/icons/go.tsx b/apps/web/ui/layout/sidebar/conversions/icons/go.tsx
deleted file mode 100644
index 1fc4b1c7d5..0000000000
--- a/apps/web/ui/layout/sidebar/conversions/icons/go.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-import { SVGProps } from "react";
-
-export function Go(props: SVGProps<SVGSVGElement>) {
- return (
- <svg
- width="75"
- height="28"
- viewBox="0 0 75 28"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- >
- <g clip-path="url(#clip0_18024_112317)">
- <path
- fill-rule="evenodd"
- clip-rule="evenodd"
- d="M6.15824 8.65145C6.01465 8.65145 5.97875 8.57965 6.05055 8.47196L6.80439 7.50273C6.87619 7.39504 7.05567 7.32324 7.19926 7.32324H20.0146C20.1582 7.32324 20.1941 7.43093 20.1223 7.53863L19.5121 8.47196C19.4403 8.57965 19.2608 8.68735 19.1531 8.68735L6.15824 8.65145Z"
- fill="black"
- />
- <path
- fill-rule="evenodd"
- clip-rule="evenodd"
- d="M0.73734 11.9539C0.59375 11.9539 0.557853 11.8821 0.629647 11.7744L1.38349 10.8052C1.45529 10.6975 1.63478 10.6257 1.77837 10.6257H18.1476C18.2912 10.6257 18.363 10.7334 18.3271 10.8411L18.0399 11.7027C18.004 11.8462 17.8604 11.918 17.7168 11.918L0.73734 11.9539Z"
- fill="black"
- />
- <path
- fill-rule="evenodd"
- clip-rule="evenodd"
- d="M9.42484 15.2564C9.28125 15.2564 9.24535 15.1487 9.31715 15.041L9.81971 14.1436C9.89151 14.0359 10.0351 13.9282 10.1787 13.9282H17.3582C17.5018 13.9282 17.5736 14.0359 17.5736 14.1795L17.5018 15.041C17.5018 15.1846 17.3582 15.2923 17.2505 15.2923L9.42484 15.2564Z"
- fill="black"
- />
- <path
- fill-rule="evenodd"
- clip-rule="evenodd"
- d="M46.6859 8.00516C44.4244 8.57952 42.8808 9.01029 40.6552 9.58465C40.1167 9.72824 40.0808 9.76414 39.6141 9.22568C39.0757 8.61542 38.6808 8.22055 37.927 7.86158C35.6654 6.74875 33.4757 7.07183 31.4295 8.40004C28.9885 9.97952 27.7321 12.3129 27.768 15.2206C27.8039 18.0923 29.7782 20.4616 32.6141 20.8564C35.0552 21.1795 37.1013 20.318 38.7167 18.4872C39.0398 18.0923 39.327 17.6616 39.6859 17.159C38.3936 17.159 36.7782 17.159 32.7577 17.159C32.0039 17.159 31.8244 16.6923 32.0757 16.0821C32.5423 14.9693 33.4039 13.1026 33.9064 12.1693C34.0141 11.9539 34.2654 11.5949 34.8039 11.5949H47.8705C47.7988 12.5641 47.7988 13.5334 47.6552 14.5026C47.2603 17.0872 46.2911 19.4564 44.7116 21.5385C42.127 24.9488 38.7526 27.0667 34.4808 27.6411C30.9629 28.1077 27.6962 27.4257 24.8244 25.2718C22.168 23.2616 20.6603 20.6052 20.2654 17.3026C19.7988 13.3898 20.9475 9.87183 23.3167 6.78465C25.8654 3.44619 29.2398 1.32824 33.368 0.574396C36.7423 -0.0358609 39.9731 0.359011 42.8808 2.33337C44.7834 3.58978 46.1475 5.31286 47.0449 7.39491C47.2603 7.71799 47.1167 7.89747 46.6859 8.00516Z"
- fill="black"
- />
- <path
- d="M58.5677 27.8566C55.301 27.7848 52.3215 26.8514 49.8087 24.6976C47.6907 22.8668 46.3625 20.5335 45.9318 17.7694C45.2856 13.713 46.3984 10.1232 48.8395 6.92836C51.46 3.4822 54.6189 1.68733 58.8907 0.933485C62.5523 0.287331 65.9984 0.646306 69.1215 2.76425C71.9574 4.70272 73.7164 7.32323 74.183 10.7694C74.7933 15.6155 73.3933 19.5643 70.0548 22.9386C67.6856 25.3437 64.7779 26.8514 61.4395 27.5335C60.4702 27.713 59.501 27.7489 58.5677 27.8566ZM67.1112 13.354C67.0754 12.8873 67.0754 12.5284 67.0036 12.1694C66.3574 8.61554 63.0907 6.60528 59.6805 7.39502C56.342 8.14887 54.1882 10.2668 53.3984 13.6412C52.7523 16.4412 54.1164 19.2771 56.701 20.4258C58.6754 21.2873 60.6497 21.1796 62.5523 20.2104C65.3882 18.7386 66.9318 16.4412 67.1112 13.354Z"
- fill="black"
- />
- </g>
- <defs>
- <clipPath id="clip0_18024_112317">
- <rect
- width="74.3077"
- height="28"
- fill="white"
- transform="translate(0.345703)"
- />
- </clipPath>
- </defs>
- </svg>
- );
-}
diff --git a/apps/web/ui/layout/sidebar/conversions/icons/php.tsx b/apps/web/ui/layout/sidebar/conversions/icons/php.tsx
deleted file mode 100644
index e700bad06d..0000000000
--- a/apps/web/ui/layout/sidebar/conversions/icons/php.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import { SVGProps } from "react";
-
-export function Php(props: SVGProps<SVGSVGElement>) {
- return (
- <svg
- width="80"
- height="40"
- viewBox="0 0 80 40"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- >
- <path
- d="M6.0632 8.8982H17.4264C20.7616 8.9262 23.1784 9.8878 24.6768 11.7814C26.1752 13.675 26.6696 16.2614 26.1608 19.5406C25.9632 21.039 25.5248 22.5086 24.8464 23.9502C24.1871 25.4049 23.2674 26.7269 22.1328 27.851C20.7192 29.3206 19.2072 30.2534 17.596 30.6494C15.9583 31.0484 14.2784 31.2477 12.5928 31.243H7.5048L5.8936 39.299H0L6.0632 8.8982ZM11.024 13.7318L8.48 26.4518C8.6496 26.4798 8.8192 26.4942 8.9888 26.4942H9.5824C12.296 26.5222 14.5576 26.2542 16.3664 25.6886C18.1752 25.095 19.3912 23.0318 20.0128 19.4982C20.5216 16.5302 20.0128 14.8198 18.4864 14.3678C16.988 13.9158 15.1088 13.7038 12.8472 13.7318C12.508 13.7598 12.1832 13.7742 11.872 13.7742H10.9816L11.024 13.7318ZM32.8744 0.799805H38.7256L37.072 8.8982H42.3296C45.2128 8.955 47.3608 9.5486 48.7744 10.679C50.216 11.8094 50.64 13.9582 50.0464 17.1238L47.2056 31.243H41.2696L43.9832 17.7598C44.2656 16.3462 44.1808 15.343 43.7288 14.7494C43.2768 14.1558 42.3016 13.859 40.8032 13.859L36.0968 13.8166L32.62 31.243H26.7688L32.8744 0.799805ZM56.3296 8.8982H67.6928C71.028 8.9262 73.4448 9.8878 74.9432 11.7814C76.4416 13.675 76.936 16.2614 76.4272 19.5406C76.2296 21.039 75.7912 22.5086 75.1128 23.9502C74.4535 25.4049 73.5338 26.7269 72.3992 27.851C70.9856 29.3206 69.4736 30.2534 67.8624 30.6494C66.2247 31.0484 64.5448 31.2477 62.8592 31.243H57.7712L56.16 39.299H50.2664L56.3296 8.8982ZM61.2904 13.7318L58.7464 26.4518C58.916 26.4798 59.0856 26.4942 59.2552 26.4942H59.8488C62.5624 26.5222 64.824 26.2542 66.6328 25.6886C68.4416 25.095 69.6576 23.0318 70.2792 19.4982C70.788 16.5302 70.2792 14.8198 68.7528 14.3678C67.2544 13.9158 65.3752 13.7038 63.1136 13.7318C62.7744 13.7598 62.4496 13.7742 62.1384 13.7742H61.248L61.2904 13.7318Z"
- fill="black"
- />
- </svg>
- );
-}
diff --git a/apps/web/ui/layout/sidebar/conversions/icons/python.tsx b/apps/web/ui/layout/sidebar/conversions/icons/python.tsx
deleted file mode 100644
index d2b5d81d13..0000000000
--- a/apps/web/ui/layout/sidebar/conversions/icons/python.tsx
+++ /dev/null
@@ -1,52 +0,0 @@
-import { SVGProps } from "react";
-
-export function Python(props: SVGProps<SVGSVGElement>) {
- return (
- <svg
- width="40"
- height="40"
- viewBox="0 0 40 40"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- >
- <g clip-path="url(#clip0_18024_111838)">
- <path
- d="M19.8563 0C9.70125 0 10.335 4.40375 10.335 4.40375L10.3475 8.96625H20.0375V10.335H6.49625C6.49625 10.335 0 9.5975 0 19.845C0 30.09 5.67125 29.7275 5.67125 29.7275H9.05625V24.9725C9.05625 24.9725 8.87375 19.3013 14.6375 19.3013H24.2475C24.2475 19.3013 29.6475 19.3888 29.6475 14.0825V5.30875C29.6475 5.30875 30.4675 0 19.8563 0ZM14.5125 3.0675C14.975 3.0675 15.4185 3.25122 15.7455 3.57823C16.0725 3.90525 16.2562 4.34878 16.2562 4.81125C16.2562 5.27372 16.0725 5.71725 15.7455 6.04427C15.4185 6.37128 14.975 6.555 14.5125 6.555C14.2834 6.55533 14.0565 6.51045 13.8448 6.42293C13.6331 6.33542 13.4407 6.20699 13.2787 6.045C13.1168 5.88301 12.9883 5.69065 12.9008 5.47894C12.8133 5.26723 12.7684 5.04034 12.7688 4.81125C12.7688 3.8475 13.5488 3.0675 14.5125 3.0675Z"
- fill="url(#paint0_linear_18024_111838)"
- />
- <path
- d="M20.1429 39.7913C30.2979 39.7913 29.6641 35.3876 29.6641 35.3876L29.6516 30.8251H19.9616V29.4563H33.5016C33.5016 29.4563 39.9991 30.1938 39.9991 19.9476C39.9991 9.70133 34.3279 10.0651 34.3279 10.0651H30.9429V14.8188C30.9429 14.8188 31.1254 20.4901 25.3616 20.4901H15.7516C15.7516 20.4901 10.3516 20.4026 10.3516 25.7088V34.4826C10.3516 34.4826 9.53161 39.7913 20.1429 39.7913ZM25.4866 36.7238C25.2575 36.7242 25.0306 36.6793 24.8189 36.5918C24.6072 36.5042 24.4148 36.3758 24.2529 36.2138C24.0909 36.0518 23.9624 35.8595 23.8749 35.6478C23.7874 35.4361 23.7425 35.2092 23.7429 34.9801C23.7431 34.6355 23.8455 34.2988 24.037 34.0125C24.2286 33.7261 24.5008 33.503 24.8191 33.3712C25.1375 33.2395 25.4877 33.2051 25.8256 33.2724C26.1635 33.3396 26.4739 33.5056 26.7175 33.7492C26.9611 33.9928 27.127 34.3032 27.1943 34.6411C27.2616 34.979 27.2272 35.3292 27.0955 35.6476C26.9637 35.9659 26.7406 36.2381 26.4542 36.4296C26.1679 36.6212 25.8311 36.7236 25.4866 36.7238Z"
- fill="url(#paint1_linear_18024_111838)"
- />
- </g>
- <defs>
- <linearGradient
- id="paint0_linear_18024_111838"
- x1="3.84375"
- y1="3.4775"
- x2="23.6225"
- y2="23.3225"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#387EB8" />
- <stop offset="1" stop-color="#366994" />
- </linearGradient>
- <linearGradient
- id="paint1_linear_18024_111838"
- x1="16.0104"
- y1="16.1026"
- x2="37.2529"
- y2="36.4538"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#FFE052" />
- <stop offset="1" stop-color="#FFC331" />
- </linearGradient>
- <clipPath id="clip0_18024_111838">
- <rect width="40" height="40" fill="white" />
- </clipPath>
- </defs>
- </svg>
- );
-}
diff --git a/apps/web/ui/layout/sidebar/conversions/icons/ruby.tsx b/apps/web/ui/layout/sidebar/conversions/icons/ruby.tsx
deleted file mode 100644
index ba00c306d9..0000000000
--- a/apps/web/ui/layout/sidebar/conversions/icons/ruby.tsx
+++ /dev/null
@@ -1,309 +0,0 @@
-import { SVGProps } from "react";
-
-export function Ruby(props: SVGProps<SVGSVGElement>) {
- return (
- <svg
- width="42"
- height="40"
- viewBox="0 0 42 40"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- >
- <g clip-path="url(#clip0_18024_111842)">
- <path
- d="M31.9017 26.3213L9.0625 39.8743L38.6311 37.8664L40.9056 8.0625L31.9017 26.3213Z"
- fill="url(#paint0_linear_18024_111842)"
- />
- <path
- d="M38.6786 37.8512L36.1374 20.314L29.2197 29.4434L38.6786 37.8512Z"
- fill="url(#paint1_linear_18024_111842)"
- />
- <path
- d="M38.7101 37.851L20.0905 36.3765L9.17285 39.8274L38.7101 37.851Z"
- fill="url(#paint2_linear_18024_111842)"
- />
- <path
- d="M9.18777 39.8432L13.8466 24.6118L3.61914 26.7922L9.18777 39.8432Z"
- fill="url(#paint3_linear_18024_111842)"
- />
- <path
- d="M29.2199 29.4902L24.9218 12.7529L12.6865 24.2353L29.2042 29.4902H29.2199Z"
- fill="url(#paint4_linear_18024_111842)"
- />
- <path
- d="M39.9338 12.9724L28.3573 3.5293L25.1416 13.945L39.9338 12.9724Z"
- fill="url(#paint5_linear_18024_111842)"
- />
- <path
- d="M34.5219 0.156922L27.7141 3.92163L23.416 0.109863L34.5219 0.156922Z"
- fill="url(#paint6_linear_18024_111842)"
- />
- <path
- d="M0.921875 31.9059L3.77678 26.698L1.47089 20.502L0.921875 31.9059Z"
- fill="url(#paint7_linear_18024_111842)"
- />
- <path
- d="M1.31348 20.3137L3.63505 26.902L13.7213 24.6274L25.235 13.9294L28.4821 3.60784L23.3527 0L14.6625 3.26274C11.9174 5.80392 6.61544 10.8235 6.41152 10.949C6.22328 11.0431 2.89779 17.3176 1.31348 20.3137Z"
- fill="white"
- />
- <path
- d="M9.45512 8.4708C15.4002 2.60414 23.0551 -0.878215 25.9885 2.08649C28.9375 5.0512 25.8316 12.2512 19.8708 18.1335C13.9414 24.0159 6.38062 27.7022 3.44728 24.7218C0.498262 21.7728 3.52571 14.3688 9.45512 8.48649V8.4708Z"
- fill="url(#paint8_linear_18024_111842)"
- />
- <path
- d="M9.18848 39.8429L13.8159 24.5488L29.1257 29.4743C23.5885 34.6665 17.4238 39.0429 9.20416 39.8273L9.18848 39.8429Z"
- fill="url(#paint9_linear_18024_111842)"
- />
- <path
- d="M25.2354 13.8979L29.1883 29.4744C33.8157 24.6116 37.9726 19.3881 39.9961 12.9097L25.251 13.8979H25.2354Z"
- fill="url(#paint10_linear_18024_111842)"
- />
- <path
- d="M39.9485 12.9881C41.5171 8.25086 41.8936 1.42733 34.4583 0.156738L28.3877 3.52929L39.9485 12.9881Z"
- fill="url(#paint11_linear_18024_111842)"
- />
- <path
- d="M0.921875 31.8432C1.14148 39.6864 6.78854 39.7962 9.20423 39.8589L3.6356 26.855L0.921875 31.8432Z"
- fill="#9E1209"
- />
- <path
- d="M25.2666 13.9296L36.1372 20.5806C36.3568 20.7061 39.2274 15.7492 39.8705 12.957L25.2823 13.9296H25.2666Z"
- fill="url(#paint12_radial_18024_111842)"
- />
- <path
- d="M13.7998 24.5488L19.9645 36.4547C23.6194 34.4626 26.4743 32.0626 29.0782 29.4743L13.7998 24.5488Z"
- fill="url(#paint13_radial_18024_111842)"
- />
- <path
- d="M3.61964 26.8707L2.74121 37.2864C4.38827 39.5296 6.66278 39.7335 9.03141 39.5609C7.30592 35.2629 3.87062 26.6982 3.61964 26.8707Z"
- fill="url(#paint14_linear_18024_111842)"
- />
- <path
- d="M28.3408 3.56066L40.5918 5.28615C39.9487 2.50968 37.9408 0.705758 34.5055 0.156738L28.3408 3.56066Z"
- fill="url(#paint15_linear_18024_111842)"
- />
- </g>
- <defs>
- <linearGradient
- id="paint0_linear_18024_111842"
- x1="2709.36"
- y1="3551.89"
- x2="1866.78"
- y2="2062.39"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#FB7655" />
- <stop offset="0.41" stop-color="#E42B1E" />
- <stop offset="0.99" stop-color="#990000" />
- <stop offset="1" stop-color="#990000" />
- </linearGradient>
- <linearGradient
- id="paint1_linear_18024_111842"
- x1="1133.06"
- y1="1088.33"
- x2="-51.9313"
- y2="857.133"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#871101" />
- <stop offset="0.99" stop-color="#911209" />
- <stop offset="1" stop-color="#911209" />
- </linearGradient>
- <linearGradient
- id="paint2_linear_18024_111842"
- x1="2248.1"
- y1="793.177"
- x2="2232.82"
- y2="41.508"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#871101" />
- <stop offset="0.99" stop-color="#911209" />
- <stop offset="1" stop-color="#911209" />
- </linearGradient>
- <linearGradient
- id="paint3_linear_18024_111842"
- x1="514.992"
- y1="134.278"
- x2="867.775"
- y2="1166.52"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="white" />
- <stop offset="0.23" stop-color="#E57252" />
- <stop offset="0.46" stop-color="#DE3B20" />
- <stop offset="0.99" stop-color="#A60003" />
- <stop offset="1" stop-color="#A60003" />
- </linearGradient>
- <linearGradient
- id="paint4_linear_18024_111842"
- x1="776.527"
- y1="285.57"
- x2="839.213"
- y2="1401.86"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="white" />
- <stop offset="0.23" stop-color="#E4714E" />
- <stop offset="0.56" stop-color="#BE1A0D" />
- <stop offset="0.99" stop-color="#A80D00" />
- <stop offset="1" stop-color="#A80D00" />
- </linearGradient>
- <linearGradient
- id="paint5_linear_18024_111842"
- x1="572.451"
- y1="166.014"
- x2="665.333"
- y2="977.513"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="white" />
- <stop offset="0.18" stop-color="#E46342" />
- <stop offset="0.4" stop-color="#C82410" />
- <stop offset="0.99" stop-color="#A80D00" />
- <stop offset="1" stop-color="#A80D00" />
- </linearGradient>
- <linearGradient
- id="paint6_linear_18024_111842"
- x1="174.456"
- y1="222.336"
- x2="306.235"
- y2="-336.038"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="white" />
- <stop offset="0.54" stop-color="#C81F11" />
- <stop offset="0.99" stop-color="#BF0905" />
- <stop offset="1" stop-color="#BF0905" />
- </linearGradient>
- <linearGradient
- id="paint7_linear_18024_111842"
- x1="79.7172"
- y1="261.125"
- x2="424.998"
- y2="478.158"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="white" />
- <stop offset="0.31" stop-color="#DE4024" />
- <stop offset="0.99" stop-color="#BF190B" />
- <stop offset="1" stop-color="#BF190B" />
- </linearGradient>
- <linearGradient
- id="paint8_linear_18024_111842"
- x1="-511.311"
- y1="3030.3"
- x2="2582.22"
- y2="-160.402"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#BD0012" />
- <stop offset="0.07" stop-color="white" />
- <stop offset="0.17" stop-color="white" />
- <stop offset="0.27" stop-color="#C82F1C" />
- <stop offset="0.33" stop-color="#820C01" />
- <stop offset="0.46" stop-color="#A31601" />
- <stop offset="0.72" stop-color="#B31301" />
- <stop offset="0.99" stop-color="#E82609" />
- <stop offset="1" stop-color="#E82609" />
- </linearGradient>
- <linearGradient
- id="paint9_linear_18024_111842"
- x1="1181.5"
- y1="1021.73"
- x2="306.155"
- y2="653.553"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#8C0C01" />
- <stop offset="0.54" stop-color="#990C00" />
- <stop offset="0.99" stop-color="#A80D0E" />
- <stop offset="1" stop-color="#A80D0E" />
- </linearGradient>
- <linearGradient
- id="paint10_linear_18024_111842"
- x1="1195.77"
- y1="1053.17"
- x2="293.842"
- y2="411.069"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#7E110B" />
- <stop offset="0.99" stop-color="#9E0C00" />
- <stop offset="1" stop-color="#9E0C00" />
- </linearGradient>
- <linearGradient
- id="paint11_linear_18024_111842"
- x1="1188.45"
- y1="950.962"
- x2="763.44"
- y2="521.111"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#79130D" />
- <stop offset="0.99" stop-color="#9E120B" />
- <stop offset="1" stop-color="#9E120B" />
- </linearGradient>
- <radialGradient
- id="paint12_radial_18024_111842"
- cx="0"
- cy="0"
- r="1"
- gradientUnits="userSpaceOnUse"
- gradientTransform="translate(492.592 319.517) scale(1016.43 530.76)"
- >
- <stop stop-color="#A80D00" />
- <stop offset="0.99" stop-color="#7E0E08" />
- <stop offset="1" stop-color="#7E0E08" />
- </radialGradient>
- <radialGradient
- id="paint13_radial_18024_111842"
- cx="0"
- cy="0"
- r="1"
- gradientUnits="userSpaceOnUse"
- gradientTransform="translate(220.059 511.499) scale(1350.61 1052.48)"
- >
- <stop stop-color="#A30C00" />
- <stop offset="0.99" stop-color="#800E08" />
- <stop offset="1" stop-color="#800E08" />
- </radialGradient>
- <linearGradient
- id="paint14_linear_18024_111842"
- x1="358.766"
- y1="1322.52"
- x2="-402.255"
- y2="692.537"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#8B2114" />
- <stop offset="0.43" stop-color="#9E100A" />
- <stop offset="0.99" stop-color="#B3100C" />
- <stop offset="1" stop-color="#B3100C" />
- </linearGradient>
- <linearGradient
- id="paint15_linear_18024_111842"
- x1="406.896"
- y1="182.764"
- x2="623.626"
- y2="729.808"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#B31000" />
- <stop offset="0.44" stop-color="#910F08" />
- <stop offset="0.99" stop-color="#791C12" />
- <stop offset="1" stop-color="#791C12" />
- </linearGradient>
- <clipPath id="clip0_18024_111842">
- <rect
- width="40.1569"
- height="40"
- fill="white"
- transform="translate(0.921875)"
- />
- </clipPath>
- </defs>
- </svg>
- );
-}
diff --git a/apps/web/ui/layout/sidebar/conversions/icons/typescript.tsx b/apps/web/ui/layout/sidebar/conversions/icons/typescript.tsx
deleted file mode 100644
index ac7d70d7b9..0000000000
--- a/apps/web/ui/layout/sidebar/conversions/icons/typescript.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import { SVGProps } from "react";
-
-export function Typescript(props: SVGProps<SVGSVGElement>) {
- return (
- <svg
- width="40"
- height="40"
- viewBox="0 0 40 40"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- >
- <g clip-path="url(#clip0_18024_111825)">
- <path
- d="M3.125 0H36.875C38.6009 0 40 1.39906 40 3.125V36.875C40 38.6009 38.6009 40 36.875 40H3.125C1.39906 40 0 38.6009 0 36.875V3.125C0 1.39906 1.39906 0 3.125 0Z"
- fill="#3178C6"
- />
- <path
- d="M23.5184 31.3242V35.6398C24.2203 35.9995 25.0505 36.2692 26.0087 36.4491C26.967 36.6289 27.977 36.7188 29.0389 36.7188C30.0736 36.7188 31.0567 36.6198 31.988 36.422C32.9192 36.2242 33.7359 35.8983 34.4377 35.4444C35.1395 34.9903 35.6952 34.3969 36.1047 33.6641C36.5141 32.9314 36.7188 32.0256 36.7188 30.9467C36.7188 30.1645 36.6017 29.4789 36.3678 28.89C36.1365 28.3051 35.7925 27.7713 35.3555 27.3189C34.9147 26.8603 34.3859 26.4491 33.7697 26.0848C33.1533 25.7208 32.4581 25.3769 31.6842 25.0533C31.1173 24.8194 30.6091 24.5925 30.1591 24.3722C29.7092 24.1519 29.3267 23.9272 29.0119 23.6978C28.6969 23.4686 28.4539 23.2258 28.283 22.9695C28.112 22.7133 28.0266 22.4234 28.0266 22.0997C28.0266 21.803 28.103 21.5356 28.2559 21.2973C28.4089 21.0591 28.625 20.8545 28.9039 20.6838C29.1828 20.5128 29.5247 20.3803 29.9297 20.2858C30.3345 20.1914 30.7845 20.1442 31.2794 20.1442C31.6394 20.1442 32.0195 20.1712 32.4198 20.2252C32.8203 20.2791 33.223 20.3622 33.628 20.4747C34.0317 20.5866 34.4264 20.7286 34.8089 20.8995C35.1798 21.0639 35.5345 21.2625 35.8684 21.4928V17.4605C35.2116 17.2088 34.4939 17.0222 33.7156 16.9008C32.9373 16.7794 32.0442 16.7188 31.0364 16.7188C30.0106 16.7188 29.0389 16.8289 28.1211 17.0492C27.2033 17.2694 26.3956 17.6133 25.6983 18.0808C25.0009 18.5484 24.4498 19.1441 24.0448 19.8678C23.64 20.5916 23.4375 21.4569 23.4375 22.4639C23.4375 23.7495 23.8086 24.8464 24.5511 25.7545C25.2934 26.6625 26.4203 27.4312 27.932 28.0606C28.4901 28.2879 29.0436 28.5262 29.5922 28.7755C30.1052 29.0092 30.5483 29.2519 30.9217 29.5036C31.2952 29.7553 31.5898 30.0295 31.8058 30.3263C32.0217 30.623 32.1297 30.9602 32.1297 31.3378C32.1315 31.6096 32.0616 31.8771 31.9272 32.1133C31.7923 32.3514 31.5875 32.5583 31.3131 32.7336C31.0388 32.9089 30.6967 33.0459 30.2873 33.1448C29.878 33.2437 29.3988 33.2933 28.8498 33.2933C27.9141 33.2933 26.9873 33.1292 26.0695 32.8009C25.1516 32.4728 24.3013 31.9806 23.5184 31.3242ZM16.3253 20.5847H21.875V17.0312H6.40625V20.5847H11.9289V36.4062H16.3253V20.5847Z"
- fill="white"
- />
- </g>
- <defs>
- <clipPath id="clip0_18024_111825">
- <rect width="40" height="40" fill="white" />
- </clipPath>
- </defs>
- </svg>
- );
-}
diff --git a/apps/web/ui/layout/sidebar/sidebar-nav.tsx b/apps/web/ui/layout/sidebar/sidebar-nav.tsx
index fd03144d1b..d853930bc0 100644
--- a/apps/web/ui/layout/sidebar/sidebar-nav.tsx
+++ b/apps/web/ui/layout/sidebar/sidebar-nav.tsx
@@ -174,7 +174,7 @@ export function SidebarNav<T extends Record<any, any>>({
<div>
{data.showConversionGuides && (
<Link
- href={`/${data.slug}/tracking-guide`}
+ href={`/${data.slug}/guides`}
className="m-3 flex items-center gap-2 rounded-lg bg-neutral-200/75 px-2.5 py-2 text-xs text-neutral-700 transition-colors hover:bg-neutral-200"
>
<BookOpen className="size-4" />