chore: change calendso strings to cal.com (#707)
Build / Build on Node 14.x and ubuntu-latest (push) Canceled after 0s
E2E test / 14.x and ubuntu-latest (push) Canceled after 0s
Lint / lint (push) Canceled after 0s

* chore: change calendso strings to cal.com

* rebase LICENSE

* rebase LICENSE

* strings that were missed

Co-authored-by: Bailey Pumfleet <[email protected]>
This commit is contained in:
Conor MeagherandBailey Pumfleet authored and GitHub committed 2021-09-21 10:59:34 +01:00
1 parent 75d6e174e8
commit 96fd7ecf41
21 files changed
+72 -79

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ export default NextAuth({
},
providers: [
Providers.Credentials({
name: "Calendso",
name: "Cal.com",
credentials: {
email: { label: "Email Address", type: "email", placeholder: "[email protected]" },
password: { label: "Password", type: "password", placeholder: "Your super secure password" },
+1 -1
View File
@@ -69,7 +69,7 @@ export default function Login({ csrfToken }) {
<div className="min-h-screen bg-neutral-50 flex flex-col justify-center py-12 sm:px-6 lg:px-8">
<HeadSeo title="Login" description="Login" />
<div className="sm:mx-auto sm:w-full sm:max-w-md">
<img className="h-6 mx-auto" src="/calendso-logo-white-word.svg" alt="Calendso Logo" />
<img className="h-6 mx-auto" src="/calendso-logo-white-word.svg" alt="Cal.com Logo" />
<h2 className="mt-6 text-center text-3xl font-bold text-neutral-900">Sign in to your account</h2>
</div>
+2 -2
View File
@@ -41,7 +41,7 @@ export default function Signup(props) {
method: "POST",
})
.then(handleErrors)
.then(() => signIn("Calendso", { callbackUrl: (router.query.callbackUrl || "") as string }))
.then(() => signIn("Cal.com", { callbackUrl: (router.query.callbackUrl || "") as string }))
.catch((err) => {
setHasErrors(true);
setErrorMessage(err.message);
@@ -116,7 +116,7 @@ export default function Signup(props) {
/>
<a
onClick={() =>
signIn("Calendso", { callbackUrl: (router.query.callbackUrl || "") as string })
signIn("Cal.com", { callbackUrl: (router.query.callbackUrl || "") as string })
}
className="w-5/12 inline-flex justify-center text-sm text-gray-500 font-medium border px-4 py-2 rounded btn cursor-pointer">
Login instead
+13 -13
View File
@@ -263,7 +263,7 @@ const EventTypesPage = (props: PageProps) => {
return (
<div>
<Head>
<title>Event Types | Calendso</title>
<title>Event Types | Cal.com</title>
<link rel="icon" href="/favicon.ico" />
</Head>
<Shell
@@ -342,11 +342,11 @@ const CreateNewEventDialog = ({ profiles, canAddEvents }: { profiles: Profile[];
data-testid="new-event-type"
{...(canAddEvents
? {
href: modalOpen.hrefOn,
}
href: modalOpen.hrefOn,
}
: {
disabled: true,
})}
disabled: true,
})}
StartIcon={PlusIcon}>
New event type
</Button>
@@ -372,8 +372,8 @@ const CreateNewEventDialog = ({ profiles, canAddEvents }: { profiles: Profile[];
eventPage: profile.slug,
...(profile.teamId
? {
teamId: profile.teamId,
}
teamId: profile.teamId,
}
: {}),
},
})
@@ -681,13 +681,13 @@ export async function getServerSideProps(context) {
eventTypes: user.eventTypes.concat(typesRaw).map((type, index) =>
user.plan === "FREE" && index > 0
? {
...type,
$disabled: true,
}
...type,
$disabled: true,
}
: {
...type,
$disabled: false,
}
...type,
$disabled: false,
}
),
metadata: {
membershipCount: 1,
+1 -1
View File
@@ -528,7 +528,7 @@ export default function Onboarding(props: OnboardingProps) {
return (
<div className="bg-black min-h-screen">
<Head>
<title>Calendso - Getting Started</title>
<title>Cal.com - Getting Started</title>
<link rel="icon" href="/favicon.ico" />
</Head>
+1 -1
View File
@@ -323,7 +323,7 @@ export default function Home({ integrations }: Props) {
title="Connect to Apple Server"
subtitle={
<p>
Generate an app specific password to use with Calendso at{" "}
Generate an app specific password to use with Cal.com at{" "}
<a
className="text-indigo-400"
href="https://appleid.apple.com/account/manage"
+2 -2
View File
@@ -19,7 +19,7 @@ export default function Embed(props) {
<div className="py-6 lg:pb-8 lg:col-span-9">
<div className="mb-6">
<h2 className="text-lg leading-6 font-medium text-gray-900">iframe Embed</h2>
<p className="mt-1 text-sm text-gray-500">The easiest way to embed Calendso on your website.</p>
<p className="mt-1 text-sm text-gray-500">The easiest way to embed Cal.com on your website.</p>
</div>
<div className="grid grid-cols-2 space-x-4">
<div>
@@ -64,7 +64,7 @@ export default function Embed(props) {
</div>
</div>
<div className="my-6">
<h2 className="text-lg leading-6 font-medium text-gray-900">Calendso API</h2>
<h2 className="text-lg leading-6 font-medium text-gray-900">Cal.com API</h2>
<p className="mt-1 text-sm text-gray-500">
Leverage our API for full control and customizability.
</p>
+2 -2
View File
@@ -309,10 +309,10 @@ export default function Settings(props: Props) {
</div>
<div className="ml-3 text-sm">
<label htmlFor="hide-branding" className="font-medium text-gray-700">
Disable Calendso branding{" "}
Disable Cal.com branding{" "}
{props.user.plan !== "PRO" && <Badge variant="default">PRO</Badge>}
</label>
<p className="text-gray-500">Hide all Calendso branding from your public pages.</p>
<p className="text-gray-500">Hide all Cal.com branding from your public pages.</p>
</div>
</div>
</div>
+18 -19
View File
@@ -135,10 +135,9 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>)
`https://calendar.google.com/calendar/r/eventedit?dates=${date
.utc()
.format("YYYYMMDDTHHmmss[Z]")}/${date
.add(props.eventType.length, "minute")
.utc()
.format("YYYYMMDDTHHmmss[Z]")}&text=${eventName}&details=${
props.eventType.description
.add(props.eventType.length, "minute")
.utc()
.format("YYYYMMDDTHHmmss[Z]")}&text=${eventName}&details=${props.eventType.description
}` + (location ? "&location=" + encodeURIComponent(location) : "")
}>
<a className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white py-2 px-3">
@@ -156,13 +155,13 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>)
href={
encodeURI(
"https://outlook.live.com/calendar/0/deeplink/compose?body=" +
props.eventType.description +
"&enddt=" +
date.add(props.eventType.length, "minute").utc().format() +
"&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=" +
date.utc().format() +
"&subject=" +
eventName
props.eventType.description +
"&enddt=" +
date.add(props.eventType.length, "minute").utc().format() +
"&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=" +
date.utc().format() +
"&subject=" +
eventName
) + (location ? "&location=" + location : "")
}>
<a
@@ -182,13 +181,13 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>)
href={
encodeURI(
"https://outlook.office.com/calendar/0/deeplink/compose?body=" +
props.eventType.description +
"&enddt=" +
date.add(props.eventType.length, "minute").utc().format() +
"&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=" +
date.utc().format() +
"&subject=" +
eventName
props.eventType.description +
"&enddt=" +
date.add(props.eventType.length, "minute").utc().format() +
"&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=" +
date.utc().format() +
"&subject=" +
eventName
) + (location ? "&location=" + location : "")
}>
<a
@@ -224,7 +223,7 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>)
)}
{!props.hideBranding && (
<div className="mt-4 pt-4 border-t dark:border-gray-900 text-gray-400 text-center text-xs dark:text-white">
<a href="https://cal.com/signup">Create your own booking link with Calendso</a>
<a href="https://cal.com/signup">Create your own booking link with Cal.com</a>
</div>
)}
</div>