Skip to content

Commit

Permalink
chore: Remove HeadSeo components where not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Feb 7, 2025
1 parent e889015 commit 981b8e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
6 changes: 0 additions & 6 deletions apps/web/components/apps/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import LicenseRequired from "@calcom/features/ee/common/components/LicenseRequired";
import Shell from "@calcom/features/shell/Shell";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { HeadSeo } from "@calcom/ui";

import type { AppPageProps } from "./AppPage";
import { AppPage } from "./AppPage";
Expand All @@ -14,11 +13,6 @@ const ShellHeading = () => {
export default function WrappedApp(props: AppPageProps) {
return (
<Shell smallHeading isPublic hideHeadingOnMobile heading={<ShellHeading />} backPath="/apps" withoutSeo>
<HeadSeo
title={props.name}
description={props.description}
app={{ slug: props.logo, name: props.name, description: props.description }}
/>
{props.licenseRequired ? (
<LicenseRequired>
<AppPage {...props} />
Expand Down
13 changes: 1 addition & 12 deletions apps/web/modules/signup-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";
import { collectPageParameters, telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry";
import { signupSchema as apiSignupSchema } from "@calcom/prisma/zod-utils";
import type { inferSSRProps } from "@calcom/types/inferSSRProps";
import {
Button,
HeadSeo,
PasswordField,
TextField,
Form,
Alert,
CheckboxField,
Icon,
showToast,
} from "@calcom/ui";
import { Button, PasswordField, TextField, Form, Alert, CheckboxField, Icon, showToast } from "@calcom/ui";

import type { getServerSideProps } from "@lib/signup/getServerSideProps";

Expand Down Expand Up @@ -337,7 +327,6 @@ export default function Signup({
"[--cal-brand-emphasis:#101010] dark:[--cal-brand-emphasis:#e1e1e1] "
)}>
<div className="bg-muted 2xl:border-subtle grid w-full max-w-[1440px] grid-cols-1 grid-rows-1 overflow-hidden lg:grid-cols-2 2xl:rounded-[20px] 2xl:border 2xl:py-6">
<HeadSeo title={t("sign_up")} description={t("sign_up")} />
{/* Left side */}
<div className="ml-auto mr-auto mt-0 flex w-full max-w-xl flex-col px-4 pt-6 sm:px-16 md:px-20 lg:mt-24 2xl:px-28">
{displayBackButton && (
Expand Down

0 comments on commit 981b8e0

Please sign in to comment.