mirror of
https://github.com/Snouzy/workout-cool.git
synced 2026-05-19 14:40:35 +00:00
chore: remove unused email components to clean up the codebase and reduce clutter
feat(vscode): add ESLint auto-fix on save setting to improve code quality
This commit is contained in:
Vendored
+3
@@ -1,3 +1,6 @@
|
||||
{
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "explicit"
|
||||
},
|
||||
"typescript.tsdk": "node_modules/typescript/lib"
|
||||
}
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
import Link from "next/link";
|
||||
import { Section, Text } from "@react-email/components";
|
||||
|
||||
import { getServerUrl } from "@/shared/lib/server-url";
|
||||
import { SiteConfig } from "@/shared/config/site-config";
|
||||
|
||||
import { BaseEmailLayout } from "./utils/BaseEmailLayout";
|
||||
|
||||
export default function SubscribtionDowngradeEmail() {
|
||||
return (
|
||||
<BaseEmailLayout previewText={"Your Premium Access Has Been Paused"}>
|
||||
<Section className="my-6">
|
||||
<Text className="text-lg leading-6">Hello,</Text>
|
||||
<Text className="text-lg leading-6">
|
||||
{
|
||||
"We're reaching out to inform you that your account has reverted to our basic access level. This change is due to the recent issues with your premium subscription payment."
|
||||
}
|
||||
</Text>
|
||||
<Text className="text-lg leading-6">
|
||||
{
|
||||
"While you'll still enjoy our core services, access to premium features is now limited. We'd love to have you back in our premium community!"
|
||||
}
|
||||
</Text>
|
||||
<Text className="text-lg leading-6">To reactivate your premium status, simply update your payment information here:</Text>
|
||||
<Text className="text-lg leading-6">
|
||||
<Link className="text-sky-500 hover:underline" href={`${getServerUrl()}/account/billing`}>
|
||||
Click to Update Payment and Keep Using ${SiteConfig.title}
|
||||
</Link>
|
||||
</Text>
|
||||
<Text className="text-lg leading-6">If you have any questions or need assistance, our team is always here to help.</Text>
|
||||
</Section>
|
||||
<Text className="text-lg leading-6">
|
||||
Best,
|
||||
<br />- {SiteConfig.maker.name} from {SiteConfig.title}
|
||||
</Text>
|
||||
</BaseEmailLayout>
|
||||
);
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
import Link from "next/link";
|
||||
import { Section, Text } from "@react-email/components";
|
||||
|
||||
import { getServerUrl } from "@/shared/lib/server-url";
|
||||
import { SiteConfig } from "@/shared/config/site-config";
|
||||
|
||||
import { BaseEmailLayout } from "./utils/BaseEmailLayout";
|
||||
|
||||
export default function SubscribtionFailedEmail() {
|
||||
return (
|
||||
<BaseEmailLayout previewText={"Important information about your ${SiteConfig.title} account"}>
|
||||
<Section className="my-6">
|
||||
<Text className="text-lg leading-6">Hello,</Text>
|
||||
<Text className="text-lg leading-6">{"Your last payment didn't go through, so your extra features are on hold."}</Text>
|
||||
<Text className="text-lg leading-6">
|
||||
{"We've noticed an issue with your recent payment, which affects your access to our premium features."}
|
||||
</Text>
|
||||
<Text className="text-lg leading-6">
|
||||
{
|
||||
"To resolve this and continue enjoying all the benefits, simply update your payment details through the link below. It's quick and straightforward!"
|
||||
}
|
||||
straightforward!
|
||||
</Text>
|
||||
<Text className="text-lg leading-6">
|
||||
<Link className="text-sky-500 hover:underline" href={`${getServerUrl()}/account/billing`}>
|
||||
Click to Update Payment and Keep Using ${SiteConfig.title}
|
||||
</Link>
|
||||
</Text>
|
||||
<Text className="text-lg leading-6">
|
||||
{"Thank you for your prompt attention to this matter. We're here to help if you have any questions."}
|
||||
</Text>
|
||||
</Section>
|
||||
<Text className="text-lg leading-6">
|
||||
Best,
|
||||
<br />- {SiteConfig.maker.name} from {SiteConfig.title}
|
||||
</Text>
|
||||
</BaseEmailLayout>
|
||||
);
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
import { Section, Text } from "@react-email/components";
|
||||
|
||||
import { SiteConfig } from "@/shared/config/site-config";
|
||||
|
||||
import { BaseEmailLayout } from "./utils/BaseEmailLayout";
|
||||
|
||||
export default function SuccessUpgradeEmail() {
|
||||
return (
|
||||
<BaseEmailLayout previewText={"You have successfully upgraded your account"}>
|
||||
<Section className="my-6">
|
||||
<Text className="text-lg leading-6">Hello,</Text>
|
||||
<Text className="text-lg leading-6">
|
||||
Great news! Your payment was successful, and you now have full access to all our premium link in bio features. Get ready to create
|
||||
your perfect link page!
|
||||
</Text>
|
||||
<Text className="text-lg leading-6">
|
||||
If you have any questions about customizing your link page or need assistance with any features, feel free to reach out to us.
|
||||
We're here to help you make the most of your link in bio experience.
|
||||
</Text>
|
||||
<Text className="text-lg leading-6">Happy linking,</Text>
|
||||
</Section>
|
||||
<Text className="text-lg leading-6">
|
||||
Best,
|
||||
<br />- {SiteConfig.maker.name} from {SiteConfig.title}
|
||||
</Text>
|
||||
</BaseEmailLayout>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user