Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

small changes

Daniel3ba148caa987
diff --git a/.env.sample b/.env.sample
index a1703b8e..91dbdb24 100644
--- a/.env.sample
+++ b/.env.sample
@@ -23,4 +23,5 @@ STRIPE_SECRET_KEY=
PRICE_ID=
NEXT_PUBLIC_TRIAL_PERIOD_DAYS=
NEXT_PUBLIC_STRIPE_BILLING_PORTAL_URL=
-BASE_URL=http://localhost:3000
\ No newline at end of file
+BASE_URL=http://localhost:3000
+NEXT_PUBLIC_PRICING=
\ No newline at end of file
diff --git a/pages/subscribe.tsx b/pages/subscribe.tsx
index 8f920bdc..1c9dd201 100644
--- a/pages/subscribe.tsx
+++ b/pages/subscribe.tsx
@@ -35,7 +35,7 @@ export default function Subscribe() {
/>
<p className="text-xl font-semibold text-sky-500 text-center px-2">
{process.env.NEXT_PUBLIC_TRIAL_PERIOD_DAYS || 14} days free trial, then
- $5/month afterwards
+ ${process.env.NEXT_PUBLIC_PRICING}/month afterwards
</p>
<div className="p-2 mt-10 mx-auto flex flex-col gap-3 justify-between sm:w-[30rem] w-80 bg-slate-50 rounded-md border border-sky-100">
<div>
diff --git a/types/enviornment.d.ts b/types/enviornment.d.ts
index 5bf5055d..168c9fa0 100644
--- a/types/enviornment.d.ts
+++ b/types/enviornment.d.ts
@@ -17,12 +17,13 @@ declare global {
EMAIL_FROM?: string;
EMAIL_SERVER?: string;
- NEXT_PUBLC_STRIPE_IS_ACTIVE?: boolean;
+ NEXT_PUBLC_STRIPE_IS_ACTIVE?: string;
STRIPE_SECRET_KEY?: string;
PRICE_ID?: string;
NEXT_PUBLIC_STRIPE_BILLING_PORTAL_URL?: string;
NEXT_PUBLIC_TRIAL_PERIOD_DAYS?: string;
BASE_URL?: string;
+ NEXT_PUBLIC_PRICING?: string;
}
}
}