Skip to content

Commit

Permalink
fix branding stuff etc
Browse files Browse the repository at this point in the history
  • Loading branch information
rishimohan committed Nov 29, 2023
1 parent bc5fe00 commit 588b529
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
30 changes: 16 additions & 14 deletions apps/web/pages/getting-started/[[...step]].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,20 +157,22 @@ const OnboardingPage = () => {
</Suspense>
</StepCard>

{headers[currentStepIndex]?.skipText && (
<div className="flex w-full flex-row justify-center">
<Button
color="minimal"
data-testid="skip-step"
onClick={(event) => {
event.preventDefault();
goToIndex(currentStepIndex + 1);
}}
className="mt-8 cursor-pointer px-4 py-2 font-sans text-sm font-medium">
{headers[currentStepIndex]?.skipText}
</Button>
</div>
)}
{process.env.NODE_ENV !== "production"
? headers[currentStepIndex]?.skipText && (
<div className="flex w-full flex-row justify-center">
<Button
color="minimal"
data-testid="skip-step"
onClick={(event) => {
event.preventDefault();
goToIndex(currentStepIndex + 1);
}}
className="mt-8 cursor-pointer px-4 py-2 font-sans text-sm font-medium">
{headers[currentStepIndex]?.skipText}
</Button>
</div>
)
: ""}
</div>
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions packages/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ export const WEBAPP_URL_FOR_OAUTH = IS_PRODUCTION ? WEBAPP_URL : "http://localho

/** @deprecated use `WEBAPP_URL` */
export const BASE_URL = WEBAPP_URL;
export const WEBSITE_URL = process.env.NEXT_PUBLIC_WEBSITE_URL || "https://cal.com";
export const APP_NAME = process.env.NEXT_PUBLIC_APP_NAME || "Cal.com";
export const SUPPORT_MAIL_ADDRESS = process.env.NEXT_PUBLIC_SUPPORT_MAIL_ADDRESS || "help@cal.com";
export const COMPANY_NAME = process.env.NEXT_PUBLIC_COMPANY_NAME || "Cal.com, Inc.";
export const SENDER_ID = process.env.NEXT_PUBLIC_SENDER_ID || "Cal";
export const SENDER_NAME = process.env.NEXT_PUBLIC_SENDGRID_SENDER_NAME || "Cal.com";
export const WEBSITE_URL = process.env.NEXT_PUBLIC_WEBSITE_URL || "https://borg.id";
export const APP_NAME = process.env.NEXT_PUBLIC_APP_NAME || "Borg";
export const SUPPORT_MAIL_ADDRESS = process.env.NEXT_PUBLIC_SUPPORT_MAIL_ADDRESS || "help@borg.id";
export const COMPANY_NAME = process.env.NEXT_PUBLIC_COMPANY_NAME || "Borg.id";
export const SENDER_ID = process.env.NEXT_PUBLIC_SENDER_ID || "Borg";
export const SENDER_NAME = process.env.NEXT_PUBLIC_SENDGRID_SENDER_NAME || "Borg.id";

// This is the URL from which all Cal Links and their assets are served.
// Use website URL to make links shorter(cal.com and not app.cal.com)
Expand Down

0 comments on commit 588b529

Please sign in to comment.