chore: update docs links (#7782)

* replace docs.cal.com references with cal.com/docs
pull/7813/head
Richard Poelderl 2023-03-18 00:42:27 +01:00 committed by GitHub
parent 650ecc7a85
commit 679965782e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 10 deletions

View File

@ -124,7 +124,7 @@ Make `dist/embed.umd.js` servable on URL <http://cal.com/embed.js>
- Why do we NOT want to provide completely flexible CSS customization by adding whatever CSS user wants. ?
- Feature Documentation
- Inline mode doesn't cause any scroll in iframe by default. It looks like it is part of the website.
- docs.cal.com
- cal.com/docs
- A complete document on how to use embed

View File

@ -47,7 +47,8 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
<div className="w-full py-5">
<p className="mb-1 px-5 text-gray-500">{t("resources").toUpperCase()}</p>
<a
href="https://docs.cal.com/"
onClick={() => onHelpItemSelect()}
href="https://cal.com/docs/"
target="_blank"
className="flex w-full px-5 py-2 pr-4 text-sm font-medium text-gray-700 hover:bg-gray-100 hover:text-gray-900"
rel="noreferrer">
@ -77,7 +78,7 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
</div>
</div>
<hr className=" bg-gray-200" />
<hr className="bg-gray-200 " />
<div className="w-full p-5">
<p className="mb-1 text-gray-500">{t("feedback").toUpperCase()}</p>
<p className="flex w-full py-2 text-sm font-medium text-gray-700">{t("comments")}</p>
@ -217,7 +218,7 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
<a
onClick={() => onHelpItemSelect()}
className="font-medium underline hover:text-gray-700"
href="https://docs.cal.com/"
href="https://cal.com/docs/"
target="_blank"
rel="noreferrer">
{t("browse_our_docs")}

View File

@ -20,7 +20,7 @@ export const tips = [
mediaLink: "https://go.cal.com/teams-video",
title: "How to set up Teams",
description: "Learn how to use round-robin and collective events.",
href: "https://docs.cal.com/deep-dives/event-types",
href: "https://cal.com/docs/enterprise-features/teams",
},
{
id: 3,
@ -36,7 +36,7 @@ export const tips = [
mediaLink: "https://go.cal.com/confirmation-video",
title: "Requires Confirmation",
description: "Learn how to be in charge of your bookings",
href: "https://docs.cal.com/deep-dives/event-types#opt-in-booking",
href: "https://cal.com/resources/feature/opt-in",
},
{
id: 5,

View File

@ -44,7 +44,7 @@ export const ROADMAP = "https://cal.com/roadmap";
export const DESKTOP_APP_LINK = "https://cal.com/download";
export const JOIN_SLACK = "https://cal.com/slack";
export const POWERED_BY_URL = `${WEBSITE_URL}/?utm_source=embed&utm_medium=powered-by-button`;
export const DOCS_URL = "https://docs.cal.com";
export const DOCS_URL = "https://cal.com/docs";
export const DEVELOPER_DOCS = "https://developer.cal.com";
export const SEO_IMG_DEFAULT = `${WEBSITE_URL}/og-image.png`;
// The Dynamic OG Image is passed through Next's Image API to further optimize it.