@@ -3,6 +3,7 @@ import SubscriptionCard from "./components/SubscriptionCard";
33import PlansComparison from "./components/PlansComparison" ;
44import { createClient } from "@/utils/supabase/server" ;
55import { getSubscription } from "@/utils/paddle/getSubscription" ;
6+ import { SubscriptionFooter } from "./components/SubscriptionFooter" ;
67
78export default async function SubscriptionPage ( ) {
89 const supabase = await createClient ( )
@@ -13,28 +14,32 @@ export default async function SubscriptionPage() {
1314
1415
1516 return (
16- < div className = "container mx-auto" >
17- < div className = "flex justify-between items-center" >
18- < div >
19- < h1 className = "text-3xl font-bold tracking-tight" > Manage Subscription</ h1 >
20- </ div >
21- </ div >
22- < Separator className = "my-4" />
23- < div className = "space-y-6" >
24- < div >
25- < h2 className = "text-xl font-semibold mb-4" > Current Subscription</ h2 >
26- < SubscriptionCard usages = { usages } subscription = { subscription } customerData = { {
27- email : user ?. email as string ,
28- } } />
17+ < div className = "flex flex-col justify-between h-full" >
18+ < div className = "container mx-auto" >
19+ < div className = "flex justify-between items-center" >
20+ < div >
21+ < h1 className = "text-3xl font-bold tracking-tight" > Manage Subscription</ h1 >
22+ </ div >
2923 </ div >
24+ < Separator className = "my-4" />
25+ < div className = "space-y-6" >
26+ < div >
27+ < h2 className = "text-xl font-semibold mb-4" > Current Subscription</ h2 >
28+ < SubscriptionCard usages = { usages } subscription = { subscription } customerData = { {
29+ email : user ?. email as string ,
30+ } } />
31+ </ div >
3032
31- < div >
32- < h2 className = "text-xl font-semibold mb-4" > Plans Comparison</ h2 >
33- < PlansComparison subscription = { subscription } customerData = { {
34- email : user ?. email as string ,
35- } } />
33+ < div >
34+ < h2 className = "text-xl font-semibold mb-4" > Plans Comparison</ h2 >
35+ < PlansComparison subscription = { subscription } customerData = { {
36+ email : user ?. email as string ,
37+ } } />
38+ </ div >
3639 </ div >
3740 </ div >
41+ < SubscriptionFooter />
3842 </ div >
39- ) ;
43+
44+ ) ;
4045}
0 commit comments