Replace all instances of calendso.com with cal.com and add a new logo for Cal.com emails (#662)
This commit is contained in:
1 parent
f6fe519c4c
commit
cf7f5ae53c
18 files changed
+38
-29
No files matched your search
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
);
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user