Removed /join legacy page

This commit is contained in:
Joao Ramos
2024-02-12 11:36:19 +00:00
parent f89d96440f
commit 80c0a9e21c
5 changed files with 2 additions and 60 deletions

View File

@@ -130,11 +130,7 @@ export default function Navbar({currentPage, language}: {currentPage: string; la
))}
<Link
href="https://platform.encoach.com/register"
className={clsx(
"w-fit transition duration-300 ease-in-out",
currentPage === "/join" &&
"text-mti-purple-light border-b-mti-purple-light border-b-2 font-semibold ",
)}>
className="w-fit transition duration-300 ease-in-out">
{translation.join[language]}
</Link>
<Link href="https://platform.encoach.com" className={clsx("w-fit transition duration-300 ease-in-out")}>

View File

@@ -1,23 +0,0 @@
"use client";
import {Elements} from "@stripe/react-stripe-js";
import {loadStripe} from "@stripe/stripe-js";
const stripePromise = loadStripe(process.env.STRIPE_KEY || "");
export default function PricingTable() {
return (
<Elements stripe={stripePromise}>
<stripe-pricing-table id="pricing" pricing-table-id={process.env.STRIPE_PRICING_TABLE} publishable-key={process.env.STRIPE_KEY} />
</Elements>
);
}
// If using TypeScript, add the following snippet to your file as well.
declare global {
namespace JSX {
interface IntrinsicElements {
"stripe-pricing-table": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
}
}
}