From 59b13bd0ea171c5b7caceb9b4d381e8a0de7a1e1 Mon Sep 17 00:00:00 2001 From: m5r Date: Tue, 19 Oct 2021 23:56:16 +0200 Subject: [PATCH] blur phone call history if on free plan --- app/core/components/inactive-subscription.tsx | 35 +++++++++++++++++++ app/core/layouts/layout/footer.tsx | 2 +- .../components/conversations-list.tsx | 2 +- .../components/phone-calls-list.tsx | 4 ++- app/phone-calls/pages/calls.tsx | 25 ++++++++++--- 5 files changed, 61 insertions(+), 7 deletions(-) create mode 100644 app/core/components/inactive-subscription.tsx diff --git a/app/core/components/inactive-subscription.tsx b/app/core/components/inactive-subscription.tsx new file mode 100644 index 0000000..965e109 --- /dev/null +++ b/app/core/components/inactive-subscription.tsx @@ -0,0 +1,35 @@ +import { Routes, useRouter } from "blitz"; +import { IoSettings, IoAlertCircleOutline } from "react-icons/io5"; + +export default function InactiveSubscription() { + const router = useRouter(); + + return ( +
+ +
+
+
+
+
+ ); +} diff --git a/app/core/layouts/layout/footer.tsx b/app/core/layouts/layout/footer.tsx index b774e91..bce6ef2 100644 --- a/app/core/layouts/layout/footer.tsx +++ b/app/core/layouts/layout/footer.tsx @@ -6,7 +6,7 @@ import clsx from "clsx"; export default function Footer() { return (