mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-11 20:35:39 +02:00
Update contact methods to improve user experience
- Replaced email links with a direct contact page URL across multiple components, including Subscribe, PricingSection, Contact, and PrivacyPolicy. - Enhanced navigation for custom pricing inquiries by redirecting users to the contact page instead of email.
This commit is contained in:
parent
1f782b6274
commit
9e39883b37
4 changed files with 7 additions and 8 deletions
|
@ -90,8 +90,7 @@ export default function Subscribe() {
|
|||
async function handleSubscribe(): Promise<void> {
|
||||
// Handle custom tier by redirecting to email contact
|
||||
if (eventLimit === "Custom") {
|
||||
window.location.href =
|
||||
"mailto:hello@rybbit.io?subject=Custom%20Pricing%20Plan";
|
||||
window.location.href = "https://www.rybbit.io/contact";
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -163,9 +162,9 @@ export default function Subscribe() {
|
|||
|
||||
const { data: subscription } = useStripeSubscription();
|
||||
const router = useRouter();
|
||||
// if (subscription?.status === "active") {
|
||||
// router.push("/settings/subscription");
|
||||
// }
|
||||
if (subscription?.status === "active") {
|
||||
router.push("/settings/subscription");
|
||||
}
|
||||
|
||||
return (
|
||||
<StandardPage>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue