Skip to content

Commit 4683132

Browse files
committed
update: moved payment link to ENV
1 parent e36b2b3 commit 4683132

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/app/pricing/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default function FeaturesPage() {
6969
</div>
7070
<div className="hidden md:flex items-center gap-8 text-sm font-medium text-white/70 tracking-wide">
7171
<Link href="/" className="hover:text-white transition-colors">Home</Link>
72-
<a href="https://buy.stripe.com/test_5kQ9AVeTd5vzcwOb058k800" className="bg-primary/10 text-primary border border-primary/20 px-5 py-2 rounded-full hover:bg-primary hover:text-white transition-all shadow-[0_0_10px_rgba(101,140,194,0.1)]">
72+
<a href={process.env.NEXT_PUBLIC_STRIPE_PAYMENT_LINK || "#"} className="bg-primary/10 text-primary border border-primary/20 px-5 py-2 rounded-full hover:bg-primary hover:text-white transition-all shadow-[0_0_10px_rgba(101,140,194,0.1)]">
7373
Buy Devian Pro
7474
</a>
7575
</div>
@@ -114,7 +114,7 @@ export default function FeaturesPage() {
114114
For professional developers who want absolute control, intelligent insights, and AI automation.
115115
</p>
116116
<a
117-
href="https://buy.stripe.com/test_5kQ9AVeTd5vzcwOb058k800"
117+
href={process.env.NEXT_PUBLIC_STRIPE_PAYMENT_LINK || "#"}
118118
className="w-full text-center py-3 bg-primary hover:bg-primary/90 text-white rounded-lg font-medium transition-colors shadow-[0_0_30px_-5px_var(--tw-shadow-color)] shadow-primary/30 relative z-10"
119119
>
120120
Buy Devian Pro
@@ -172,7 +172,7 @@ export default function FeaturesPage() {
172172
Join other professional developers building faster with Devian Pro. One-time payment, lifetime updates.
173173
</p>
174174
<a
175-
href="https://buy.stripe.com/test_5kQ9AVeTd5vzcwOb058k800"
175+
href={process.env.NEXT_PUBLIC_STRIPE_PAYMENT_LINK || "#"}
176176
className="inline-flex items-center justify-center px-8 py-4 bg-primary hover:bg-primary/90 text-white rounded-full font-medium transition-all hover:scale-105 shadow-[0_0_40px_-10px_var(--tw-shadow-color)] shadow-primary"
177177
>
178178
Get Devian Pro Today

src/components/PricingSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export function PricingSection() {
9393
</ul>
9494

9595
{/* Stripe Checkout link */}
96-
<a href="https://buy.stripe.com/test_5kQ9AVeTd5vzcwOb058k800" className="w-full text-center py-4 bg-primary hover:bg-primary/90 text-white rounded-xl font-bold transition-transform hover:scale-[1.02] active:scale-[0.98] shadow-[0_0_20px_rgba(101,140,194,0.4)] relative z-10">
96+
<a href={process.env.NEXT_PUBLIC_STRIPE_PAYMENT_LINK || "#"} className="w-full text-center py-4 bg-primary hover:bg-primary/90 text-white rounded-xl font-bold transition-transform hover:scale-[1.02] active:scale-[0.98] shadow-[0_0_20px_rgba(101,140,194,0.4)] relative z-10">
9797
Buy Devian Pro
9898
</a>
9999

0 commit comments

Comments
 (0)