Replace all instances of calendso.com with cal.com and add a new logo for Cal.com emails (#662)

This commit is contained in:
Alex van Andel authored and GitHub committed 2021-09-15 21:35:55 +01:00
1 parent f6fe519c4c
commit cf7f5ae53c
18 files changed
+38 -29

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
import { GiftIcon } from "@heroicons/react/outline";
export default function DonateBanner() {
if (location.hostname.endsWith(".calendso.com")) {
if (location.hostname.endsWith(".cal.com")) {
return null;
}
@@ -27,7 +27,7 @@ export default function DonateBanner() {
<a
target="_blank"
rel="noreferrer"
href="https://calendso.com/donate"
href="https://cal.com/donate"
className="flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-blue-600 bg-white hover:bg-blue-50">
Donate
</a>
+2 -2
View File
@@ -276,7 +276,7 @@ function UserDropdown({ small, bottom }: { small?: boolean; bottom?: boolean })
<Menu.Item>
{({ active }) => (
<a
href="https://calendso.com/slack"
href="https://cal.com/slack"
target="_blank"
rel="noreferrer"
className={classNames(
@@ -312,7 +312,7 @@ function UserDropdown({ small, bottom }: { small?: boolean; bottom?: boolean })
<Menu.Item>
{({ active }) => (
<a
href="mailto:feedback@calendso.com"
href="mailto:[email protected]"
className={classNames(
active ? "bg-gray-100 text-gray-900" : "text-neutral-700",
"flex px-4 py-2 text-sm font-medium"
+1 -1
View File
@@ -68,7 +68,7 @@ const buildSeoMeta = (pageProps: {
const constructImage = (name: string, avatar: string, description: string): string => {
return (
encodeURIComponent("Meet **" + name + "** <br>" + description).replace(/'/g, "%27") +
".png?md=1&images=https%3A%2F%2Fcalendso.com%2Fcalendso-logo-white.svg&images=" +
".png?md=1&images=https%3A%2F%2Fcal.com%2Fcalendso-logo-white.svg&images=" +
encodeURIComponent(avatar)
);
};
+1 -1
View File
@@ -2,7 +2,7 @@ import Link from "next/link";
const PoweredByCalendso = () => (
<div className="text-xs text-center sm:text-right p-1">
<Link href={`https://calendso.com?utm_source=embed&utm_medium=powered-by-button`}>
<Link href={`https://cal.com?utm_source=embed&utm_medium=powered-by-button`}>
<a target="_blank" className="dark:text-white text-gray-500 opacity-50 hover:opacity-100">
powered by{" "}
<img