Skip to content

Commit cb1d881

Browse files
Udit-takkarzlwaterfieldPeerRich
authored
fix: developer docs url (#3914)
* fix: developer docs url added * chore : remove / * chore : import url Co-authored-by: Zach Waterfield <zlwaterfield@gmail.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
1 parent 27c5bf9 commit cb1d881

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

apps/web/pages/404.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Link from "next/link";
33
import { useRouter } from "next/router";
44
import React, { useEffect, useState } from "react";
55

6-
import { DOCS_URL, JOIN_SLACK, WEBSITE_URL } from "@calcom/lib/constants";
6+
import { DEVELOPER_DOCS, DOCS_URL, JOIN_SLACK, WEBSITE_URL } from "@calcom/lib/constants";
77
import { Icon } from "@calcom/ui/Icon";
88

99
import { useLocale } from "@lib/hooks/useLocale";
@@ -100,7 +100,7 @@ export default function Custom404() {
100100

101101
<ul role="list" className="divide-y divide-gray-200 border-gray-200">
102102
<li className="px-4 py-2">
103-
<Link href={`${DOCS_URL}/self-hosting/installation`}>
103+
<Link href={`${DEVELOPER_DOCS}/self-hosting/installation`}>
104104
<a className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse">
105105
<div className="flex-shrink-0">
106106
<span className="flex h-12 w-12 items-center justify-center rounded-lg bg-gray-50">

packages/lib/constants.ts

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export const DESKTOP_APP_LINK = "https://cal.com/download";
3232
export const JOIN_SLACK = "https://cal.com/slack";
3333
export const POWERED_BY_URL = `${WEBSITE_URL}/?utm_source=embed&utm_medium=powered-by-button`;
3434
export const DOCS_URL = "https://docs.cal.com";
35+
export const DEVELOPER_DOCS = "https://developer.cal.com";
3536
export const SEO_IMG_DEFAULT = `${WEBSITE_URL}/og-image.png`;
3637
export const SEO_IMG_OGIMG = "https://og-image-one-pi.vercel.app/";
3738
export const SEO_IMG_OGIMG_VIDEO = `${WEBSITE_URL}/video-og-image.png`;

0 commit comments

Comments
 (0)