From d1d5263486f96db578aad918a59007045c3c077f Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sun, 13 Jul 2025 09:28:24 +0000
Subject: feat: Add stripe based subscriptions

---
 apps/web/app/settings/subscription/page.tsx | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 apps/web/app/settings/subscription/page.tsx

(limited to 'apps/web/app/settings/subscription/page.tsx')

diff --git a/apps/web/app/settings/subscription/page.tsx b/apps/web/app/settings/subscription/page.tsx
new file mode 100644
index 00000000..e8c46460
--- /dev/null
+++ b/apps/web/app/settings/subscription/page.tsx
@@ -0,0 +1,18 @@
+import { redirect } from "next/navigation";
+import SubscriptionSettings from "@/components/settings/SubscriptionSettings";
+import { QuotaProgress } from "@/components/subscription/QuotaProgress";
+
+import serverConfig from "@karakeep/shared/config";
+
+export default async function SubscriptionPage() {
+  if (!serverConfig.stripe.isConfigured) {
+    redirect("/settings");
+  }
+
+  return (
+    <div className="flex flex-col gap-4">
+      <SubscriptionSettings />
+      <QuotaProgress />
+    </div>
+  );
+}
-- 
cgit v1.2.3-70-g09d2

