|
1 | | -import { LoaderFunctionArgs } from "@remix-run/server-runtime"; |
| 1 | +import { type LoaderFunctionArgs } from "@remix-run/server-runtime"; |
2 | 2 | import { redirect, typedjson, useTypedLoaderData } from "remix-typedjson"; |
3 | 3 | import { BackgroundWrapper } from "~/components/BackgroundWrapper"; |
4 | | -import { AppContainer } from "~/components/layout/AppLayout"; |
| 4 | +import { AppContainer, MainBody, PageBody } from "~/components/layout/AppLayout"; |
5 | 5 | import { Header1 } from "~/components/primitives/Headers"; |
6 | 6 | import { prisma } from "~/db.server"; |
7 | 7 | import { featuresForRequest } from "~/features.server"; |
@@ -49,22 +49,24 @@ export default function ChoosePlanPage() { |
49 | 49 | useTypedLoaderData<typeof loader>(); |
50 | 50 |
|
51 | 51 | return ( |
52 | | - <AppContainer className="bg-charcoal-900"> |
53 | | - <BackgroundWrapper> |
54 | | - <div className="mx-auto flex h-full w-full max-w-[80rem] flex-col items-center justify-center gap-8 p-3"> |
55 | | - <Header1 className="text-center">Subscribe for full access</Header1> |
56 | | - <div className="w-full rounded-lg border border-grid-bright bg-background-dimmed p-5 shadow-lg"> |
57 | | - <PricingPlans |
58 | | - plans={plans} |
59 | | - subscription={v3Subscription} |
60 | | - organizationSlug={organizationSlug} |
61 | | - hasPromotedPlan |
62 | | - showGithubVerificationBadge |
63 | | - periodEnd={periodEnd} |
64 | | - /> |
| 52 | + <AppContainer> |
| 53 | + <PageBody className="bg-charcoal-900"> |
| 54 | + <BackgroundWrapper> |
| 55 | + <div className="mx-auto mt-4 flex h-fit min-h-full max-w-[80rem] flex-col items-center justify-center gap-8 lg:mt-0"> |
| 56 | + <Header1 className="text-center">Subscribe for full access</Header1> |
| 57 | + <div className="w-full rounded-lg border border-grid-bright bg-background-dimmed p-5 shadow-lg"> |
| 58 | + <PricingPlans |
| 59 | + plans={plans} |
| 60 | + subscription={v3Subscription} |
| 61 | + organizationSlug={organizationSlug} |
| 62 | + hasPromotedPlan |
| 63 | + showGithubVerificationBadge |
| 64 | + periodEnd={periodEnd} |
| 65 | + /> |
| 66 | + </div> |
65 | 67 | </div> |
66 | | - </div> |
67 | | - </BackgroundWrapper> |
| 68 | + </BackgroundWrapper> |
| 69 | + </PageBody> |
68 | 70 | </AppContainer> |
69 | 71 | ); |
70 | 72 | } |
0 commit comments