Skip to content

Commit

Permalink
✨ add billing redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
camdan-me committed Sep 6, 2024
1 parent cc14606 commit 4de1160
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ module.exports = {
destination: '/contact',
permanent: false,
},
{
source: '/billing',
destination: '/redirect?link=https://billing.camdan.me/',
permanent: false,
},
{
source: '/vcard',
destination: 'https://cdn.camdan.me/logos/vcard.vcf',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Home() {
</Link>
</div>
<br />
<span className="text-sm italic text-gray-50">If you&apos;re trying to view/pay invoices or manage your billing, <Link href="https://billing.stripe.com/p/login/4gw6rJ136bvp5Ne4gg" className="underline" target="_blank">click here</Link>.</span>
<span className="text-sm italic text-gray-50">If you&apos;re trying to view/pay invoices or manage your billing, <Link href="/billing" className="underline" target="_blank">click here</Link>.</span>
</h2>
</div>
</div>
Expand Down

0 comments on commit 4de1160

Please sign in to comment.