changed billing portal to post, added org config for include past_due

This commit is contained in:
John Yeo
2025-04-23 15:49:31 +01:00
parent 83fcadd37d
commit f5871e5668
7 changed files with 92 additions and 36 deletions

View File

@@ -1,27 +1,16 @@
// <div className="text-2xl font-bold">{customer?.name}</div>
// <button
// onClick={async () => {
// await attach({
// productId: "pro-example",
// });
// }}
// >
// Upgrade to pro
// </button>
import Application from "@/components/application";
import CustomerDetailsExample from "@/components/billing";
import Intro from "@/components/introduction";
// import Application from "@/components/application";
// import CustomerDetailsExample from "@/components/billing";
// import Intro from "@/components/introduction";
export default function Home() {
return (
<div className="min-h-screen w-full p-6 flex flex-col gap-8 max-w-7xl mx-auto">
<Intro />
// export default function Home() {
// return (
// <div className="min-h-screen w-full p-6 flex flex-col gap-8 max-w-7xl mx-auto">
// <Intro />
// <div className="grid grid-cols-1 md:grid-cols-2 gap-6">
// <Application />
// <CustomerDetailsExample />
// </div>
// </div>
// );
// }
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
<Application />
<CustomerDetailsExample />
</div>
</div>
);
}