Feature/whitelabel part 2 (#5821)
* applied whitelabel to additional parts of the app * format .md files * updated metadata of all apps * applied whitelabel to PoweredByCal.tsx * fixed `team_upgrade_banner_action` with better german * fixed import of APP_NAME in email templates * revert "applied whitelabel" in CalEventParser.test.ts * Revert "updated metadata of all apps" This reverts commit 9c1621788d2c4c4a4e4a545f48898d4af7a39f33. * revert app-store whitelabel changes * Revert "applied whitelabel to PoweredByCal.tsx" This reverts commit f2b2d79aa51cca3a70af6bf649b24e22f2fca73a. * Update website * Sync * Update constants.ts * Prevent unit test error Co-authored-by: René Müller <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: zomars <[email protected]>
This commit is contained in:
19 files changed
+59
-32
No files matched your search
@@ -1,6 +1,8 @@
|
||||
import Head from "next/head";
|
||||
import React, { createContext, useContext, useState, useEffect } from "react";
|
||||
|
||||
import { APP_NAME } from "@calcom/lib/constants";
|
||||
|
||||
type MetaType = {
|
||||
title: string;
|
||||
description: string;
|
||||
@@ -54,7 +56,9 @@ export default function Meta({ title, description, backButton, CTA }: MetaType)
|
||||
|
||||
return (
|
||||
<Head>
|
||||
<title>{title} | Cal.com</title>
|
||||
<title>
|
||||
{title} | {APP_NAME}
|
||||
</title>
|
||||
<meta name="description" content={description} />
|
||||
</Head>
|
||||
);
|
||||
|
||||
@@ -3,6 +3,7 @@ import { NextSeo, NextSeoProps } from "next-seo";
|
||||
|
||||
import { constructAppImage, constructGenericImage, constructMeetingImage } from "@calcom/lib/OgImages";
|
||||
import { getBrowserInfo } from "@calcom/lib/browser/browser.utils";
|
||||
import { APP_NAME } from "@calcom/lib/constants";
|
||||
import { seoConfig, getSeoImage, HeadSeoProps } from "@calcom/lib/next-seo.config";
|
||||
import { truncateOnWord } from "@calcom/lib/text";
|
||||
|
||||
@@ -61,7 +62,7 @@ export const HeadSeo = (props: HeadSeoProps): JSX.Element => {
|
||||
const image = getSeoImage("ogImage") + constructGenericImage({ title, description });
|
||||
const truncatedDescription = truncateOnWord(description, 158);
|
||||
|
||||
const pageTitle = title + " | Cal.com";
|
||||
const pageTitle = title + " | " + APP_NAME;
|
||||
let seoObject = buildSeoMeta({
|
||||
title: pageTitle,
|
||||
image,
|
||||
|
||||
Reference in new issue
Block a user